#[non_exhaustive]pub struct ListPresetsInputBuilder { /* private fields */ }
Expand description
A builder for ListPresetsInput
.
Implementations§
source§impl ListPresetsInputBuilder
impl ListPresetsInputBuilder
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
Optionally, specify a preset category to limit responses to only presets from that category.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
Optionally, specify a preset category to limit responses to only presets from that category.
sourcepub fn get_category(&self) -> &Option<String>
pub fn get_category(&self) -> &Option<String>
Optionally, specify a preset category to limit responses to only presets from that category.
sourcepub fn list_by(self, input: PresetListBy) -> Self
pub fn list_by(self, input: PresetListBy) -> Self
Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don’t specify, the service will list them by name.
sourcepub fn set_list_by(self, input: Option<PresetListBy>) -> Self
pub fn set_list_by(self, input: Option<PresetListBy>) -> Self
Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don’t specify, the service will list them by name.
sourcepub fn get_list_by(&self) -> &Option<PresetListBy>
pub fn get_list_by(&self) -> &Option<PresetListBy>
Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don’t specify, the service will list them by name.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Optional. Number of presets, up to twenty, that will be returned at one time
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Optional. Number of presets, up to twenty, that will be returned at one time
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Optional. Number of presets, up to twenty, that will be returned at one time
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use this string, provided with the response to a previous request, to request the next batch of presets.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Use this string, provided with the response to a previous request, to request the next batch of presets.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Use this string, provided with the response to a previous request, to request the next batch of presets.
sourcepub fn order(self, input: Order) -> Self
pub fn order(self, input: Order) -> Self
Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
sourcepub fn set_order(self, input: Option<Order>) -> Self
pub fn set_order(self, input: Option<Order>) -> Self
Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
sourcepub fn get_order(&self) -> &Option<Order>
pub fn get_order(&self) -> &Option<Order>
Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
sourcepub fn build(self) -> Result<ListPresetsInput, BuildError>
pub fn build(self) -> Result<ListPresetsInput, BuildError>
Consumes the builder and constructs a ListPresetsInput
.
source§impl ListPresetsInputBuilder
impl ListPresetsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPresetsOutput, SdkError<ListPresetsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPresetsOutput, SdkError<ListPresetsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPresetsInputBuilder
impl Clone for ListPresetsInputBuilder
source§fn clone(&self) -> ListPresetsInputBuilder
fn clone(&self) -> ListPresetsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPresetsInputBuilder
impl Debug for ListPresetsInputBuilder
source§impl Default for ListPresetsInputBuilder
impl Default for ListPresetsInputBuilder
source§fn default() -> ListPresetsInputBuilder
fn default() -> ListPresetsInputBuilder
source§impl PartialEq for ListPresetsInputBuilder
impl PartialEq for ListPresetsInputBuilder
source§fn eq(&self, other: &ListPresetsInputBuilder) -> bool
fn eq(&self, other: &ListPresetsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPresetsInputBuilder
Auto Trait Implementations§
impl Freeze for ListPresetsInputBuilder
impl RefUnwindSafe for ListPresetsInputBuilder
impl Send for ListPresetsInputBuilder
impl Sync for ListPresetsInputBuilder
impl Unpin for ListPresetsInputBuilder
impl UnwindSafe for ListPresetsInputBuilder
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