@Generated(value="software.amazon.awssdk:codegen") public final class GetAssetContractResponse extends ManagedBlockchainQueryResponse implements ToCopyableBuilder<GetAssetContractResponse.Builder,GetAssetContractResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAssetContractResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetAssetContractResponse.Builder |
builder() |
ContractIdentifier |
contractIdentifier()
Contains the blockchain address and network information about the contract.
|
String |
deployerAddress()
The address of the deployer of contract.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ContractMetadata |
metadata()
Returns the value of the Metadata property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAssetContractResponse.Builder> |
serializableBuilderClass() |
GetAssetContractResponse.Builder |
toBuilder() |
QueryTokenStandard |
tokenStandard()
The token standard of the contract requested.
|
String |
tokenStandardAsString()
The token standard of the contract requested.
|
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ContractIdentifier contractIdentifier()
Contains the blockchain address and network information about the contract.
public final QueryTokenStandard tokenStandard()
The token standard of the contract requested.
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 requested.
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 deployer of contract.
public final ContractMetadata metadata()
public GetAssetContractResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAssetContractResponse.Builder,GetAssetContractResponse>toBuilder in class AwsResponsepublic static GetAssetContractResponse.Builder builder()
public static Class<? extends GetAssetContractResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.