Struct aws_sdk_managedblockchainquery::operation::get_transaction::builders::GetTransactionFluentBuilder
source · pub struct GetTransactionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetTransaction
.
Get the details of a transaction.
Implementations§
source§impl GetTransactionFluentBuilder
impl GetTransactionFluentBuilder
sourcepub fn as_input(&self) -> &GetTransactionInputBuilder
pub fn as_input(&self) -> &GetTransactionInputBuilder
Access the GetTransaction as a reference.
sourcepub async fn send(
self
) -> Result<GetTransactionOutput, SdkError<GetTransactionError, HttpResponse>>
pub async fn send( self ) -> Result<GetTransactionOutput, SdkError<GetTransactionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetTransactionOutput, GetTransactionError, Self>, SdkError<GetTransactionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetTransactionOutput, GetTransactionError, Self>, SdkError<GetTransactionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn transaction_hash(self, input: impl Into<String>) -> Self
pub fn transaction_hash(self, input: impl Into<String>) -> Self
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn set_transaction_hash(self, input: Option<String>) -> Self
pub fn set_transaction_hash(self, input: Option<String>) -> Self
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn get_transaction_hash(&self) -> &Option<String>
pub fn get_transaction_hash(&self) -> &Option<String>
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn network(self, input: QueryNetwork) -> Self
pub fn network(self, input: QueryNetwork) -> Self
The blockchain network where the transaction occurred.
sourcepub fn set_network(self, input: Option<QueryNetwork>) -> Self
pub fn set_network(self, input: Option<QueryNetwork>) -> Self
The blockchain network where the transaction occurred.
sourcepub fn get_network(&self) -> &Option<QueryNetwork>
pub fn get_network(&self) -> &Option<QueryNetwork>
The blockchain network where the transaction occurred.
Trait Implementations§
source§impl Clone for GetTransactionFluentBuilder
impl Clone for GetTransactionFluentBuilder
source§fn clone(&self) -> GetTransactionFluentBuilder
fn clone(&self) -> GetTransactionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more