Struct aws_sdk_m2::operation::list_engine_versions::builders::ListEngineVersionsInputBuilder
source · #[non_exhaustive]pub struct ListEngineVersionsInputBuilder { /* private fields */ }
Expand description
A builder for ListEngineVersionsInput
.
Implementations§
source§impl ListEngineVersionsInputBuilder
impl ListEngineVersionsInputBuilder
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The type of target platform.
sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
The type of target platform.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
The type of target platform.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of objects 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 objects to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of objects to return.
sourcepub fn build(self) -> Result<ListEngineVersionsInput, BuildError>
pub fn build(self) -> Result<ListEngineVersionsInput, BuildError>
Consumes the builder and constructs a ListEngineVersionsInput
.
source§impl ListEngineVersionsInputBuilder
impl ListEngineVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListEngineVersionsOutput, SdkError<ListEngineVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListEngineVersionsOutput, SdkError<ListEngineVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListEngineVersionsInputBuilder
impl Clone for ListEngineVersionsInputBuilder
source§fn clone(&self) -> ListEngineVersionsInputBuilder
fn clone(&self) -> ListEngineVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListEngineVersionsInputBuilder
impl Default for ListEngineVersionsInputBuilder
source§fn default() -> ListEngineVersionsInputBuilder
fn default() -> ListEngineVersionsInputBuilder
source§impl PartialEq for ListEngineVersionsInputBuilder
impl PartialEq for ListEngineVersionsInputBuilder
source§fn eq(&self, other: &ListEngineVersionsInputBuilder) -> bool
fn eq(&self, other: &ListEngineVersionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListEngineVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListEngineVersionsInputBuilder
impl RefUnwindSafe for ListEngineVersionsInputBuilder
impl Send for ListEngineVersionsInputBuilder
impl Sync for ListEngineVersionsInputBuilder
impl Unpin for ListEngineVersionsInputBuilder
impl UnwindSafe for ListEngineVersionsInputBuilder
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