Interface Transaction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Transaction.Builder,Transaction>,SdkBuilder<Transaction.Builder,Transaction>,SdkPojo
- Enclosing class:
- Transaction
public static interface Transaction.Builder extends SdkPojo, CopyableBuilder<Transaction.Builder,Transaction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transaction.BuilderblockHash(String blockHash)The block hash is a unique identifier for a block.Transaction.BuilderblockNumber(String blockNumber)The block number in which the transaction is recorded.Transaction.BuilderconfirmationStatus(String confirmationStatus)Specifies whether the transaction has reached Finality.Transaction.BuilderconfirmationStatus(ConfirmationStatus confirmationStatus)Specifies whether the transaction has reached Finality.Transaction.BuildercontractAddress(String contractAddress)The blockchain address for the contract.Transaction.BuildercumulativeGasUsed(String cumulativeGasUsed)The amount of gas used up to the specified point in the block.Transaction.BuildereffectiveGasPrice(String effectiveGasPrice)The effective gas price.Transaction.BuilderexecutionStatus(String executionStatus)Identifies whether the transaction has succeeded or failed.Transaction.BuilderexecutionStatus(ExecutionStatus executionStatus)Identifies whether the transaction has succeeded or failed.Transaction.Builderfrom(String from)The initiator of the transaction.Transaction.BuildergasUsed(String gasUsed)The amount of gas used for the transaction.Transaction.Buildernetwork(String network)The blockchain network where the transaction occurred.Transaction.Buildernetwork(QueryNetwork network)The blockchain network where the transaction occurred.Transaction.BuildernumberOfTransactions(Long numberOfTransactions)The number of transactions in the block.Transaction.BuildersignatureR(String signatureR)The signature of the transaction.Transaction.BuildersignatureS(String signatureS)The signature of the transaction.Transaction.BuildersignatureV(Integer signatureV)The signature of the transaction.Transaction.Builderto(String to)The identifier of the transaction.Transaction.BuildertransactionFee(String transactionFee)The transaction fee.Transaction.BuildertransactionHash(String transactionHash)The hash of a transaction.Transaction.BuildertransactionId(String transactionId)The identifier of a Bitcoin transaction.Transaction.BuildertransactionIndex(Long transactionIndex)The index of the transaction within a blockchain.Transaction.BuildertransactionTimestamp(Instant transactionTimestamp)TheTimestampof the transaction.-
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
Transaction.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
Transaction.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
-
blockHash
Transaction.Builder blockHash(String blockHash)
The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the information in the block. The block hash is used to verify the integrity of the data in the block.
- Parameters:
blockHash- The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the information in the block. The block hash is used to verify the integrity of the data in the block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionHash
Transaction.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.
-
blockNumber
Transaction.Builder blockNumber(String blockNumber)
The block number in which the transaction is recorded.
- Parameters:
blockNumber- The block number in which the transaction is recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionTimestamp
Transaction.Builder transactionTimestamp(Instant transactionTimestamp)
The
Timestampof the transaction.- Parameters:
transactionTimestamp- TheTimestampof the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionIndex
Transaction.Builder transactionIndex(Long transactionIndex)
The index of the transaction within a blockchain.
- Parameters:
transactionIndex- The index of the transaction within a blockchain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfTransactions
Transaction.Builder numberOfTransactions(Long numberOfTransactions)
The number of transactions in the block.
- Parameters:
numberOfTransactions- The number of transactions in the block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
Transaction.Builder to(String to)
The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
- Parameters:
to- The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
Transaction.Builder from(String from)
The initiator of the transaction. It is either in the form a public key or a contract address.
- Parameters:
from- The initiator of the transaction. It is either in the form a public key or a contract address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractAddress
Transaction.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.
-
gasUsed
Transaction.Builder gasUsed(String gasUsed)
The amount of gas used for the transaction.
- Parameters:
gasUsed- The amount of gas used for the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cumulativeGasUsed
Transaction.Builder cumulativeGasUsed(String cumulativeGasUsed)
The amount of gas used up to the specified point in the block.
- Parameters:
cumulativeGasUsed- The amount of gas used up to the specified point in the block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveGasPrice
Transaction.Builder effectiveGasPrice(String effectiveGasPrice)
The effective gas price.
- Parameters:
effectiveGasPrice- The effective gas price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureV
Transaction.Builder signatureV(Integer signatureV)
The signature of the transaction. The Z coordinate of a point V.
- Parameters:
signatureV- The signature of the transaction. The Z coordinate of a point V.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureR
Transaction.Builder signatureR(String signatureR)
The signature of the transaction. The X coordinate of a point R.
- Parameters:
signatureR- The signature of the transaction. The X coordinate of a point R.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureS
Transaction.Builder signatureS(String signatureS)
The signature of the transaction. The Y coordinate of a point S.
- Parameters:
signatureS- The signature of the transaction. The Y coordinate of a point S.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionFee
Transaction.Builder transactionFee(String transactionFee)
The transaction fee.
- Parameters:
transactionFee- The transaction fee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionId
Transaction.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.
-
confirmationStatus
Transaction.Builder confirmationStatus(String confirmationStatus)
Specifies whether the transaction has reached Finality.
- Parameters:
confirmationStatus- 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
Transaction.Builder confirmationStatus(ConfirmationStatus confirmationStatus)
Specifies whether the transaction has reached Finality.
- Parameters:
confirmationStatus- 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
-
executionStatus
Transaction.Builder executionStatus(String executionStatus)
Identifies whether the transaction has succeeded or failed.
- Parameters:
executionStatus- Identifies whether the transaction has succeeded or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus,ExecutionStatus
-
executionStatus
Transaction.Builder executionStatus(ExecutionStatus executionStatus)
Identifies whether the transaction has succeeded or failed.
- Parameters:
executionStatus- Identifies whether the transaction has succeeded or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus,ExecutionStatus
-
-