@Generated(value="software.amazon.awssdk:codegen") public final class GetTransactionRequest extends ManagedBlockchainQueryRequest implements ToCopyableBuilder<GetTransactionRequest.Builder,GetTransactionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTransactionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetTransactionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
QueryNetwork |
network()
The blockchain network where the transaction occurred.
|
String |
networkAsString()
The blockchain network where the transaction occurred.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetTransactionRequest.Builder> |
serializableBuilderClass() |
GetTransactionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transactionHash()
The hash of the transaction.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transactionHash()
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
public final QueryNetwork network()
The blockchain network where the transaction occurred.
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 where the transaction occurred.
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 GetTransactionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTransactionRequest.Builder,GetTransactionRequest>toBuilder in class ManagedBlockchainQueryRequestpublic static GetTransactionRequest.Builder builder()
public static Class<? extends GetTransactionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.