Struct aws_sdk_elastictranscoder::operation::list_presets::builders::ListPresetsInputBuilder
source · #[non_exhaustive]pub struct ListPresetsInputBuilder { /* private fields */ }
Expand description
A builder for ListPresetsInput
.
Implementations§
source§impl ListPresetsInputBuilder
impl ListPresetsInputBuilder
sourcepub fn ascending(self, input: impl Into<String>) -> Self
pub fn ascending(self, input: impl Into<String>) -> Self
To list presets in chronological order by the date and time that they were created, enter true
. To list presets in reverse chronological order, enter false
.
sourcepub fn set_ascending(self, input: Option<String>) -> Self
pub fn set_ascending(self, input: Option<String>) -> Self
To list presets in chronological order by the date and time that they were created, enter true
. To list presets in reverse chronological order, enter false
.
sourcepub fn get_ascending(&self) -> &Option<String>
pub fn get_ascending(&self) -> &Option<String>
To list presets in chronological order by the date and time that they were created, enter true
. To list presets in reverse chronological order, enter false
.
sourcepub fn page_token(self, input: impl Into<String>) -> Self
pub fn page_token(self, input: impl Into<String>) -> Self
When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
sourcepub fn set_page_token(self, input: Option<String>) -> Self
pub fn set_page_token(self, input: Option<String>) -> Self
When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
sourcepub fn get_page_token(&self) -> &Option<String>
pub fn get_page_token(&self) -> &Option<String>
When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
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