Interface TransactionEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransactionEvent.Builder,TransactionEvent>,SdkBuilder<TransactionEvent.Builder,TransactionEvent>,SdkPojo
- Enclosing class:
- TransactionEvent
public static interface TransactionEvent.Builder extends SdkPojo, CopyableBuilder<TransactionEvent.Builder,TransactionEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TransactionEvent.BuilderblockchainInstant(Consumer<BlockchainInstant.Builder> blockchainInstant)Sets the value of the BlockchainInstant property for this object.TransactionEvent.BuilderblockchainInstant(BlockchainInstant blockchainInstant)Sets the value of the BlockchainInstant property for this object.TransactionEvent.BuilderconfirmationStatus(String confirmationStatus)This container specifies whether the transaction has reached Finality.TransactionEvent.BuilderconfirmationStatus(ConfirmationStatus confirmationStatus)This container specifies whether the transaction has reached Finality.TransactionEvent.BuildercontractAddress(String contractAddress)The blockchain address for the contractTransactionEvent.BuildereventType(String eventType)The type of transaction event.TransactionEvent.BuildereventType(QueryTransactionEventType eventType)The type of transaction event.TransactionEvent.Builderfrom(String from)The wallet address initiating the transaction.TransactionEvent.Buildernetwork(String network)The blockchain network where the transaction occurred.TransactionEvent.Buildernetwork(QueryNetwork network)The blockchain network where the transaction occurred.TransactionEvent.BuilderspentVoutIndex(Integer spentVoutIndex)The position of the spent transaction output in the output list of the creating transaction.TransactionEvent.BuilderspentVoutTransactionHash(String spentVoutTransactionHash)The transactionHash that created the spent transaction output.TransactionEvent.BuilderspentVoutTransactionId(String spentVoutTransactionId)The transactionId that created the spent transaction output.TransactionEvent.Builderto(String to)The wallet address receiving the transaction.TransactionEvent.BuildertokenId(String tokenId)The unique identifier for the token involved in the transaction.TransactionEvent.BuildertransactionHash(String transactionHash)The hash of a transaction.TransactionEvent.BuildertransactionId(String transactionId)The identifier of a Bitcoin transaction.TransactionEvent.Buildervalue(String value)The value that was transacted.TransactionEvent.BuildervoutIndex(Integer voutIndex)The position of the transaction output in the transaction output list.TransactionEvent.BuildervoutSpent(Boolean voutSpent)Specifies if the transaction output is spent or unspent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
network
TransactionEvent.Builder network(String network)
The blockchain network where the transaction occurred.
- Parameters:
network- The blockchain network where the transaction occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryNetwork,QueryNetwork
-
network
TransactionEvent.Builder network(QueryNetwork network)
The blockchain network where the transaction occurred.
- Parameters:
network- The blockchain network where the transaction occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryNetwork,QueryNetwork
-
transactionHash
TransactionEvent.Builder transactionHash(String transactionHash)
The hash of a transaction. It is generated when a transaction is created.
- Parameters:
transactionHash- The hash of a transaction. It is generated when a transaction is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
TransactionEvent.Builder eventType(String eventType)
The type of transaction event.
- Parameters:
eventType- The type of transaction event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryTransactionEventType,QueryTransactionEventType
-
eventType
TransactionEvent.Builder eventType(QueryTransactionEventType eventType)
The type of transaction event.
- Parameters:
eventType- The type of transaction event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryTransactionEventType,QueryTransactionEventType
-
from
TransactionEvent.Builder from(String from)
The wallet address initiating the transaction. It can either be a public key or a contract.
- Parameters:
from- The wallet address initiating the transaction. It can either be a public key or a contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
TransactionEvent.Builder to(String to)
The wallet address receiving the transaction. It can either be a public key or a contract.
- Parameters:
to- The wallet address receiving the transaction. It can either be a public key or a contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
TransactionEvent.Builder value(String value)
The value that was transacted.
- Parameters:
value- The value that was transacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractAddress
TransactionEvent.Builder contractAddress(String contractAddress)
The blockchain address for the contract
- Parameters:
contractAddress- The blockchain address for the contract- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenId
TransactionEvent.Builder tokenId(String tokenId)
The unique identifier for the token involved in the transaction.
- Parameters:
tokenId- The unique identifier for the token involved in the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionId
TransactionEvent.Builder transactionId(String transactionId)
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
- Parameters:
transactionId- The identifier of a Bitcoin transaction. It is generated when a transaction is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voutIndex
TransactionEvent.Builder voutIndex(Integer voutIndex)
The position of the transaction output in the transaction output list.
- Parameters:
voutIndex- The position of the transaction output in the transaction output list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voutSpent
TransactionEvent.Builder voutSpent(Boolean voutSpent)
Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.
This is only returned for
BITCOIN_VOUTevent types.- Parameters:
voutSpent- Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.This is only returned for
BITCOIN_VOUTevent types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spentVoutTransactionId
TransactionEvent.Builder spentVoutTransactionId(String spentVoutTransactionId)
The transactionId that created the spent transaction output.
This is only returned for
BITCOIN_VINevent types.- Parameters:
spentVoutTransactionId- The transactionId that created the spent transaction output.This is only returned for
BITCOIN_VINevent types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spentVoutTransactionHash
TransactionEvent.Builder spentVoutTransactionHash(String spentVoutTransactionHash)
The transactionHash that created the spent transaction output.
This is only returned for
BITCOIN_VINevent types.- Parameters:
spentVoutTransactionHash- The transactionHash that created the spent transaction output.This is only returned for
BITCOIN_VINevent types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spentVoutIndex
TransactionEvent.Builder spentVoutIndex(Integer spentVoutIndex)
The position of the spent transaction output in the output list of the creating transaction.
This is only returned for
BITCOIN_VINevent types.- Parameters:
spentVoutIndex- The position of the spent transaction output in the output list of the creating transaction.This is only returned for
BITCOIN_VINevent types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockchainInstant
TransactionEvent.Builder blockchainInstant(BlockchainInstant blockchainInstant)
Sets the value of the BlockchainInstant property for this object.- Parameters:
blockchainInstant- The new value for the BlockchainInstant property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockchainInstant
default TransactionEvent.Builder blockchainInstant(Consumer<BlockchainInstant.Builder> blockchainInstant)
Sets the value of the BlockchainInstant property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockchainInstant(BlockchainInstant).- Parameters:
blockchainInstant- a consumer that will call methods onBlockchainInstant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blockchainInstant(BlockchainInstant)
-
confirmationStatus
TransactionEvent.Builder confirmationStatus(String confirmationStatus)
This container specifies whether the transaction has reached Finality.
- Parameters:
confirmationStatus- This container specifies whether the transaction has reached Finality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfirmationStatus,ConfirmationStatus
-
confirmationStatus
TransactionEvent.Builder confirmationStatus(ConfirmationStatus confirmationStatus)
This container specifies whether the transaction has reached Finality.
- Parameters:
confirmationStatus- This container specifies whether the transaction has reached Finality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfirmationStatus,ConfirmationStatus
-
-