#[non_exhaustive]pub struct JobWatermarkBuilder { /* private fields */ }
Expand description
A builder for JobWatermark
.
Implementations§
source§impl JobWatermarkBuilder
impl JobWatermarkBuilder
sourcepub fn preset_watermark_id(self, input: impl Into<String>) -> Self
pub fn preset_watermark_id(self, input: impl Into<String>) -> Self
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 set_preset_watermark_id(self, input: Option<String>) -> Self
pub fn set_preset_watermark_id(self, input: Option<String>) -> Self
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 get_preset_watermark_id(&self) -> &Option<String>
pub fn get_preset_watermark_id(&self) -> &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.
sourcepub fn input_key(self, input: impl Into<String>) -> Self
pub fn input_key(self, input: impl Into<String>) -> Self
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 set_input_key(self, input: Option<String>) -> Self
pub fn set_input_key(self, input: Option<String>) -> Self
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 get_input_key(&self) -> &Option<String>
pub fn get_input_key(&self) -> &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.
sourcepub fn encryption(self, input: Encryption) -> Self
pub fn encryption(self, input: Encryption) -> Self
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
sourcepub fn set_encryption(self, input: Option<Encryption>) -> Self
pub fn set_encryption(self, input: Option<Encryption>) -> Self
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
sourcepub fn get_encryption(&self) -> &Option<Encryption>
pub fn get_encryption(&self) -> &Option<Encryption>
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
sourcepub fn build(self) -> JobWatermark
pub fn build(self) -> JobWatermark
Consumes the builder and constructs a JobWatermark
.
Trait Implementations§
source§impl Clone for JobWatermarkBuilder
impl Clone for JobWatermarkBuilder
source§fn clone(&self) -> JobWatermarkBuilder
fn clone(&self) -> JobWatermarkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobWatermarkBuilder
impl Debug for JobWatermarkBuilder
source§impl Default for JobWatermarkBuilder
impl Default for JobWatermarkBuilder
source§fn default() -> JobWatermarkBuilder
fn default() -> JobWatermarkBuilder
source§impl PartialEq for JobWatermarkBuilder
impl PartialEq for JobWatermarkBuilder
impl StructuralPartialEq for JobWatermarkBuilder
Auto Trait Implementations§
impl Freeze for JobWatermarkBuilder
impl RefUnwindSafe for JobWatermarkBuilder
impl Send for JobWatermarkBuilder
impl Sync for JobWatermarkBuilder
impl Unpin for JobWatermarkBuilder
impl UnwindSafe for JobWatermarkBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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