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()ConfirmationStatusconfirmationStatus()Specifies whether to list transactions that have not reached Finality.StringconfirmationStatusAsString()Specifies whether to list transactions that have not reached Finality.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 a transaction.StringtransactionId()The identifier of a Bitcoin 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 a transaction. It is generated when a transaction is created.
- Returns:
- The hash of a transaction. It is generated when a transaction is created.
-
transactionId
public final String transactionId()
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
- Returns:
- The identifier of a Bitcoin transaction. It is generated when a transaction is created.
-
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.
-
confirmationStatus
public final ConfirmationStatus confirmationStatus()
Specifies whether to list transactions that have not reached Finality.
If the service returns an enum value that is not available in the current SDK version,
confirmationStatuswill returnConfirmationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfirmationStatusAsString().- Returns:
- Specifies whether to list transactions that have not reached Finality.
- See Also:
ConfirmationStatus
-
confirmationStatusAsString
public final String confirmationStatusAsString()
Specifies whether to list transactions that have not reached Finality.
If the service returns an enum value that is not available in the current SDK version,
confirmationStatuswill returnConfirmationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfirmationStatusAsString().- Returns:
- Specifies whether to list transactions that have not reached Finality.
- See Also:
ConfirmationStatus
-
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.
-
-