@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetContract extends Object implements Serializable, Cloneable, StructuredPojo
This container contains information about an contract.
| Constructor and Description |
|---|
AssetContract() |
| Modifier and Type | Method and Description |
|---|---|
AssetContract |
clone() |
boolean |
equals(Object obj) |
ContractIdentifier |
getContractIdentifier()
The container for the contract identifier containing its blockchain network and address.
|
String |
getDeployerAddress()
The address of the contract deployer.
|
String |
getTokenStandard()
The token standard of the contract.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContractIdentifier(ContractIdentifier contractIdentifier)
The container for the contract identifier containing its blockchain network and address.
|
void |
setDeployerAddress(String deployerAddress)
The address of the contract deployer.
|
void |
setTokenStandard(String tokenStandard)
The token standard of the contract.
|
String |
toString()
Returns a string representation of this object.
|
AssetContract |
withContractIdentifier(ContractIdentifier contractIdentifier)
The container for the contract identifier containing its blockchain network and address.
|
AssetContract |
withDeployerAddress(String deployerAddress)
The address of the contract deployer.
|
AssetContract |
withTokenStandard(QueryTokenStandard tokenStandard)
The token standard of the contract.
|
AssetContract |
withTokenStandard(String tokenStandard)
The token standard of the contract.
|
public void setContractIdentifier(ContractIdentifier contractIdentifier)
The container for the contract identifier containing its blockchain network and address.
contractIdentifier - The container for the contract identifier containing its blockchain network and address.public ContractIdentifier getContractIdentifier()
The container for the contract identifier containing its blockchain network and address.
public AssetContract withContractIdentifier(ContractIdentifier contractIdentifier)
The container for the contract identifier containing its blockchain network and address.
contractIdentifier - The container for the contract identifier containing its blockchain network and address.public void setTokenStandard(String tokenStandard)
The token standard of the contract.
tokenStandard - The token standard of the contract.QueryTokenStandardpublic String getTokenStandard()
The token standard of the contract.
QueryTokenStandardpublic AssetContract withTokenStandard(String tokenStandard)
The token standard of the contract.
tokenStandard - The token standard of the contract.QueryTokenStandardpublic AssetContract withTokenStandard(QueryTokenStandard tokenStandard)
The token standard of the contract.
tokenStandard - The token standard of the contract.QueryTokenStandardpublic void setDeployerAddress(String deployerAddress)
The address of the contract deployer.
deployerAddress - The address of the contract deployer.public String getDeployerAddress()
The address of the contract deployer.
public AssetContract withDeployerAddress(String deployerAddress)
The address of the contract deployer.
deployerAddress - The address of the contract deployer.public String toString()
toString in class ObjectObject.toString()public AssetContract clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.