com.amazonaws.services.mediaconvert.model.VideoSelector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-mediaconvert Show documentation
Show all versions of aws-java-sdk-mediaconvert Show documentation
The AWS Java SDK for AWS Elemental MediaConvert module holds the client classes that are used for communicating with AWS Elemental MediaConvert Service
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.mediaconvert.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* Input video selectors contain the video settings for the input. Each of your inputs can have up to one video
* selector.
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class VideoSelector implements Serializable, Cloneable, StructuredPojo {
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create
* separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this
* setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA
* to delete the video and map the alpha channel to the luma channel of your outputs.
*/
private String alphaBehavior;
/**
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the default
* value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata
* indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input
* video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video
* stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input
* HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert uses the
* following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients:
* HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020 non-constant P3DCI (Theater): DCIP3,
* SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR): Display P3, PQ, BT.709
*/
private String colorSpace;
/**
* There are two sources for color metadata, the input file and the job input settings Color space and HDR master
* display information settings. The Color space usage setting determines which takes precedence. Choose Force to
* use color metadata from the input job settings. If you don't specify values for those settings, the service
* defaults to using metadata from your input. FALLBACK - Choose Fallback to use color metadata from the source when
* it is present. If there's no color metadata in your input file, the service defaults to using values you specify
* in the input settings.
*/
private String colorSpaceUsage;
/**
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified
* Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded
* timecode override blank, or set to None, when your input does not contain MDPM timecode.
*/
private String embeddedTimecodeOverride;
/**
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate
* values vary depending on the input video and must be provided by a color grader. The color grader generates these
* values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each
* increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you
* must also set Color space to HDR 10. To specify whether the the values you specify here take precedence over the
* values in the metadata of your input file, set Color space usage. To specify whether color metadata is included in
* an output, set Color metadata. For more information about MediaConvert HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr.
*/
private Hdr10Metadata hdr10Metadata;
/**
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001 nits.
* For example, enter 10000000 for 1000 nits.
*/
private Integer maxLuminance;
/**
* Use this setting if your input has video and audio durations that don't align, and your output or player has
* strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before
* audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that output video and
* audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the
* default behavior and not generate black video, set Pad video to Disabled or leave blank.
*/
private String padVideo;
/**
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*/
private Integer pid;
/**
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently
* supported.
*/
private Integer programNumber;
/**
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is
* .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video
* according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270
* degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By
* default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass
* through rotation metadata.
*/
private String rotate;
/**
* If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
* default value, Follow, for this setting. When you do, the service automatically detects your input sample range.
* If your input video has metadata indicating the wrong sample range, specify the accurate sample range here. When
* you do, MediaConvert ignores any sample range information in the input metadata. Regardless of whether
* MediaConvert uses the input sample range or the sample range that you specify, MediaConvert uses the sample range
* for transcoding and also writes it to the output metadata.
*/
private String sampleRange;
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create
* separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this
* setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA
* to delete the video and map the alpha channel to the luma channel of your outputs.
*
* @param alphaBehavior
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
* create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
* Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
* to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.
* @see AlphaBehavior
*/
public void setAlphaBehavior(String alphaBehavior) {
this.alphaBehavior = alphaBehavior;
}
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create
* separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this
* setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA
* to delete the video and map the alpha channel to the luma channel of your outputs.
*
* @return Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
* create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
* Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set
* it to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.
* @see AlphaBehavior
*/
public String getAlphaBehavior() {
return this.alphaBehavior;
}
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create
* separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this
* setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA
* to delete the video and map the alpha channel to the luma channel of your outputs.
*
* @param alphaBehavior
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
* create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
* Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
* to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AlphaBehavior
*/
public VideoSelector withAlphaBehavior(String alphaBehavior) {
setAlphaBehavior(alphaBehavior);
return this;
}
/**
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create
* separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this
* setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA
* to delete the video and map the alpha channel to the luma channel of your outputs.
*
* @param alphaBehavior
* Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
* create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
* Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
* to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AlphaBehavior
*/
public VideoSelector withAlphaBehavior(AlphaBehavior alphaBehavior) {
this.alphaBehavior = alphaBehavior.toString();
return this;
}
/**
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the default
* value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata
* indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input
* video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video
* stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input
* HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert uses the
* following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients:
* HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020 non-constant P3DCI (Theater): DCIP3,
* SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR): Display P3, PQ, BT.709
*
* @param colorSpace
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the
* default value, Follow. MediaConvert will automatically detect your input color space. If your input video
* has metadata indicating the wrong color space, or has missing metadata: Specify the accurate color space
* here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata
* isn't present in your video stream, or if that metadata is present but not accurate: Choose Force HDR 10.
* Specify correct values in the input HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert
* uses the following color space metadata, which includes color primaries, transfer characteristics, and
* matrix coefficients: HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020
* non-constant P3DCI (Theater): DCIP3, SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR):
* Display P3, PQ, BT.709
* @see ColorSpace
*/
public void setColorSpace(String colorSpace) {
this.colorSpace = colorSpace;
}
/**
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the default
* value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata
* indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input
* video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video
* stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input
* HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert uses the
* following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients:
* HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020 non-constant P3DCI (Theater): DCIP3,
* SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR): Display P3, PQ, BT.709
*
* @return If your input video has accurate color space metadata, or if you don't know about color space: Keep the
* default value, Follow. MediaConvert will automatically detect your input color space. If your input video
* has metadata indicating the wrong color space, or has missing metadata: Specify the accurate color space
* here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata
* isn't present in your video stream, or if that metadata is present but not accurate: Choose Force HDR 10.
* Specify correct values in the input HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert
* uses the following color space metadata, which includes color primaries, transfer characteristics, and
* matrix coefficients: HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020
* non-constant P3DCI (Theater): DCIP3, SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65
* (HDR): Display P3, PQ, BT.709
* @see ColorSpace
*/
public String getColorSpace() {
return this.colorSpace;
}
/**
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the default
* value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata
* indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input
* video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video
* stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input
* HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert uses the
* following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients:
* HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020 non-constant P3DCI (Theater): DCIP3,
* SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR): Display P3, PQ, BT.709
*
* @param colorSpace
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the
* default value, Follow. MediaConvert will automatically detect your input color space. If your input video
* has metadata indicating the wrong color space, or has missing metadata: Specify the accurate color space
* here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata
* isn't present in your video stream, or if that metadata is present but not accurate: Choose Force HDR 10.
* Specify correct values in the input HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert
* uses the following color space metadata, which includes color primaries, transfer characteristics, and
* matrix coefficients: HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020
* non-constant P3DCI (Theater): DCIP3, SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR):
* Display P3, PQ, BT.709
* @return Returns a reference to this object so that method calls can be chained together.
* @see ColorSpace
*/
public VideoSelector withColorSpace(String colorSpace) {
setColorSpace(colorSpace);
return this;
}
/**
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the default
* value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata
* indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input
* video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video
* stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input
* HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert uses the
* following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients:
* HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020 non-constant P3DCI (Theater): DCIP3,
* SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR): Display P3, PQ, BT.709
*
* @param colorSpace
* If your input video has accurate color space metadata, or if you don't know about color space: Keep the
* default value, Follow. MediaConvert will automatically detect your input color space. If your input video
* has metadata indicating the wrong color space, or has missing metadata: Specify the accurate color space
* here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata
* isn't present in your video stream, or if that metadata is present but not accurate: Choose Force HDR 10.
* Specify correct values in the input HDR 10 metadata settings. For more information about HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input color space, MediaConvert
* uses the following color space metadata, which includes color primaries, transfer characteristics, and
* matrix coefficients: HDR 10: BT.2020, PQ, BT.2020 non-constant HLG 2020: BT.2020, HLG, BT.2020
* non-constant P3DCI (Theater): DCIP3, SMPTE 428M, BT.709 P3D65 (SDR): Display P3, sRGB, BT.709 P3D65 (HDR):
* Display P3, PQ, BT.709
* @return Returns a reference to this object so that method calls can be chained together.
* @see ColorSpace
*/
public VideoSelector withColorSpace(ColorSpace colorSpace) {
this.colorSpace = colorSpace.toString();
return this;
}
/**
* There are two sources for color metadata, the input file and the job input settings Color space and HDR master
* display information settings. The Color space usage setting determines which takes precedence. Choose Force to
* use color metadata from the input job settings. If you don't specify values for those settings, the service
* defaults to using metadata from your input. FALLBACK - Choose Fallback to use color metadata from the source when
* it is present. If there's no color metadata in your input file, the service defaults to using values you specify
* in the input settings.
*
* @param colorSpaceUsage
* There are two sources for color metadata, the input file and the job input settings Color space and HDR
* master display information settings. The Color space usage setting determines which takes precedence.
* Choose Force to use color metadata from the input job settings. If you don't specify values for those
* settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback to use color
* metadata from the source when it is present. If there's no color metadata in your input file, the service
* defaults to using values you specify in the input settings.
* @see ColorSpaceUsage
*/
public void setColorSpaceUsage(String colorSpaceUsage) {
this.colorSpaceUsage = colorSpaceUsage;
}
/**
* There are two sources for color metadata, the input file and the job input settings Color space and HDR master
* display information settings. The Color space usage setting determines which takes precedence. Choose Force to
* use color metadata from the input job settings. If you don't specify values for those settings, the service
* defaults to using metadata from your input. FALLBACK - Choose Fallback to use color metadata from the source when
* it is present. If there's no color metadata in your input file, the service defaults to using values you specify
* in the input settings.
*
* @return There are two sources for color metadata, the input file and the job input settings Color space and HDR
* master display information settings. The Color space usage setting determines which takes precedence.
* Choose Force to use color metadata from the input job settings. If you don't specify values for those
* settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback to use color
* metadata from the source when it is present. If there's no color metadata in your input file, the service
* defaults to using values you specify in the input settings.
* @see ColorSpaceUsage
*/
public String getColorSpaceUsage() {
return this.colorSpaceUsage;
}
/**
* There are two sources for color metadata, the input file and the job input settings Color space and HDR master
* display information settings. The Color space usage setting determines which takes precedence. Choose Force to
* use color metadata from the input job settings. If you don't specify values for those settings, the service
* defaults to using metadata from your input. FALLBACK - Choose Fallback to use color metadata from the source when
* it is present. If there's no color metadata in your input file, the service defaults to using values you specify
* in the input settings.
*
* @param colorSpaceUsage
* There are two sources for color metadata, the input file and the job input settings Color space and HDR
* master display information settings. The Color space usage setting determines which takes precedence.
* Choose Force to use color metadata from the input job settings. If you don't specify values for those
* settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback to use color
* metadata from the source when it is present. If there's no color metadata in your input file, the service
* defaults to using values you specify in the input settings.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ColorSpaceUsage
*/
public VideoSelector withColorSpaceUsage(String colorSpaceUsage) {
setColorSpaceUsage(colorSpaceUsage);
return this;
}
/**
* There are two sources for color metadata, the input file and the job input settings Color space and HDR master
* display information settings. The Color space usage setting determines which takes precedence. Choose Force to
* use color metadata from the input job settings. If you don't specify values for those settings, the service
* defaults to using metadata from your input. FALLBACK - Choose Fallback to use color metadata from the source when
* it is present. If there's no color metadata in your input file, the service defaults to using values you specify
* in the input settings.
*
* @param colorSpaceUsage
* There are two sources for color metadata, the input file and the job input settings Color space and HDR
* master display information settings. The Color space usage setting determines which takes precedence.
* Choose Force to use color metadata from the input job settings. If you don't specify values for those
* settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback to use color
* metadata from the source when it is present. If there's no color metadata in your input file, the service
* defaults to using values you specify in the input settings.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ColorSpaceUsage
*/
public VideoSelector withColorSpaceUsage(ColorSpaceUsage colorSpaceUsage) {
this.colorSpaceUsage = colorSpaceUsage.toString();
return this;
}
/**
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified
* Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded
* timecode override blank, or set to None, when your input does not contain MDPM timecode.
*
* @param embeddedTimecodeOverride
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the
* Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded.
* Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode.
* @see EmbeddedTimecodeOverride
*/
public void setEmbeddedTimecodeOverride(String embeddedTimecodeOverride) {
this.embeddedTimecodeOverride = embeddedTimecodeOverride;
}
/**
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified
* Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded
* timecode override blank, or set to None, when your input does not contain MDPM timecode.
*
* @return Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the
* Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded.
* Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode.
* @see EmbeddedTimecodeOverride
*/
public String getEmbeddedTimecodeOverride() {
return this.embeddedTimecodeOverride;
}
/**
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified
* Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded
* timecode override blank, or set to None, when your input does not contain MDPM timecode.
*
* @param embeddedTimecodeOverride
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the
* Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded.
* Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode.
* @return Returns a reference to this object so that method calls can be chained together.
* @see EmbeddedTimecodeOverride
*/
public VideoSelector withEmbeddedTimecodeOverride(String embeddedTimecodeOverride) {
setEmbeddedTimecodeOverride(embeddedTimecodeOverride);
return this;
}
/**
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified
* Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded
* timecode override blank, or set to None, when your input does not contain MDPM timecode.
*
* @param embeddedTimecodeOverride
* Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the
* Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded.
* Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode.
* @return Returns a reference to this object so that method calls can be chained together.
* @see EmbeddedTimecodeOverride
*/
public VideoSelector withEmbeddedTimecodeOverride(EmbeddedTimecodeOverride embeddedTimecodeOverride) {
this.embeddedTimecodeOverride = embeddedTimecodeOverride.toString();
return this;
}
/**
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate
* values vary depending on the input video and must be provided by a color grader. The color grader generates these
* values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each
* increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you
* must also set Color space to HDR 10. To specify whether the the values you specify here take precedence over the
* values in the metadata of your input file, set Color space usage. To specify whether color metadata is included in
* an output, set Color metadata. For more information about MediaConvert HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr.
*
* @param hdr10Metadata
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
* Appropriate values vary depending on the input video and must be provided by a color grader. The color
* grader generates these values during the HDR 10 mastering process. The valid range for each of these
* settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings -
* When you specify these values, you must also set Color space to HDR 10. To specify whether the the values
* you specify here take precedence over the values in the metadata of your input file, set Color space
* usage. To specify whether color metadata is included in an output, set Color metadata. For more
* information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
*/
public void setHdr10Metadata(Hdr10Metadata hdr10Metadata) {
this.hdr10Metadata = hdr10Metadata;
}
/**
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate
* values vary depending on the input video and must be provided by a color grader. The color grader generates these
* values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each
* increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you
* must also set Color space to HDR 10. To specify whether the the values you specify here take precedence over the
* values in the metadata of your input file, set Color space usage. To specify whether color metadata is included in
* an output, set Color metadata. For more information about MediaConvert HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr.
*
* @return Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
* Appropriate values vary depending on the input video and must be provided by a color grader. The color
* grader generates these values during the HDR 10 mastering process. The valid range for each of these
* settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings
* - When you specify these values, you must also set Color space to HDR 10. To specify whether the the
* values you specify here take precedence over the values in the metadata of your input file, set Color
* space usage. To specify whether color metadata is included in an output, set Color metadata. For more
* information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
*/
public Hdr10Metadata getHdr10Metadata() {
return this.hdr10Metadata;
}
/**
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate
* values vary depending on the input video and must be provided by a color grader. The color grader generates these
* values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each
* increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you
* must also set Color space to HDR 10. To specify whether the the values you specify here take precedence over the
* values in the metadata of your input file, set Color space usage. To specify whether color metadata is included in
* an output, set Color metadata. For more information about MediaConvert HDR jobs, see
* https://docs.aws.amazon.com/console/mediaconvert/hdr.
*
* @param hdr10Metadata
* Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
* Appropriate values vary depending on the input video and must be provided by a color grader. The color
* grader generates these values during the HDR 10 mastering process. The valid range for each of these
* settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings -
* When you specify these values, you must also set Color space to HDR 10. To specify whether the the values
* you specify here take precedence over the values in the metadata of your input file, set Color space
* usage. To specify whether color metadata is included in an output, set Color metadata. For more
* information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public VideoSelector withHdr10Metadata(Hdr10Metadata hdr10Metadata) {
setHdr10Metadata(hdr10Metadata);
return this;
}
/**
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001 nits.
* For example, enter 10000000 for 1000 nits.
*
* @param maxLuminance
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001
* nits. For example, enter 10000000 for 1000 nits.
*/
public void setMaxLuminance(Integer maxLuminance) {
this.maxLuminance = maxLuminance;
}
/**
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001 nits.
* For example, enter 10000000 for 1000 nits.
*
* @return Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of
* 0.0001 nits. For example, enter 10000000 for 1000 nits.
*/
public Integer getMaxLuminance() {
return this.maxLuminance;
}
/**
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001 nits.
* For example, enter 10000000 for 1000 nits.
*
* @param maxLuminance
* Specify the maximum mastering display luminance. Enter an integer from 0 to 2147483647, in units of 0.0001
* nits. For example, enter 10000000 for 1000 nits.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public VideoSelector withMaxLuminance(Integer maxLuminance) {
setMaxLuminance(maxLuminance);
return this;
}
/**
* Use this setting if your input has video and audio durations that don't align, and your output or player has
* strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before
* audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that output video and
* audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the
* default behavior and not generate black video, set Pad video to Disabled or leave blank.
*
* @param padVideo
* Use this setting if your input has video and audio durations that don't align, and your output or player
* has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
* before audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that
* output video and audio durations match. Black video frames are added at the beginning or end, depending on
* your input. To keep the default behavior and not generate black video, set Pad video to Disabled or leave
* blank.
* @see PadVideo
*/
public void setPadVideo(String padVideo) {
this.padVideo = padVideo;
}
/**
* Use this setting if your input has video and audio durations that don't align, and your output or player has
* strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before
* audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that output video and
* audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the
* default behavior and not generate black video, set Pad video to Disabled or leave blank.
*
* @return Use this setting if your input has video and audio durations that don't align, and your output or player
* has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track
* ends before audio ends. When you set Pad video to Black, MediaConvert generates black video frames so
* that output video and audio durations match. Black video frames are added at the beginning or end,
* depending on your input. To keep the default behavior and not generate black video, set Pad video to
* Disabled or leave blank.
* @see PadVideo
*/
public String getPadVideo() {
return this.padVideo;
}
/**
* Use this setting if your input has video and audio durations that don't align, and your output or player has
* strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before
* audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that output video and
* audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the
* default behavior and not generate black video, set Pad video to Disabled or leave blank.
*
* @param padVideo
* Use this setting if your input has video and audio durations that don't align, and your output or player
* has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
* before audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that
* output video and audio durations match. Black video frames are added at the beginning or end, depending on
* your input. To keep the default behavior and not generate black video, set Pad video to Disabled or leave
* blank.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PadVideo
*/
public VideoSelector withPadVideo(String padVideo) {
setPadVideo(padVideo);
return this;
}
/**
* Use this setting if your input has video and audio durations that don't align, and your output or player has
* strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before
* audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that output video and
* audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the
* default behavior and not generate black video, set Pad video to Disabled or leave blank.
*
* @param padVideo
* Use this setting if your input has video and audio durations that don't align, and your output or player
* has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
* before audio ends. When you set Pad video to Black, MediaConvert generates black video frames so that
* output video and audio durations match. Black video frames are added at the beginning or end, depending on
* your input. To keep the default behavior and not generate black video, set Pad video to Disabled or leave
* blank.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PadVideo
*/
public VideoSelector withPadVideo(PadVideo padVideo) {
this.padVideo = padVideo.toString();
return this;
}
/**
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*
* @param pid
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*/
public void setPid(Integer pid) {
this.pid = pid;
}
/**
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*
* @return Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*/
public Integer getPid() {
return this.pid;
}
/**
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
*
* @param pid
* Use PID to select specific video data from an input file. Specify this value as an integer; the system
* automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet
* identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public VideoSelector withPid(Integer pid) {
setPid(pid);
return this;
}
/**
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently
* supported.
*
* @param programNumber
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not
* currently supported.
*/
public void setProgramNumber(Integer programNumber) {
this.programNumber = programNumber;
}
/**
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently
* supported.
*
* @return Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not
* currently supported.
*/
public Integer getProgramNumber() {
return this.programNumber;
}
/**
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently
* supported.
*
* @param programNumber
* Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not
* currently supported.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public VideoSelector withProgramNumber(Integer programNumber) {
setProgramNumber(programNumber);
return this;
}
/**
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is
* .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video
* according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270
* degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By
* default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass
* through rotation metadata.
*
* @param rotate
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video
* container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
* service rotate your video according to the rotation specified in the metadata. The rotation must be within
* one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
* will default to no rotation. By default, the service does no rotation, even if your input video has
* rotation metadata. The service doesn't pass through rotation metadata.
* @see InputRotate
*/
public void setRotate(String rotate) {
this.rotate = rotate;
}
/**
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is
* .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video
* according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270
* degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By
* default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass
* through rotation metadata.
*
* @return Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video
* container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
* service rotate your video according to the rotation specified in the metadata. The rotation must be
* within one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the
* service will default to no rotation. By default, the service does no rotation, even if your input video
* has rotation metadata. The service doesn't pass through rotation metadata.
* @see InputRotate
*/
public String getRotate() {
return this.rotate;
}
/**
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is
* .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video
* according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270
* degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By
* default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass
* through rotation metadata.
*
* @param rotate
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video
* container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
* service rotate your video according to the rotation specified in the metadata. The rotation must be within
* one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
* will default to no rotation. By default, the service does no rotation, even if your input video has
* rotation metadata. The service doesn't pass through rotation metadata.
* @return Returns a reference to this object so that method calls can be chained together.
* @see InputRotate
*/
public VideoSelector withRotate(String rotate) {
setRotate(rotate);
return this;
}
/**
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is
* .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video
* according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270
* degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By
* default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass
* through rotation metadata.
*
* @param rotate
* Use Rotate to specify how the service rotates your video. You can choose automatic rotation or specify a
* rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video
* container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
* service rotate your video according to the rotation specified in the metadata. The rotation must be within
* one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
* will default to no rotation. By default, the service does no rotation, even if your input video has
* rotation metadata. The service doesn't pass through rotation metadata.
* @return Returns a reference to this object so that method calls can be chained together.
* @see InputRotate
*/
public VideoSelector withRotate(InputRotate rotate) {
this.rotate = rotate.toString();
return this;
}
/**
* If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
* default value, Follow, for this setting. When you do, the service automatically detects your input sample range.
* If your input video has metadata indicating the wrong sample range, specify the accurate sample range here. When
* you do, MediaConvert ignores any sample range information in the input metadata. Regardless of whether
* MediaConvert uses the input sample range or the sample range that you specify, MediaConvert uses the sample range
* for transcoding and also writes it to the output metadata.
*
* @param sampleRange
* If the sample range metadata in your input video is accurate, or if you don't know about sample range,
* keep the default value, Follow, for this setting. When you do, the service automatically detects your
* input sample range. If your input video has metadata indicating the wrong sample range, specify the
* accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
* metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
* specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.
* @see InputSampleRange
*/
public void setSampleRange(String sampleRange) {
this.sampleRange = sampleRange;
}
/**
* If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
* default value, Follow, for this setting. When you do, the service automatically detects your input sample range.
* If your input video has metadata indicating the wrong sample range, specify the accurate sample range here. When
* you do, MediaConvert ignores any sample range information in the input metadata. Regardless of whether
* MediaConvert uses the input sample range or the sample range that you specify, MediaConvert uses the sample range
* for transcoding and also writes it to the output metadata.
*
* @return If the sample range metadata in your input video is accurate, or if you don't know about sample range,
* keep the default value, Follow, for this setting. When you do, the service automatically detects your
* input sample range. If your input video has metadata indicating the wrong sample range, specify the
* accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
* metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
* specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.
* @see InputSampleRange
*/
public String getSampleRange() {
return this.sampleRange;
}
/**
* If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
* default value, Follow, for this setting. When you do, the service automatically detects your input sample range.
* If your input video has metadata indicating the wrong sample range, specify the accurate sample range here. When
* you do, MediaConvert ignores any sample range information in the input metadata. Regardless of whether
* MediaConvert uses the input sample range or the sample range that you specify, MediaConvert uses the sample range
* for transcoding and also writes it to the output metadata.
*
* @param sampleRange
* If the sample range metadata in your input video is accurate, or if you don't know about sample range,
* keep the default value, Follow, for this setting. When you do, the service automatically detects your
* input sample range. If your input video has metadata indicating the wrong sample range, specify the
* accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
* metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
* specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.
* @return Returns a reference to this object so that method calls can be chained together.
* @see InputSampleRange
*/
public VideoSelector withSampleRange(String sampleRange) {
setSampleRange(sampleRange);
return this;
}
/**
* If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
* default value, Follow, for this setting. When you do, the service automatically detects your input sample range.
* If your input video has metadata indicating the wrong sample range, specify the accurate sample range here. When
* you do, MediaConvert ignores any sample range information in the input metadata. Regardless of whether
* MediaConvert uses the input sample range or the sample range that you specify, MediaConvert uses the sample range
* for transcoding and also writes it to the output metadata.
*
* @param sampleRange
* If the sample range metadata in your input video is accurate, or if you don't know about sample range,
* keep the default value, Follow, for this setting. When you do, the service automatically detects your
* input sample range. If your input video has metadata indicating the wrong sample range, specify the
* accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
* metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
* specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.
* @return Returns a reference to this object so that method calls can be chained together.
* @see InputSampleRange
*/
public VideoSelector withSampleRange(InputSampleRange sampleRange) {
this.sampleRange = sampleRange.toString();
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAlphaBehavior() != null)
sb.append("AlphaBehavior: ").append(getAlphaBehavior()).append(",");
if (getColorSpace() != null)
sb.append("ColorSpace: ").append(getColorSpace()).append(",");
if (getColorSpaceUsage() != null)
sb.append("ColorSpaceUsage: ").append(getColorSpaceUsage()).append(",");
if (getEmbeddedTimecodeOverride() != null)
sb.append("EmbeddedTimecodeOverride: ").append(getEmbeddedTimecodeOverride()).append(",");
if (getHdr10Metadata() != null)
sb.append("Hdr10Metadata: ").append(getHdr10Metadata()).append(",");
if (getMaxLuminance() != null)
sb.append("MaxLuminance: ").append(getMaxLuminance()).append(",");
if (getPadVideo() != null)
sb.append("PadVideo: ").append(getPadVideo()).append(",");
if (getPid() != null)
sb.append("Pid: ").append(getPid()).append(",");
if (getProgramNumber() != null)
sb.append("ProgramNumber: ").append(getProgramNumber()).append(",");
if (getRotate() != null)
sb.append("Rotate: ").append(getRotate()).append(",");
if (getSampleRange() != null)
sb.append("SampleRange: ").append(getSampleRange());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof VideoSelector == false)
return false;
VideoSelector other = (VideoSelector) obj;
if (other.getAlphaBehavior() == null ^ this.getAlphaBehavior() == null)
return false;
if (other.getAlphaBehavior() != null && other.getAlphaBehavior().equals(this.getAlphaBehavior()) == false)
return false;
if (other.getColorSpace() == null ^ this.getColorSpace() == null)
return false;
if (other.getColorSpace() != null && other.getColorSpace().equals(this.getColorSpace()) == false)
return false;
if (other.getColorSpaceUsage() == null ^ this.getColorSpaceUsage() == null)
return false;
if (other.getColorSpaceUsage() != null && other.getColorSpaceUsage().equals(this.getColorSpaceUsage()) == false)
return false;
if (other.getEmbeddedTimecodeOverride() == null ^ this.getEmbeddedTimecodeOverride() == null)
return false;
if (other.getEmbeddedTimecodeOverride() != null && other.getEmbeddedTimecodeOverride().equals(this.getEmbeddedTimecodeOverride()) == false)
return false;
if (other.getHdr10Metadata() == null ^ this.getHdr10Metadata() == null)
return false;
if (other.getHdr10Metadata() != null && other.getHdr10Metadata().equals(this.getHdr10Metadata()) == false)
return false;
if (other.getMaxLuminance() == null ^ this.getMaxLuminance() == null)
return false;
if (other.getMaxLuminance() != null && other.getMaxLuminance().equals(this.getMaxLuminance()) == false)
return false;
if (other.getPadVideo() == null ^ this.getPadVideo() == null)
return false;
if (other.getPadVideo() != null && other.getPadVideo().equals(this.getPadVideo()) == false)
return false;
if (other.getPid() == null ^ this.getPid() == null)
return false;
if (other.getPid() != null && other.getPid().equals(this.getPid()) == false)
return false;
if (other.getProgramNumber() == null ^ this.getProgramNumber() == null)
return false;
if (other.getProgramNumber() != null && other.getProgramNumber().equals(this.getProgramNumber()) == false)
return false;
if (other.getRotate() == null ^ this.getRotate() == null)
return false;
if (other.getRotate() != null && other.getRotate().equals(this.getRotate()) == false)
return false;
if (other.getSampleRange() == null ^ this.getSampleRange() == null)
return false;
if (other.getSampleRange() != null && other.getSampleRange().equals(this.getSampleRange()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAlphaBehavior() == null) ? 0 : getAlphaBehavior().hashCode());
hashCode = prime * hashCode + ((getColorSpace() == null) ? 0 : getColorSpace().hashCode());
hashCode = prime * hashCode + ((getColorSpaceUsage() == null) ? 0 : getColorSpaceUsage().hashCode());
hashCode = prime * hashCode + ((getEmbeddedTimecodeOverride() == null) ? 0 : getEmbeddedTimecodeOverride().hashCode());
hashCode = prime * hashCode + ((getHdr10Metadata() == null) ? 0 : getHdr10Metadata().hashCode());
hashCode = prime * hashCode + ((getMaxLuminance() == null) ? 0 : getMaxLuminance().hashCode());
hashCode = prime * hashCode + ((getPadVideo() == null) ? 0 : getPadVideo().hashCode());
hashCode = prime * hashCode + ((getPid() == null) ? 0 : getPid().hashCode());
hashCode = prime * hashCode + ((getProgramNumber() == null) ? 0 : getProgramNumber().hashCode());
hashCode = prime * hashCode + ((getRotate() == null) ? 0 : getRotate().hashCode());
hashCode = prime * hashCode + ((getSampleRange() == null) ? 0 : getSampleRange().hashCode());
return hashCode;
}
@Override
public VideoSelector clone() {
try {
return (VideoSelector) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.mediaconvert.model.transform.VideoSelectorMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}