@Generated(value="software.amazon.awssdk:codegen") public final class TransactionOutputItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransactionOutputItem.Builder,TransactionOutputItem>
The container of the transaction output.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactionOutputItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransactionOutputItem.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 TransactionOutputItem.Builder> |
serializableBuilderClass() |
TransactionOutputItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transactionHash()
The hash of the transaction.
|
Instant |
transactionTimestamp()
The time when the transaction occurred.
|
clone, 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 final Instant transactionTimestamp()
The time when the transaction occurred.
public TransactionOutputItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransactionOutputItem.Builder,TransactionOutputItem>public static TransactionOutputItem.Builder builder()
public static Class<? extends TransactionOutputItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.