@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContractIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Container for the blockchain address and network information about a contract.
Constructor and Description |
---|
ContractIdentifier() |
Modifier and Type | Method and Description |
---|---|
ContractIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getContractAddress()
Container for the blockchain address about a contract.
|
String |
getNetwork()
The blockchain network of the contract.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContractAddress(String contractAddress)
Container for the blockchain address about a contract.
|
void |
setNetwork(String network)
The blockchain network of the contract.
|
String |
toString()
Returns a string representation of this object.
|
ContractIdentifier |
withContractAddress(String contractAddress)
Container for the blockchain address about a contract.
|
ContractIdentifier |
withNetwork(QueryNetwork network)
The blockchain network of the contract.
|
ContractIdentifier |
withNetwork(String network)
The blockchain network of the contract.
|
public void setNetwork(String network)
The blockchain network of the contract.
network
- The blockchain network of the contract.QueryNetwork
public String getNetwork()
The blockchain network of the contract.
QueryNetwork
public ContractIdentifier withNetwork(String network)
The blockchain network of the contract.
network
- The blockchain network of the contract.QueryNetwork
public ContractIdentifier withNetwork(QueryNetwork network)
The blockchain network of the contract.
network
- The blockchain network of the contract.QueryNetwork
public void setContractAddress(String contractAddress)
Container for the blockchain address about a contract.
contractAddress
- Container for the blockchain address about a contract.public String getContractAddress()
Container for the blockchain address about a contract.
public ContractIdentifier withContractAddress(String contractAddress)
Container for the blockchain address about a contract.
contractAddress
- Container for the blockchain address about a contract.public String toString()
toString
in class Object
Object.toString()
public ContractIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.