@Generated(value="software.amazon.awssdk:codegen") public final class JobWatermark extends Object implements StructuredPojo, ToCopyableBuilder<JobWatermark.Builder,JobWatermark>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
JobWatermark.Builder |
Modifier and Type | Method and Description |
---|---|
static JobWatermark.Builder |
builder() |
Encryption |
encryption()
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputKey()
The name of the .png or .jpg file that you want to use for the watermark.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
presetWatermarkId()
The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding.
|
static Class<? extends JobWatermark.Builder> |
serializableBuilderClass() |
JobWatermark.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String presetWatermarkId()
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.
public String inputKey()
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.
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.
public Encryption encryption()
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
public JobWatermark.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<JobWatermark.Builder,JobWatermark>
public static JobWatermark.Builder builder()
public static Class<? extends JobWatermark.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.