Struct aws_sdk_m2::operation::list_engine_versions::builders::ListEngineVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListEngineVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListEngineVersionsOutput
.
Implementations§
source§impl ListEngineVersionsOutputBuilder
impl ListEngineVersionsOutputBuilder
sourcepub fn engine_versions(self, input: EngineVersionsSummary) -> Self
pub fn engine_versions(self, input: EngineVersionsSummary) -> Self
Appends an item to engine_versions
.
To override the contents of this collection use set_engine_versions
.
Returns the engine versions.
sourcepub fn set_engine_versions(
self,
input: Option<Vec<EngineVersionsSummary>>
) -> Self
pub fn set_engine_versions( self, input: Option<Vec<EngineVersionsSummary>> ) -> Self
Returns the engine versions.
sourcepub fn get_engine_versions(&self) -> &Option<Vec<EngineVersionsSummary>>
pub fn get_engine_versions(&self) -> &Option<Vec<EngineVersionsSummary>>
Returns the engine 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<ListEngineVersionsOutput, BuildError>
pub fn build(self) -> Result<ListEngineVersionsOutput, BuildError>
Consumes the builder and constructs a ListEngineVersionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListEngineVersionsOutputBuilder
impl Clone for ListEngineVersionsOutputBuilder
source§fn clone(&self) -> ListEngineVersionsOutputBuilder
fn clone(&self) -> ListEngineVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListEngineVersionsOutputBuilder
impl Default for ListEngineVersionsOutputBuilder
source§fn default() -> ListEngineVersionsOutputBuilder
fn default() -> ListEngineVersionsOutputBuilder
source§impl PartialEq for ListEngineVersionsOutputBuilder
impl PartialEq for ListEngineVersionsOutputBuilder
source§fn eq(&self, other: &ListEngineVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListEngineVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListEngineVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListEngineVersionsOutputBuilder
impl RefUnwindSafe for ListEngineVersionsOutputBuilder
impl Send for ListEngineVersionsOutputBuilder
impl Sync for ListEngineVersionsOutputBuilder
impl Unpin for ListEngineVersionsOutputBuilder
impl UnwindSafe for ListEngineVersionsOutputBuilder
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