Struct aws_sdk_mediaconvert::types::JobTemplate
source · #[non_exhaustive]pub struct JobTemplate {Show 13 fields
pub acceleration_settings: Option<AccelerationSettings>,
pub arn: Option<String>,
pub category: Option<String>,
pub created_at: Option<DateTime>,
pub description: Option<String>,
pub hop_destinations: Option<Vec<HopDestination>>,
pub last_updated: Option<DateTime>,
pub name: Option<String>,
pub priority: Option<i32>,
pub queue: Option<String>,
pub settings: Option<JobTemplateSettings>,
pub status_update_interval: Option<StatusUpdateInterval>,
pub type: Option<Type>,
}
Expand description
A job template is a pre-made set of encoding instructions that you can use to quickly create a job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.acceleration_settings: Option<AccelerationSettings>
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
arn: Option<String>
An identifier for this resource that is unique within all of AWS.
category: Option<String>
An optional category you create to organize your job templates.
created_at: Option<DateTime>
The timestamp in epoch seconds for Job template creation.
description: Option<String>
An optional description you create for each job template.
hop_destinations: Option<Vec<HopDestination>>
Optional list of hop destinations.
last_updated: Option<DateTime>
The timestamp in epoch seconds when the Job template was last updated.
name: Option<String>
A name you create for each job template. Each name must be unique within your account.
priority: Option<i32>
Relative priority on the job.
queue: Option<String>
Optional. The queue that jobs created from this template are assigned to. If you don’t specify this, jobs will go to the default queue.
settings: Option<JobTemplateSettings>
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
status_update_interval: 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.
type: Option<Type>
A job template can be of two types: system or custom. System or built-in job templates can’t be modified or deleted by the user.
Implementations§
source§impl JobTemplate
impl JobTemplate
sourcepub fn acceleration_settings(&self) -> Option<&AccelerationSettings>
pub fn acceleration_settings(&self) -> Option<&AccelerationSettings>
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
An identifier for this resource that is unique within all of AWS.
sourcepub fn category(&self) -> Option<&str>
pub fn category(&self) -> Option<&str>
An optional category you create to organize your job templates.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp in epoch seconds for Job template creation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description you create for each job template.
sourcepub fn hop_destinations(&self) -> &[HopDestination]
pub fn hop_destinations(&self) -> &[HopDestination]
Optional list of hop destinations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hop_destinations.is_none()
.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The timestamp in epoch seconds when the Job template was last updated.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A name you create for each job template. Each name must be unique within your account.
sourcepub fn queue(&self) -> Option<&str>
pub fn queue(&self) -> Option<&str>
Optional. The queue that jobs created from this template are assigned to. If you don’t specify this, jobs will go to the default queue.
sourcepub fn settings(&self) -> Option<&JobTemplateSettings>
pub fn 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) -> Option<&StatusUpdateInterval>
pub fn 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.
source§impl JobTemplate
impl JobTemplate
sourcepub fn builder() -> JobTemplateBuilder
pub fn builder() -> JobTemplateBuilder
Creates a new builder-style object to manufacture JobTemplate
.
Trait Implementations§
source§impl Clone for JobTemplate
impl Clone for JobTemplate
source§fn clone(&self) -> JobTemplate
fn clone(&self) -> JobTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobTemplate
impl Debug for JobTemplate
source§impl PartialEq for JobTemplate
impl PartialEq for JobTemplate
source§fn eq(&self, other: &JobTemplate) -> bool
fn eq(&self, other: &JobTemplate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobTemplate
Auto Trait Implementations§
impl Freeze for JobTemplate
impl RefUnwindSafe for JobTemplate
impl Send for JobTemplate
impl Sync for JobTemplate
impl Unpin for JobTemplate
impl UnwindSafe for JobTemplate
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