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<ListPresetsInputBuilder> for ListPresetsInputBuilder
impl PartialEq<ListPresetsInputBuilder> 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 ==
.