Class TransactionOutputItem
- java.lang.Object
-
- software.amazon.awssdk.services.managedblockchainquery.model.TransactionOutputItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TransactionOutputItem.Builder,TransactionOutputItem>
@Generated("software.amazon.awssdk:codegen") public final class TransactionOutputItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransactionOutputItem.Builder,TransactionOutputItem>
The container of the transaction output.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransactionOutputItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionOutputItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()QueryNetworknetwork()The blockchain network where the transaction occurred.StringnetworkAsString()The blockchain network where the transaction occurred.List<SdkField<?>>sdkFields()static Class<? extends TransactionOutputItem.Builder>serializableBuilderClass()TransactionOutputItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransactionHash()The hash of the transaction.InstanttransactionTimestamp()The time when the transaction occurred.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
transactionHash
public final String transactionHash()
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
- Returns:
- The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
-
network
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,
networkwill returnQueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkAsString().- Returns:
- The blockchain network where the transaction occurred.
- See Also:
QueryNetwork
-
networkAsString
public 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,
networkwill returnQueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkAsString().- Returns:
- The blockchain network where the transaction occurred.
- See Also:
QueryNetwork
-
transactionTimestamp
public final Instant transactionTimestamp()
The time when the transaction occurred.
- Returns:
- The time when the transaction occurred.
-
toBuilder
public TransactionOutputItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransactionOutputItem.Builder,TransactionOutputItem>
-
builder
public static TransactionOutputItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends TransactionOutputItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-