@Generated(value="software.amazon.awssdk:codegen") public final class AssetContract extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetContract.Builder,AssetContract>
This container contains information about an contract.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetContract.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssetContract.Builder |
builder() |
ContractIdentifier |
contractIdentifier()
The container for the contract identifier containing its blockchain network and address.
|
String |
deployerAddress()
The address of the contract deployer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetContract.Builder> |
serializableBuilderClass() |
AssetContract.Builder |
toBuilder() |
QueryTokenStandard |
tokenStandard()
The token standard of the contract.
|
String |
tokenStandardAsString()
The token standard of the contract.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ContractIdentifier contractIdentifier()
The container for the contract identifier containing its blockchain network and address.
public final QueryTokenStandard tokenStandard()
The token standard of the contract.
If the service returns an enum value that is not available in the current SDK version, tokenStandard
will return QueryTokenStandard.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from tokenStandardAsString().
QueryTokenStandardpublic final String tokenStandardAsString()
The token standard of the contract.
If the service returns an enum value that is not available in the current SDK version, tokenStandard
will return QueryTokenStandard.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from tokenStandardAsString().
QueryTokenStandardpublic final String deployerAddress()
The address of the contract deployer.
public AssetContract.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetContract.Builder,AssetContract>public static AssetContract.Builder builder()
public static Class<? extends AssetContract.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.