Struct aws_sdk_mediaconvert::operation::update_job_template::builders::UpdateJobTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateJobTemplateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateJobTemplateInput
.
Implementations§
source§impl UpdateJobTemplateInputBuilder
impl UpdateJobTemplateInputBuilder
sourcepub fn acceleration_settings(self, input: AccelerationSettings) -> Self
pub fn acceleration_settings(self, input: AccelerationSettings) -> Self
Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.
sourcepub fn set_acceleration_settings(
self,
input: Option<AccelerationSettings>
) -> Self
pub fn set_acceleration_settings( self, input: Option<AccelerationSettings> ) -> Self
Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.
sourcepub fn get_acceleration_settings(&self) -> &Option<AccelerationSettings>
pub fn get_acceleration_settings(&self) -> &Option<AccelerationSettings>
Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
The new category for the job template, if you are changing it.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
The new category for the job template, if you are changing it.
sourcepub fn get_category(&self) -> &Option<String>
pub fn get_category(&self) -> &Option<String>
The new category for the job template, if you are changing it.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description for the job template, if you are changing it.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description for the job template, if you are changing it.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description for the job template, if you are changing it.
sourcepub fn hop_destinations(self, input: HopDestination) -> Self
pub fn hop_destinations(self, input: HopDestination) -> Self
Appends an item to hop_destinations
.
To override the contents of this collection use set_hop_destinations
.
Optional list of hop destinations.
sourcepub fn set_hop_destinations(self, input: Option<Vec<HopDestination>>) -> Self
pub fn set_hop_destinations(self, input: Option<Vec<HopDestination>>) -> Self
Optional list of hop destinations.
sourcepub fn get_hop_destinations(&self) -> &Option<Vec<HopDestination>>
pub fn get_hop_destinations(&self) -> &Option<Vec<HopDestination>>
Optional list of hop destinations.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the job template you are modifying This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the job template you are modifying
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don’t specify a priority, the service uses the default value 0.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don’t specify a priority, the service uses the default value 0.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don’t specify a priority, the service uses the default value 0.
sourcepub fn queue(self, input: impl Into<String>) -> Self
pub fn queue(self, input: impl Into<String>) -> Self
The new queue for the job template, if you are changing it.
sourcepub fn set_queue(self, input: Option<String>) -> Self
pub fn set_queue(self, input: Option<String>) -> Self
The new queue for the job template, if you are changing it.
sourcepub fn get_queue(&self) -> &Option<String>
pub fn get_queue(&self) -> &Option<String>
The new queue for the job template, if you are changing it.
sourcepub fn settings(self, input: JobTemplateSettings) -> Self
pub fn settings(self, input: JobTemplateSettings) -> Self
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
sourcepub fn set_settings(self, input: Option<JobTemplateSettings>) -> Self
pub fn set_settings(self, input: Option<JobTemplateSettings>) -> Self
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
sourcepub fn get_settings(&self) -> &Option<JobTemplateSettings>
pub fn get_settings(&self) -> &Option<JobTemplateSettings>
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
sourcepub fn status_update_interval(self, input: StatusUpdateInterval) -> Self
pub fn status_update_interval(self, input: StatusUpdateInterval) -> Self
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
sourcepub fn set_status_update_interval(
self,
input: Option<StatusUpdateInterval>
) -> Self
pub fn set_status_update_interval( self, input: Option<StatusUpdateInterval> ) -> Self
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
sourcepub fn get_status_update_interval(&self) -> &Option<StatusUpdateInterval>
pub fn get_status_update_interval(&self) -> &Option<StatusUpdateInterval>
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
sourcepub fn build(self) -> Result<UpdateJobTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateJobTemplateInput, BuildError>
Consumes the builder and constructs a UpdateJobTemplateInput
.
source§impl UpdateJobTemplateInputBuilder
impl UpdateJobTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateJobTemplateOutput, SdkError<UpdateJobTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateJobTemplateOutput, SdkError<UpdateJobTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateJobTemplateInputBuilder
impl Clone for UpdateJobTemplateInputBuilder
source§fn clone(&self) -> UpdateJobTemplateInputBuilder
fn clone(&self) -> UpdateJobTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateJobTemplateInputBuilder
impl Default for UpdateJobTemplateInputBuilder
source§fn default() -> UpdateJobTemplateInputBuilder
fn default() -> UpdateJobTemplateInputBuilder
source§impl PartialEq for UpdateJobTemplateInputBuilder
impl PartialEq for UpdateJobTemplateInputBuilder
source§fn eq(&self, other: &UpdateJobTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateJobTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateJobTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateJobTemplateInputBuilder
impl RefUnwindSafe for UpdateJobTemplateInputBuilder
impl Send for UpdateJobTemplateInputBuilder
impl Sync for UpdateJobTemplateInputBuilder
impl Unpin for UpdateJobTemplateInputBuilder
impl UnwindSafe for UpdateJobTemplateInputBuilder
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