#[non_exhaustive]pub struct JobTemplateSettingsBuilder { /* private fields */ }
Expand description
A builder for JobTemplateSettings
.
Implementations§
source§impl JobTemplateSettingsBuilder
impl JobTemplateSettingsBuilder
sourcepub fn ad_avail_offset(self, input: i32) -> Self
pub fn ad_avail_offset(self, input: i32) -> Self
When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.
sourcepub fn set_ad_avail_offset(self, input: Option<i32>) -> Self
pub fn set_ad_avail_offset(self, input: Option<i32>) -> Self
When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.
sourcepub fn get_ad_avail_offset(&self) -> &Option<i32>
pub fn get_ad_avail_offset(&self) -> &Option<i32>
When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.
sourcepub fn avail_blanking(self, input: AvailBlanking) -> Self
pub fn avail_blanking(self, input: AvailBlanking) -> Self
Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.
sourcepub fn set_avail_blanking(self, input: Option<AvailBlanking>) -> Self
pub fn set_avail_blanking(self, input: Option<AvailBlanking>) -> Self
Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.
sourcepub fn get_avail_blanking(&self) -> &Option<AvailBlanking>
pub fn get_avail_blanking(&self) -> &Option<AvailBlanking>
Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.
sourcepub fn color_conversion3_dlut_settings(
self,
input: ColorConversion3DlutSetting
) -> Self
pub fn color_conversion3_dlut_settings( self, input: ColorConversion3DlutSetting ) -> Self
Appends an item to color_conversion3_dlut_settings
.
To override the contents of this collection use set_color_conversion3_dlut_settings
.
Use 3D LUTs to specify custom color mapping behavior when you convert from one color space into another. You can include up to 8 different 3D LUTs. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/3d-luts.html
sourcepub fn set_color_conversion3_dlut_settings(
self,
input: Option<Vec<ColorConversion3DlutSetting>>
) -> Self
pub fn set_color_conversion3_dlut_settings( self, input: Option<Vec<ColorConversion3DlutSetting>> ) -> Self
Use 3D LUTs to specify custom color mapping behavior when you convert from one color space into another. You can include up to 8 different 3D LUTs. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/3d-luts.html
sourcepub fn get_color_conversion3_dlut_settings(
&self
) -> &Option<Vec<ColorConversion3DlutSetting>>
pub fn get_color_conversion3_dlut_settings( &self ) -> &Option<Vec<ColorConversion3DlutSetting>>
Use 3D LUTs to specify custom color mapping behavior when you convert from one color space into another. You can include up to 8 different 3D LUTs. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/3d-luts.html
sourcepub fn esam(self, input: EsamSettings) -> Self
pub fn esam(self, input: EsamSettings) -> Self
Settings for Event Signaling And Messaging (ESAM). If you don’t do ad insertion, you can ignore these settings.
sourcepub fn set_esam(self, input: Option<EsamSettings>) -> Self
pub fn set_esam(self, input: Option<EsamSettings>) -> Self
Settings for Event Signaling And Messaging (ESAM). If you don’t do ad insertion, you can ignore these settings.
sourcepub fn get_esam(&self) -> &Option<EsamSettings>
pub fn get_esam(&self) -> &Option<EsamSettings>
Settings for Event Signaling And Messaging (ESAM). If you don’t do ad insertion, you can ignore these settings.
sourcepub fn extended_data_services(self, input: ExtendedDataServices) -> Self
pub fn extended_data_services(self, input: ExtendedDataServices) -> Self
If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.
sourcepub fn set_extended_data_services(
self,
input: Option<ExtendedDataServices>
) -> Self
pub fn set_extended_data_services( self, input: Option<ExtendedDataServices> ) -> Self
If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.
sourcepub fn get_extended_data_services(&self) -> &Option<ExtendedDataServices>
pub fn get_extended_data_services(&self) -> &Option<ExtendedDataServices>
If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.
sourcepub fn follow_source(self, input: i32) -> Self
pub fn follow_source(self, input: i32) -> Self
Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input’s Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don’t manually specify different output settings for. Enabling this setting will disable “Follow source” for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
sourcepub fn set_follow_source(self, input: Option<i32>) -> Self
pub fn set_follow_source(self, input: Option<i32>) -> Self
Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input’s Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don’t manually specify different output settings for. Enabling this setting will disable “Follow source” for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
sourcepub fn get_follow_source(&self) -> &Option<i32>
pub fn get_follow_source(&self) -> &Option<i32>
Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input’s Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don’t manually specify different output settings for. Enabling this setting will disable “Follow source” for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
sourcepub fn inputs(self, input: InputTemplate) -> Self
pub fn inputs(self, input: InputTemplate) -> Self
Appends an item to inputs
.
To override the contents of this collection use set_inputs
.
Use Inputs to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.
sourcepub fn set_inputs(self, input: Option<Vec<InputTemplate>>) -> Self
pub fn set_inputs(self, input: Option<Vec<InputTemplate>>) -> Self
Use Inputs to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.
sourcepub fn get_inputs(&self) -> &Option<Vec<InputTemplate>>
pub fn get_inputs(&self) -> &Option<Vec<InputTemplate>>
Use Inputs to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.
sourcepub fn kantar_watermark(self, input: KantarWatermarkSettings) -> Self
pub fn kantar_watermark(self, input: KantarWatermarkSettings) -> Self
Use these settings only when you use Kantar watermarking. Specify the values that MediaConvert uses to generate and place Kantar watermarks in your output audio. These settings apply to every output in your job. In addition to specifying these values, you also need to store your Kantar credentials in AWS Secrets Manager. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/kantar-watermarking.html.
sourcepub fn set_kantar_watermark(
self,
input: Option<KantarWatermarkSettings>
) -> Self
pub fn set_kantar_watermark( self, input: Option<KantarWatermarkSettings> ) -> Self
Use these settings only when you use Kantar watermarking. Specify the values that MediaConvert uses to generate and place Kantar watermarks in your output audio. These settings apply to every output in your job. In addition to specifying these values, you also need to store your Kantar credentials in AWS Secrets Manager. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/kantar-watermarking.html.
sourcepub fn get_kantar_watermark(&self) -> &Option<KantarWatermarkSettings>
pub fn get_kantar_watermark(&self) -> &Option<KantarWatermarkSettings>
Use these settings only when you use Kantar watermarking. Specify the values that MediaConvert uses to generate and place Kantar watermarks in your output audio. These settings apply to every output in your job. In addition to specifying these values, you also need to store your Kantar credentials in AWS Secrets Manager. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/kantar-watermarking.html.
sourcepub fn motion_image_inserter(self, input: MotionImageInserter) -> Self
pub fn motion_image_inserter(self, input: MotionImageInserter) -> Self
Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.
sourcepub fn set_motion_image_inserter(
self,
input: Option<MotionImageInserter>
) -> Self
pub fn set_motion_image_inserter( self, input: Option<MotionImageInserter> ) -> Self
Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.
sourcepub fn get_motion_image_inserter(&self) -> &Option<MotionImageInserter>
pub fn get_motion_image_inserter(&self) -> &Option<MotionImageInserter>
Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.
sourcepub fn nielsen_configuration(self, input: NielsenConfiguration) -> Self
pub fn nielsen_configuration(self, input: NielsenConfiguration) -> Self
Settings for your Nielsen configuration. If you don’t do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration, MediaConvert enables PCM to ID3 tagging for all outputs in the job.
sourcepub fn set_nielsen_configuration(
self,
input: Option<NielsenConfiguration>
) -> Self
pub fn set_nielsen_configuration( self, input: Option<NielsenConfiguration> ) -> Self
Settings for your Nielsen configuration. If you don’t do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration, MediaConvert enables PCM to ID3 tagging for all outputs in the job.
sourcepub fn get_nielsen_configuration(&self) -> &Option<NielsenConfiguration>
pub fn get_nielsen_configuration(&self) -> &Option<NielsenConfiguration>
Settings for your Nielsen configuration. If you don’t do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration, MediaConvert enables PCM to ID3 tagging for all outputs in the job.
sourcepub fn nielsen_non_linear_watermark(
self,
input: NielsenNonLinearWatermarkSettings
) -> Self
pub fn nielsen_non_linear_watermark( self, input: NielsenNonLinearWatermarkSettings ) -> Self
Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
sourcepub fn set_nielsen_non_linear_watermark(
self,
input: Option<NielsenNonLinearWatermarkSettings>
) -> Self
pub fn set_nielsen_non_linear_watermark( self, input: Option<NielsenNonLinearWatermarkSettings> ) -> Self
Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
sourcepub fn get_nielsen_non_linear_watermark(
&self
) -> &Option<NielsenNonLinearWatermarkSettings>
pub fn get_nielsen_non_linear_watermark( &self ) -> &Option<NielsenNonLinearWatermarkSettings>
Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
sourcepub fn output_groups(self, input: OutputGroup) -> Self
pub fn output_groups(self, input: OutputGroup) -> Self
Appends an item to output_groups
.
To override the contents of this collection use set_output_groups
.
Contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in is a group of settings that apply to the whole group. This required object depends on the value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
sourcepub fn set_output_groups(self, input: Option<Vec<OutputGroup>>) -> Self
pub fn set_output_groups(self, input: Option<Vec<OutputGroup>>) -> Self
Contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in is a group of settings that apply to the whole group. This required object depends on the value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
sourcepub fn get_output_groups(&self) -> &Option<Vec<OutputGroup>>
pub fn get_output_groups(&self) -> &Option<Vec<OutputGroup>>
Contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in is a group of settings that apply to the whole group. This required object depends on the value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
sourcepub fn timecode_config(self, input: TimecodeConfig) -> Self
pub fn timecode_config(self, input: TimecodeConfig) -> Self
These settings control how the service handles timecodes throughout the job. These settings don’t affect input clipping.
sourcepub fn set_timecode_config(self, input: Option<TimecodeConfig>) -> Self
pub fn set_timecode_config(self, input: Option<TimecodeConfig>) -> Self
These settings control how the service handles timecodes throughout the job. These settings don’t affect input clipping.
sourcepub fn get_timecode_config(&self) -> &Option<TimecodeConfig>
pub fn get_timecode_config(&self) -> &Option<TimecodeConfig>
These settings control how the service handles timecodes throughout the job. These settings don’t affect input clipping.
sourcepub fn timed_metadata_insertion(self, input: TimedMetadataInsertion) -> Self
pub fn timed_metadata_insertion(self, input: TimedMetadataInsertion) -> Self
Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.
sourcepub fn set_timed_metadata_insertion(
self,
input: Option<TimedMetadataInsertion>
) -> Self
pub fn set_timed_metadata_insertion( self, input: Option<TimedMetadataInsertion> ) -> Self
Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.
sourcepub fn get_timed_metadata_insertion(&self) -> &Option<TimedMetadataInsertion>
pub fn get_timed_metadata_insertion(&self) -> &Option<TimedMetadataInsertion>
Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.
sourcepub fn build(self) -> JobTemplateSettings
pub fn build(self) -> JobTemplateSettings
Consumes the builder and constructs a JobTemplateSettings
.
Trait Implementations§
source§impl Clone for JobTemplateSettingsBuilder
impl Clone for JobTemplateSettingsBuilder
source§fn clone(&self) -> JobTemplateSettingsBuilder
fn clone(&self) -> JobTemplateSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobTemplateSettingsBuilder
impl Debug for JobTemplateSettingsBuilder
source§impl Default for JobTemplateSettingsBuilder
impl Default for JobTemplateSettingsBuilder
source§fn default() -> JobTemplateSettingsBuilder
fn default() -> JobTemplateSettingsBuilder
source§impl PartialEq for JobTemplateSettingsBuilder
impl PartialEq for JobTemplateSettingsBuilder
source§fn eq(&self, other: &JobTemplateSettingsBuilder) -> bool
fn eq(&self, other: &JobTemplateSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobTemplateSettingsBuilder
Auto Trait Implementations§
impl Freeze for JobTemplateSettingsBuilder
impl RefUnwindSafe for JobTemplateSettingsBuilder
impl Send for JobTemplateSettingsBuilder
impl Sync for JobTemplateSettingsBuilder
impl Unpin for JobTemplateSettingsBuilder
impl UnwindSafe for JobTemplateSettingsBuilder
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