Struct aws_sdk_m2::operation::list_application_versions::builders::ListApplicationVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListApplicationVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListApplicationVersionsOutput
.
Implementations§
source§impl ListApplicationVersionsOutputBuilder
impl ListApplicationVersionsOutputBuilder
sourcepub fn application_versions(self, input: ApplicationVersionSummary) -> Self
pub fn application_versions(self, input: ApplicationVersionSummary) -> Self
Appends an item to application_versions
.
To override the contents of this collection use set_application_versions
.
The list of application versions.
sourcepub fn set_application_versions(
self,
input: Option<Vec<ApplicationVersionSummary>>
) -> Self
pub fn set_application_versions( self, input: Option<Vec<ApplicationVersionSummary>> ) -> Self
The list of application versions.
sourcepub fn get_application_versions(
&self
) -> &Option<Vec<ApplicationVersionSummary>>
pub fn get_application_versions( &self ) -> &Option<Vec<ApplicationVersionSummary>>
The list of application versions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn build(self) -> Result<ListApplicationVersionsOutput, BuildError>
pub fn build(self) -> Result<ListApplicationVersionsOutput, BuildError>
Consumes the builder and constructs a ListApplicationVersionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListApplicationVersionsOutputBuilder
impl Clone for ListApplicationVersionsOutputBuilder
source§fn clone(&self) -> ListApplicationVersionsOutputBuilder
fn clone(&self) -> ListApplicationVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListApplicationVersionsOutputBuilder
impl Default for ListApplicationVersionsOutputBuilder
source§fn default() -> ListApplicationVersionsOutputBuilder
fn default() -> ListApplicationVersionsOutputBuilder
source§impl PartialEq for ListApplicationVersionsOutputBuilder
impl PartialEq for ListApplicationVersionsOutputBuilder
source§fn eq(&self, other: &ListApplicationVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListApplicationVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListApplicationVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListApplicationVersionsOutputBuilder
impl RefUnwindSafe for ListApplicationVersionsOutputBuilder
impl Send for ListApplicationVersionsOutputBuilder
impl Sync for ListApplicationVersionsOutputBuilder
impl Unpin for ListApplicationVersionsOutputBuilder
impl UnwindSafe for ListApplicationVersionsOutputBuilder
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