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