Struct aws_sdk_elastictranscoder::model::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
sourceimpl 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.
sourceimpl JobWatermark
impl JobWatermark
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobWatermark
.
Trait Implementations
sourceimpl Clone for JobWatermark
impl Clone for JobWatermark
sourcefn clone(&self) -> JobWatermark
fn clone(&self) -> JobWatermark
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobWatermark
impl Debug for JobWatermark
sourceimpl PartialEq<JobWatermark> for JobWatermark
impl PartialEq<JobWatermark> for JobWatermark
sourcefn eq(&self, other: &JobWatermark) -> bool
fn eq(&self, other: &JobWatermark) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobWatermark) -> bool
fn ne(&self, other: &JobWatermark) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobWatermark
Auto Trait Implementations
impl RefUnwindSafe for JobWatermark
impl Send for JobWatermark
impl Sync for JobWatermark
impl Unpin for JobWatermark
impl UnwindSafe for JobWatermark
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more