@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 |
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 |
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 |
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.QueryNetwork
public String getNetwork()
The blockchain network where the transaction occurred.
QueryNetwork
public TransactionOutputItem withNetwork(String network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public TransactionOutputItem withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public 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 String toString()
toString
in class Object
Object.toString()
public TransactionOutputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.