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 ==
.impl StructuralPartialEq for ListTransactionEventsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListTransactionEventsOutputBuilder
impl RefUnwindSafe for ListTransactionEventsOutputBuilder
impl Send for ListTransactionEventsOutputBuilder
impl Sync for ListTransactionEventsOutputBuilder
impl Unpin for ListTransactionEventsOutputBuilder
impl UnwindSafe for ListTransactionEventsOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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