Struct aws_sdk_elastictranscoder::model::JobWatermark [−][src]
#[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
Creates a new builder-style object to manufacture JobWatermark
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more