Struct aws_sdk_managedblockchainquery::operation::list_transactions::builders::ListTransactionsInputBuilder
source · #[non_exhaustive]pub struct ListTransactionsInputBuilder { /* private fields */ }
Expand description
A builder for ListTransactionsInput
.
Implementations§
source§impl ListTransactionsInputBuilder
impl ListTransactionsInputBuilder
sourcepub fn address(self, input: impl Into<String>) -> Self
pub fn address(self, input: impl Into<String>) -> Self
The address (either a contract or wallet), whose transactions are being requested.
This field is required.sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The address (either a contract or wallet), whose transactions are being requested.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The address (either a contract or wallet), whose transactions are being requested.
sourcepub fn network(self, input: QueryNetwork) -> Self
pub fn network(self, input: QueryNetwork) -> Self
The blockchain network where the transactions 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 transactions occurred.
sourcepub fn get_network(&self) -> &Option<QueryNetwork>
pub fn get_network(&self) -> &Option<QueryNetwork>
The blockchain network where the transactions occurred.
sourcepub fn from_blockchain_instant(self, input: BlockchainInstant) -> Self
pub fn from_blockchain_instant(self, input: BlockchainInstant) -> Self
The container for time.
sourcepub fn set_from_blockchain_instant(
self,
input: Option<BlockchainInstant>
) -> Self
pub fn set_from_blockchain_instant( self, input: Option<BlockchainInstant> ) -> Self
The container for time.
sourcepub fn get_from_blockchain_instant(&self) -> &Option<BlockchainInstant>
pub fn get_from_blockchain_instant(&self) -> &Option<BlockchainInstant>
The container for time.
sourcepub fn to_blockchain_instant(self, input: BlockchainInstant) -> Self
pub fn to_blockchain_instant(self, input: BlockchainInstant) -> Self
The container for time.
sourcepub fn set_to_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
pub fn set_to_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
The container for time.
sourcepub fn get_to_blockchain_instant(&self) -> &Option<BlockchainInstant>
pub fn get_to_blockchain_instant(&self) -> &Option<BlockchainInstant>
The container for time.
sourcepub fn sort(self, input: ListTransactionsSort) -> Self
pub fn sort(self, input: ListTransactionsSort) -> Self
The order by which the results will be sorted.
sourcepub fn set_sort(self, input: Option<ListTransactionsSort>) -> Self
pub fn set_sort(self, input: Option<ListTransactionsSort>) -> Self
The order by which the results will be sorted.
sourcepub fn get_sort(&self) -> &Option<ListTransactionsSort>
pub fn get_sort(&self) -> &Option<ListTransactionsSort>
The order by which the results will be sorted.
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 transactions to list.
Default: 100
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 transactions to list.
Default: 100
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 transactions to list.
Default: 100
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 confirmation_status_filter(self, input: ConfirmationStatusFilter) -> Self
pub fn confirmation_status_filter(self, input: ConfirmationStatusFilter) -> Self
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
sourcepub fn set_confirmation_status_filter(
self,
input: Option<ConfirmationStatusFilter>
) -> Self
pub fn set_confirmation_status_filter( self, input: Option<ConfirmationStatusFilter> ) -> Self
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
sourcepub fn get_confirmation_status_filter(
&self
) -> &Option<ConfirmationStatusFilter>
pub fn get_confirmation_status_filter( &self ) -> &Option<ConfirmationStatusFilter>
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
sourcepub fn build(self) -> Result<ListTransactionsInput, BuildError>
pub fn build(self) -> Result<ListTransactionsInput, BuildError>
Consumes the builder and constructs a ListTransactionsInput
.
source§impl ListTransactionsInputBuilder
impl ListTransactionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTransactionsOutput, SdkError<ListTransactionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTransactionsOutput, SdkError<ListTransactionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTransactionsInputBuilder
impl Clone for ListTransactionsInputBuilder
source§fn clone(&self) -> ListTransactionsInputBuilder
fn clone(&self) -> ListTransactionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTransactionsInputBuilder
impl Debug for ListTransactionsInputBuilder
source§impl Default for ListTransactionsInputBuilder
impl Default for ListTransactionsInputBuilder
source§fn default() -> ListTransactionsInputBuilder
fn default() -> ListTransactionsInputBuilder
source§impl PartialEq for ListTransactionsInputBuilder
impl PartialEq for ListTransactionsInputBuilder
source§fn eq(&self, other: &ListTransactionsInputBuilder) -> bool
fn eq(&self, other: &ListTransactionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTransactionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListTransactionsInputBuilder
impl RefUnwindSafe for ListTransactionsInputBuilder
impl Send for ListTransactionsInputBuilder
impl Sync for ListTransactionsInputBuilder
impl Unpin for ListTransactionsInputBuilder
impl UnwindSafe for ListTransactionsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more