@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactionEvent extends Object implements Serializable, Cloneable, StructuredPojo
The container for the properties of a transaction event.
Constructor and Description |
---|
TransactionEvent() |
Modifier and Type | Method and Description |
---|---|
TransactionEvent |
clone() |
boolean |
equals(Object obj) |
String |
getContractAddress()
The blockchain address.
|
String |
getEventType()
The type of transaction event.
|
String |
getFrom()
The wallet address initiating the transaction.
|
String |
getNetwork()
The blockchain network where the transaction occurred.
|
String |
getTo()
The wallet address receiving the transaction.
|
String |
getTokenId()
The unique identifier for the token involved in the transaction.
|
String |
getTransactionHash()
The hash of the transaction.
|
String |
getTransactionId()
The unique identifier of the transaction.
|
String |
getValue()
The value that was transacted.
|
Integer |
getVoutIndex()
The position of the vout in the transaction output list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContractAddress(String contractAddress)
The blockchain address.
|
void |
setEventType(String eventType)
The type of transaction event.
|
void |
setFrom(String from)
The wallet address initiating the transaction.
|
void |
setNetwork(String network)
The blockchain network where the transaction occurred.
|
void |
setTo(String to)
The wallet address receiving the transaction.
|
void |
setTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
|
void |
setTransactionHash(String transactionHash)
The hash of the transaction.
|
void |
setTransactionId(String transactionId)
The unique identifier of the transaction.
|
void |
setValue(String value)
The value that was transacted.
|
void |
setVoutIndex(Integer voutIndex)
The position of the vout in the transaction output list.
|
String |
toString()
Returns a string representation of this object.
|
TransactionEvent |
withContractAddress(String contractAddress)
The blockchain address.
|
TransactionEvent |
withEventType(QueryTransactionEventType eventType)
The type of transaction event.
|
TransactionEvent |
withEventType(String eventType)
The type of transaction event.
|
TransactionEvent |
withFrom(String from)
The wallet address initiating the transaction.
|
TransactionEvent |
withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
|
TransactionEvent |
withNetwork(String network)
The blockchain network where the transaction occurred.
|
TransactionEvent |
withTo(String to)
The wallet address receiving the transaction.
|
TransactionEvent |
withTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
|
TransactionEvent |
withTransactionHash(String transactionHash)
The hash of the transaction.
|
TransactionEvent |
withTransactionId(String transactionId)
The unique identifier of the transaction.
|
TransactionEvent |
withValue(String value)
The value that was transacted.
|
TransactionEvent |
withVoutIndex(Integer voutIndex)
The position of the vout in the transaction output list.
|
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 TransactionEvent withNetwork(String network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public TransactionEvent withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
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 TransactionEvent 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 setEventType(String eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public String getEventType()
The type of transaction event.
QueryTransactionEventType
public TransactionEvent withEventType(String eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public TransactionEvent withEventType(QueryTransactionEventType eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public void setFrom(String from)
The wallet address initiating the transaction. It can either be a public key or a contract.
from
- The wallet address initiating the transaction. It can either be a public key or a contract.public String getFrom()
The wallet address initiating the transaction. It can either be a public key or a contract.
public TransactionEvent withFrom(String from)
The wallet address initiating the transaction. It can either be a public key or a contract.
from
- The wallet address initiating the transaction. It can either be a public key or a contract.public void setTo(String to)
The wallet address receiving the transaction. It can either be a public key or a contract.
to
- The wallet address receiving the transaction. It can either be a public key or a contract.public String getTo()
The wallet address receiving the transaction. It can either be a public key or a contract.
public TransactionEvent withTo(String to)
The wallet address receiving the transaction. It can either be a public key or a contract.
to
- The wallet address receiving the transaction. It can either be a public key or a contract.public void setValue(String value)
The value that was transacted.
value
- The value that was transacted.public String getValue()
The value that was transacted.
public TransactionEvent withValue(String value)
The value that was transacted.
value
- The value that was transacted.public void setContractAddress(String contractAddress)
The blockchain address. for the contract
contractAddress
- The blockchain address. for the contractpublic String getContractAddress()
The blockchain address. for the contract
public TransactionEvent withContractAddress(String contractAddress)
The blockchain address. for the contract
contractAddress
- The blockchain address. for the contractpublic void setTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
tokenId
- The unique identifier for the token involved in the transaction.public String getTokenId()
The unique identifier for the token involved in the transaction.
public TransactionEvent withTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
tokenId
- The unique identifier for the token involved in the transaction.public void setTransactionId(String transactionId)
The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
transactionId
- The unique identifier of the transaction. It is generated whenever a transaction is verified and added to
the blockchain.public String getTransactionId()
The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
public TransactionEvent withTransactionId(String transactionId)
The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
transactionId
- The unique identifier of the transaction. It is generated whenever a transaction is verified and added to
the blockchain.public void setVoutIndex(Integer voutIndex)
The position of the vout in the transaction output list.
voutIndex
- The position of the vout in the transaction output list.public Integer getVoutIndex()
The position of the vout in the transaction output list.
public TransactionEvent withVoutIndex(Integer voutIndex)
The position of the vout in the transaction output list.
voutIndex
- The position of the vout in the transaction output list.public String toString()
toString
in class Object
Object.toString()
public TransactionEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.