Struct aws_sdk_managedblockchainquery::operation::list_transaction_events::builders::ListTransactionEventsInputBuilder
source · #[non_exhaustive]pub struct ListTransactionEventsInputBuilder { /* private fields */ }
Expand description
A builder for ListTransactionEventsInput
.
Implementations§
source§impl ListTransactionEventsInputBuilder
impl ListTransactionEventsInputBuilder
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.
This field is required.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 events occurred.
This field is required.sourcepub fn set_network(self, input: Option<QueryNetwork>) -> Self
pub fn set_network(self, input: Option<QueryNetwork>) -> Self
The blockchain network where the transaction events occurred.
sourcepub fn get_network(&self) -> &Option<QueryNetwork>
pub fn get_network(&self) -> &Option<QueryNetwork>
The blockchain network where the transaction events occurred.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token that indicates the next set of results to retrieve.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of transaction events to list.
Even if additional results can be retrieved, the request can return less results than maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The value of nextToken
is null
when there are no more results to return
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of transaction events to list.
Even if additional results can be retrieved, the request can return less results than maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The value of nextToken
is null
when there are no more results to return
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of transaction events to list.
Even if additional results can be retrieved, the request can return less results than maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The value of nextToken
is null
when there are no more results to return
sourcepub fn build(self) -> Result<ListTransactionEventsInput, BuildError>
pub fn build(self) -> Result<ListTransactionEventsInput, BuildError>
Consumes the builder and constructs a ListTransactionEventsInput
.
source§impl ListTransactionEventsInputBuilder
impl ListTransactionEventsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTransactionEventsOutput, SdkError<ListTransactionEventsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTransactionEventsOutput, SdkError<ListTransactionEventsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTransactionEventsInputBuilder
impl Clone for ListTransactionEventsInputBuilder
source§fn clone(&self) -> ListTransactionEventsInputBuilder
fn clone(&self) -> ListTransactionEventsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTransactionEventsInputBuilder
impl Default for ListTransactionEventsInputBuilder
source§fn default() -> ListTransactionEventsInputBuilder
fn default() -> ListTransactionEventsInputBuilder
source§impl PartialEq for ListTransactionEventsInputBuilder
impl PartialEq for ListTransactionEventsInputBuilder
source§fn eq(&self, other: &ListTransactionEventsInputBuilder) -> bool
fn eq(&self, other: &ListTransactionEventsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.