Struct aws_sdk_managedblockchainquery::operation::list_transaction_events::builders::ListTransactionEventsOutputBuilder
source · #[non_exhaustive]pub struct ListTransactionEventsOutputBuilder { /* private fields */ }
Expand description
A builder for ListTransactionEventsOutput
.
Implementations§
source§impl ListTransactionEventsOutputBuilder
impl ListTransactionEventsOutputBuilder
sourcepub fn events(self, input: TransactionEvent) -> Self
pub fn events(self, input: TransactionEvent) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
An array of TransactionEvent
objects. Each object contains details about the transaction events.
sourcepub fn set_events(self, input: Option<Vec<TransactionEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<TransactionEvent>>) -> Self
An array of TransactionEvent
objects. Each object contains details about the transaction events.
sourcepub fn get_events(&self) -> &Option<Vec<TransactionEvent>>
pub fn get_events(&self) -> &Option<Vec<TransactionEvent>>
An array of TransactionEvent
objects. Each object contains details about the transaction events.
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 build(self) -> Result<ListTransactionEventsOutput, BuildError>
pub fn build(self) -> Result<ListTransactionEventsOutput, BuildError>
Consumes the builder and constructs a ListTransactionEventsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListTransactionEventsOutputBuilder
impl Clone for ListTransactionEventsOutputBuilder
source§fn clone(&self) -> ListTransactionEventsOutputBuilder
fn clone(&self) -> ListTransactionEventsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTransactionEventsOutputBuilder
impl Default for ListTransactionEventsOutputBuilder
source§fn default() -> ListTransactionEventsOutputBuilder
fn default() -> ListTransactionEventsOutputBuilder
source§impl PartialEq for ListTransactionEventsOutputBuilder
impl PartialEq for ListTransactionEventsOutputBuilder
source§fn eq(&self, other: &ListTransactionEventsOutputBuilder) -> bool
fn eq(&self, other: &ListTransactionEventsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.