@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactionOutputItem extends Object implements Serializable, Cloneable, StructuredPojo
The container of the transaction output.
| Constructor and Description |
|---|
TransactionOutputItem() |
| Modifier and Type | Method and Description |
|---|---|
TransactionOutputItem |
clone() |
boolean |
equals(Object obj) |
String |
getConfirmationStatus()
Specifies whether to list transactions that have not reached Finality.
|
String |
getNetwork()
The blockchain network where the transaction occurred.
|
String |
getTransactionHash()
The hash of the transaction.
|
Date |
getTransactionTimestamp()
The time when the transaction occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfirmationStatus(String confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
|
void |
setNetwork(String network)
The blockchain network where the transaction occurred.
|
void |
setTransactionHash(String transactionHash)
The hash of the transaction.
|
void |
setTransactionTimestamp(Date transactionTimestamp)
The time when the transaction occurred.
|
String |
toString()
Returns a string representation of this object.
|
TransactionOutputItem |
withConfirmationStatus(ConfirmationStatus confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
|
TransactionOutputItem |
withConfirmationStatus(String confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
|
TransactionOutputItem |
withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
|
TransactionOutputItem |
withNetwork(String network)
The blockchain network where the transaction occurred.
|
TransactionOutputItem |
withTransactionHash(String transactionHash)
The hash of the transaction.
|
TransactionOutputItem |
withTransactionTimestamp(Date transactionTimestamp)
The time when the transaction occurred.
|
public void setTransactionHash(String transactionHash)
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
transactionHash - The hash of the transaction. It is generated whenever a transaction is verified and added to the
blockchain.public String getTransactionHash()
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
public TransactionOutputItem withTransactionHash(String transactionHash)
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
transactionHash - The hash of the transaction. It is generated whenever a transaction is verified and added to the
blockchain.public void setNetwork(String network)
The blockchain network where the transaction occurred.
network - The blockchain network where the transaction occurred.QueryNetworkpublic String getNetwork()
The blockchain network where the transaction occurred.
QueryNetworkpublic TransactionOutputItem withNetwork(String network)
The blockchain network where the transaction occurred.
network - The blockchain network where the transaction occurred.QueryNetworkpublic TransactionOutputItem withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
network - The blockchain network where the transaction occurred.QueryNetworkpublic void setTransactionTimestamp(Date transactionTimestamp)
The time when the transaction occurred.
transactionTimestamp - The time when the transaction occurred.public Date getTransactionTimestamp()
The time when the transaction occurred.
public TransactionOutputItem withTransactionTimestamp(Date transactionTimestamp)
The time when the transaction occurred.
transactionTimestamp - The time when the transaction occurred.public void setConfirmationStatus(String confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
confirmationStatus - Specifies whether to list transactions that have not reached Finality.ConfirmationStatuspublic String getConfirmationStatus()
Specifies whether to list transactions that have not reached Finality.
ConfirmationStatuspublic TransactionOutputItem withConfirmationStatus(String confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
confirmationStatus - Specifies whether to list transactions that have not reached Finality.ConfirmationStatuspublic TransactionOutputItem withConfirmationStatus(ConfirmationStatus confirmationStatus)
Specifies whether to list transactions that have not reached Finality.
confirmationStatus - Specifies whether to list transactions that have not reached Finality.ConfirmationStatuspublic String toString()
toString in class ObjectObject.toString()public TransactionOutputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.