Struct aws_sdk_mediaconvert::operation::list_job_templates::builders::ListJobTemplatesInputBuilder
source · #[non_exhaustive]pub struct ListJobTemplatesInputBuilder { /* private fields */ }
Expand description
A builder for ListJobTemplatesInput
.
Implementations§
source§impl ListJobTemplatesInputBuilder
impl ListJobTemplatesInputBuilder
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
Optionally, specify a job template category to limit responses to only job templates from that category.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
Optionally, specify a job template category to limit responses to only job templates from that category.
sourcepub fn get_category(&self) -> &Option<String>
pub fn get_category(&self) -> &Option<String>
Optionally, specify a job template category to limit responses to only job templates from that category.
sourcepub fn list_by(self, input: JobTemplateListBy) -> Self
pub fn list_by(self, input: JobTemplateListBy) -> Self
Optional. When you request a list of job templates, 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<JobTemplateListBy>) -> Self
pub fn set_list_by(self, input: Option<JobTemplateListBy>) -> Self
Optional. When you request a list of job templates, 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<JobTemplateListBy>
pub fn get_list_by(&self) -> &Option<JobTemplateListBy>
Optional. When you request a list of job templates, 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 job templates, 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 job templates, 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 job templates, 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 job templates.
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 job templates.
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 job templates.
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<ListJobTemplatesInput, BuildError>
pub fn build(self) -> Result<ListJobTemplatesInput, BuildError>
Consumes the builder and constructs a ListJobTemplatesInput
.
source§impl ListJobTemplatesInputBuilder
impl ListJobTemplatesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListJobTemplatesOutput, SdkError<ListJobTemplatesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListJobTemplatesOutput, SdkError<ListJobTemplatesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListJobTemplatesInputBuilder
impl Clone for ListJobTemplatesInputBuilder
source§fn clone(&self) -> ListJobTemplatesInputBuilder
fn clone(&self) -> ListJobTemplatesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobTemplatesInputBuilder
impl Debug for ListJobTemplatesInputBuilder
source§impl Default for ListJobTemplatesInputBuilder
impl Default for ListJobTemplatesInputBuilder
source§fn default() -> ListJobTemplatesInputBuilder
fn default() -> ListJobTemplatesInputBuilder
source§impl PartialEq for ListJobTemplatesInputBuilder
impl PartialEq for ListJobTemplatesInputBuilder
source§fn eq(&self, other: &ListJobTemplatesInputBuilder) -> bool
fn eq(&self, other: &ListJobTemplatesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobTemplatesInputBuilder
Auto Trait Implementations§
impl Freeze for ListJobTemplatesInputBuilder
impl RefUnwindSafe for ListJobTemplatesInputBuilder
impl Send for ListJobTemplatesInputBuilder
impl Sync for ListJobTemplatesInputBuilder
impl Unpin for ListJobTemplatesInputBuilder
impl UnwindSafe for ListJobTemplatesInputBuilder
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