Struct aws_sdk_elastictranscoder::types::JobWatermark
source · #[non_exhaustive]pub struct JobWatermark {
pub preset_watermark_id: Option<String>,
pub input_key: Option<String>,
pub encryption: Option<Encryption>,
}
Expand description
Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.
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.preset_watermark_id: Option<String>
The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.
input_key: Option<String>
The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline
; the Input Bucket
object in that pipeline identifies the bucket.
If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.
encryption: Option<Encryption>
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
Implementations§
source§impl JobWatermark
impl JobWatermark
sourcepub fn preset_watermark_id(&self) -> Option<&str>
pub fn preset_watermark_id(&self) -> Option<&str>
The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.
sourcepub fn input_key(&self) -> Option<&str>
pub fn input_key(&self) -> Option<&str>
The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline
; the Input Bucket
object in that pipeline identifies the bucket.
If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.
sourcepub fn encryption(&self) -> Option<&Encryption>
pub fn encryption(&self) -> Option<&Encryption>
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
source§impl JobWatermark
impl JobWatermark
sourcepub fn builder() -> JobWatermarkBuilder
pub fn builder() -> JobWatermarkBuilder
Creates a new builder-style object to manufacture JobWatermark
.
Trait Implementations§
source§impl Clone for JobWatermark
impl Clone for JobWatermark
source§fn clone(&self) -> JobWatermark
fn clone(&self) -> JobWatermark
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobWatermark
impl Debug for JobWatermark
source§impl PartialEq for JobWatermark
impl PartialEq for JobWatermark
source§fn eq(&self, other: &JobWatermark) -> bool
fn eq(&self, other: &JobWatermark) -> bool
self
and other
values to be equal, and is used
by ==
.