All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mediaconvert.model.HlsGroupSettings Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Elemental MediaConvert module holds the client classes that are used for communicating with AWS Elemental MediaConvert Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2013-2018 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;

/**
 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to HLS_GROUP_SETTINGS.
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class HlsGroupSettings implements Serializable, Cloneable, StructuredPojo {

    /** Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. */
    private java.util.List adMarkers;
    /**
     * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest
     * is delivered from a different URL than the main .m3u8 file.
     */
    private String baseUrl;
    /** Language to be used on Caption outputs */
    private java.util.List captionLanguageMappings;

    private String captionLanguageSetting;

    private String clientCache;

    private String codecSpecification;
    /**
     * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts
     * format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the
     * input file. If your job has multiple inputs, the service uses the filename of the first input file.
     */
    private String destination;

    private String directoryStructure;
    /** DRM settings. */
    private HlsEncryptionSettings encryption;

    private String manifestCompression;

    private String manifestDurationFormat;
    /**
     * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby
     * avail and extending the segment size if needed.
     */
    private Integer minSegmentLength;

    private String outputSelection;

    private String programDateTime;
    /** Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. */
    private Integer programDateTimePeriod;

    private String segmentControl;
    /**
     * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next
     * keyframe after this number of seconds, so actual segment length may be longer.
     */
    private Integer segmentLength;
    /**
     * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be
     * SINGLE_DIRECTORY for this setting to have an effect.
     */
    private Integer segmentsPerSubdirectory;

    private String streamInfResolution;

    private String timedMetadataId3Frame;
    /** Timed Metadata interval in seconds. */
    private Integer timedMetadataId3Period;
    /** Provides an extra millisecond delta offset to fine tune the timestamps. */
    private Integer timestampDeltaMilliseconds;

    /**
     * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
     * 
     * @return Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
     * @see HlsAdMarkers
     */

    public java.util.List getAdMarkers() {
        return adMarkers;
    }

    /**
     * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
     * 
     * @param adMarkers
     *        Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
     * @see HlsAdMarkers
     */

    public void setAdMarkers(java.util.Collection adMarkers) {
        if (adMarkers == null) {
            this.adMarkers = null;
            return;
        }

        this.adMarkers = new java.util.ArrayList(adMarkers);
    }

    /**
     * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
     * 

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdMarkers(java.util.Collection)} or {@link #withAdMarkers(java.util.Collection)} if you want to * override the existing values. *

* * @param adMarkers * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. * @return Returns a reference to this object so that method calls can be chained together. * @see HlsAdMarkers */ public HlsGroupSettings withAdMarkers(String... adMarkers) { if (this.adMarkers == null) { setAdMarkers(new java.util.ArrayList(adMarkers.length)); } for (String ele : adMarkers) { this.adMarkers.add(ele); } return this; } /** * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. * * @param adMarkers * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. * @return Returns a reference to this object so that method calls can be chained together. * @see HlsAdMarkers */ public HlsGroupSettings withAdMarkers(java.util.Collection adMarkers) { setAdMarkers(adMarkers); return this; } /** * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. * * @param adMarkers * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs. * @return Returns a reference to this object so that method calls can be chained together. * @see HlsAdMarkers */ public HlsGroupSettings withAdMarkers(HlsAdMarkers... adMarkers) { java.util.ArrayList adMarkersCopy = new java.util.ArrayList(adMarkers.length); for (HlsAdMarkers value : adMarkers) { adMarkersCopy.add(value.toString()); } if (getAdMarkers() == null) { setAdMarkers(adMarkersCopy); } else { getAdMarkers().addAll(adMarkersCopy); } return this; } /** * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest * is delivered from a different URL than the main .m3u8 file. * * @param baseUrl * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base * manifest is delivered from a different URL than the main .m3u8 file. */ public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } /** * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest * is delivered from a different URL than the main .m3u8 file. * * @return A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base * manifest is delivered from a different URL than the main .m3u8 file. */ public String getBaseUrl() { return this.baseUrl; } /** * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest * is delivered from a different URL than the main .m3u8 file. * * @param baseUrl * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base * manifest is delivered from a different URL than the main .m3u8 file. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withBaseUrl(String baseUrl) { setBaseUrl(baseUrl); return this; } /** * Language to be used on Caption outputs * * @return Language to be used on Caption outputs */ public java.util.List getCaptionLanguageMappings() { return captionLanguageMappings; } /** * Language to be used on Caption outputs * * @param captionLanguageMappings * Language to be used on Caption outputs */ public void setCaptionLanguageMappings(java.util.Collection captionLanguageMappings) { if (captionLanguageMappings == null) { this.captionLanguageMappings = null; return; } this.captionLanguageMappings = new java.util.ArrayList(captionLanguageMappings); } /** * Language to be used on Caption outputs *

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setCaptionLanguageMappings(java.util.Collection)} or * {@link #withCaptionLanguageMappings(java.util.Collection)} if you want to override the existing values. *

* * @param captionLanguageMappings * Language to be used on Caption outputs * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withCaptionLanguageMappings(HlsCaptionLanguageMapping... captionLanguageMappings) { if (this.captionLanguageMappings == null) { setCaptionLanguageMappings(new java.util.ArrayList(captionLanguageMappings.length)); } for (HlsCaptionLanguageMapping ele : captionLanguageMappings) { this.captionLanguageMappings.add(ele); } return this; } /** * Language to be used on Caption outputs * * @param captionLanguageMappings * Language to be used on Caption outputs * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withCaptionLanguageMappings(java.util.Collection captionLanguageMappings) { setCaptionLanguageMappings(captionLanguageMappings); return this; } /** * @param captionLanguageSetting * @see HlsCaptionLanguageSetting */ public void setCaptionLanguageSetting(String captionLanguageSetting) { this.captionLanguageSetting = captionLanguageSetting; } /** * @return * @see HlsCaptionLanguageSetting */ public String getCaptionLanguageSetting() { return this.captionLanguageSetting; } /** * @param captionLanguageSetting * @return Returns a reference to this object so that method calls can be chained together. * @see HlsCaptionLanguageSetting */ public HlsGroupSettings withCaptionLanguageSetting(String captionLanguageSetting) { setCaptionLanguageSetting(captionLanguageSetting); return this; } /** * @param captionLanguageSetting * @return Returns a reference to this object so that method calls can be chained together. * @see HlsCaptionLanguageSetting */ public HlsGroupSettings withCaptionLanguageSetting(HlsCaptionLanguageSetting captionLanguageSetting) { this.captionLanguageSetting = captionLanguageSetting.toString(); return this; } /** * @param clientCache * @see HlsClientCache */ public void setClientCache(String clientCache) { this.clientCache = clientCache; } /** * @return * @see HlsClientCache */ public String getClientCache() { return this.clientCache; } /** * @param clientCache * @return Returns a reference to this object so that method calls can be chained together. * @see HlsClientCache */ public HlsGroupSettings withClientCache(String clientCache) { setClientCache(clientCache); return this; } /** * @param clientCache * @return Returns a reference to this object so that method calls can be chained together. * @see HlsClientCache */ public HlsGroupSettings withClientCache(HlsClientCache clientCache) { this.clientCache = clientCache.toString(); return this; } /** * @param codecSpecification * @see HlsCodecSpecification */ public void setCodecSpecification(String codecSpecification) { this.codecSpecification = codecSpecification; } /** * @return * @see HlsCodecSpecification */ public String getCodecSpecification() { return this.codecSpecification; } /** * @param codecSpecification * @return Returns a reference to this object so that method calls can be chained together. * @see HlsCodecSpecification */ public HlsGroupSettings withCodecSpecification(String codecSpecification) { setCodecSpecification(codecSpecification); return this; } /** * @param codecSpecification * @return Returns a reference to this object so that method calls can be chained together. * @see HlsCodecSpecification */ public HlsGroupSettings withCodecSpecification(HlsCodecSpecification codecSpecification) { this.codecSpecification = codecSpecification.toString(); return this; } /** * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts * format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the * input file. If your job has multiple inputs, the service uses the filename of the first input file. * * @param destination * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination * accepts format identifiers. If you do not specify the base filename in the URI, the service will use the * filename of the input file. If your job has multiple inputs, the service uses the filename of the first * input file. */ public void setDestination(String destination) { this.destination = destination; } /** * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts * format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the * input file. If your job has multiple inputs, the service uses the filename of the first input file. * * @return Use Destination (Destination) to specify the S3 output location and the output filename base. Destination * accepts format identifiers. If you do not specify the base filename in the URI, the service will use the * filename of the input file. If your job has multiple inputs, the service uses the filename of the first * input file. */ public String getDestination() { return this.destination; } /** * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts * format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the * input file. If your job has multiple inputs, the service uses the filename of the first input file. * * @param destination * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination * accepts format identifiers. If you do not specify the base filename in the URI, the service will use the * filename of the input file. If your job has multiple inputs, the service uses the filename of the first * input file. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withDestination(String destination) { setDestination(destination); return this; } /** * @param directoryStructure * @see HlsDirectoryStructure */ public void setDirectoryStructure(String directoryStructure) { this.directoryStructure = directoryStructure; } /** * @return * @see HlsDirectoryStructure */ public String getDirectoryStructure() { return this.directoryStructure; } /** * @param directoryStructure * @return Returns a reference to this object so that method calls can be chained together. * @see HlsDirectoryStructure */ public HlsGroupSettings withDirectoryStructure(String directoryStructure) { setDirectoryStructure(directoryStructure); return this; } /** * @param directoryStructure * @return Returns a reference to this object so that method calls can be chained together. * @see HlsDirectoryStructure */ public HlsGroupSettings withDirectoryStructure(HlsDirectoryStructure directoryStructure) { this.directoryStructure = directoryStructure.toString(); return this; } /** * DRM settings. * * @param encryption * DRM settings. */ public void setEncryption(HlsEncryptionSettings encryption) { this.encryption = encryption; } /** * DRM settings. * * @return DRM settings. */ public HlsEncryptionSettings getEncryption() { return this.encryption; } /** * DRM settings. * * @param encryption * DRM settings. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withEncryption(HlsEncryptionSettings encryption) { setEncryption(encryption); return this; } /** * @param manifestCompression * @see HlsManifestCompression */ public void setManifestCompression(String manifestCompression) { this.manifestCompression = manifestCompression; } /** * @return * @see HlsManifestCompression */ public String getManifestCompression() { return this.manifestCompression; } /** * @param manifestCompression * @return Returns a reference to this object so that method calls can be chained together. * @see HlsManifestCompression */ public HlsGroupSettings withManifestCompression(String manifestCompression) { setManifestCompression(manifestCompression); return this; } /** * @param manifestCompression * @return Returns a reference to this object so that method calls can be chained together. * @see HlsManifestCompression */ public HlsGroupSettings withManifestCompression(HlsManifestCompression manifestCompression) { this.manifestCompression = manifestCompression.toString(); return this; } /** * @param manifestDurationFormat * @see HlsManifestDurationFormat */ public void setManifestDurationFormat(String manifestDurationFormat) { this.manifestDurationFormat = manifestDurationFormat; } /** * @return * @see HlsManifestDurationFormat */ public String getManifestDurationFormat() { return this.manifestDurationFormat; } /** * @param manifestDurationFormat * @return Returns a reference to this object so that method calls can be chained together. * @see HlsManifestDurationFormat */ public HlsGroupSettings withManifestDurationFormat(String manifestDurationFormat) { setManifestDurationFormat(manifestDurationFormat); return this; } /** * @param manifestDurationFormat * @return Returns a reference to this object so that method calls can be chained together. * @see HlsManifestDurationFormat */ public HlsGroupSettings withManifestDurationFormat(HlsManifestDurationFormat manifestDurationFormat) { this.manifestDurationFormat = manifestDurationFormat.toString(); return this; } /** * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby * avail and extending the segment size if needed. * * @param minSegmentLength * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a * nearby avail and extending the segment size if needed. */ public void setMinSegmentLength(Integer minSegmentLength) { this.minSegmentLength = minSegmentLength; } /** * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby * avail and extending the segment size if needed. * * @return When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a * nearby avail and extending the segment size if needed. */ public Integer getMinSegmentLength() { return this.minSegmentLength; } /** * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby * avail and extending the segment size if needed. * * @param minSegmentLength * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a * nearby avail and extending the segment size if needed. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withMinSegmentLength(Integer minSegmentLength) { setMinSegmentLength(minSegmentLength); return this; } /** * @param outputSelection * @see HlsOutputSelection */ public void setOutputSelection(String outputSelection) { this.outputSelection = outputSelection; } /** * @return * @see HlsOutputSelection */ public String getOutputSelection() { return this.outputSelection; } /** * @param outputSelection * @return Returns a reference to this object so that method calls can be chained together. * @see HlsOutputSelection */ public HlsGroupSettings withOutputSelection(String outputSelection) { setOutputSelection(outputSelection); return this; } /** * @param outputSelection * @return Returns a reference to this object so that method calls can be chained together. * @see HlsOutputSelection */ public HlsGroupSettings withOutputSelection(HlsOutputSelection outputSelection) { this.outputSelection = outputSelection.toString(); return this; } /** * @param programDateTime * @see HlsProgramDateTime */ public void setProgramDateTime(String programDateTime) { this.programDateTime = programDateTime; } /** * @return * @see HlsProgramDateTime */ public String getProgramDateTime() { return this.programDateTime; } /** * @param programDateTime * @return Returns a reference to this object so that method calls can be chained together. * @see HlsProgramDateTime */ public HlsGroupSettings withProgramDateTime(String programDateTime) { setProgramDateTime(programDateTime); return this; } /** * @param programDateTime * @return Returns a reference to this object so that method calls can be chained together. * @see HlsProgramDateTime */ public HlsGroupSettings withProgramDateTime(HlsProgramDateTime programDateTime) { this.programDateTime = programDateTime.toString(); return this; } /** * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. * * @param programDateTimePeriod * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. */ public void setProgramDateTimePeriod(Integer programDateTimePeriod) { this.programDateTimePeriod = programDateTimePeriod; } /** * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. * * @return Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. */ public Integer getProgramDateTimePeriod() { return this.programDateTimePeriod; } /** * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. * * @param programDateTimePeriod * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withProgramDateTimePeriod(Integer programDateTimePeriod) { setProgramDateTimePeriod(programDateTimePeriod); return this; } /** * @param segmentControl * @see HlsSegmentControl */ public void setSegmentControl(String segmentControl) { this.segmentControl = segmentControl; } /** * @return * @see HlsSegmentControl */ public String getSegmentControl() { return this.segmentControl; } /** * @param segmentControl * @return Returns a reference to this object so that method calls can be chained together. * @see HlsSegmentControl */ public HlsGroupSettings withSegmentControl(String segmentControl) { setSegmentControl(segmentControl); return this; } /** * @param segmentControl * @return Returns a reference to this object so that method calls can be chained together. * @see HlsSegmentControl */ public HlsGroupSettings withSegmentControl(HlsSegmentControl segmentControl) { this.segmentControl = segmentControl.toString(); return this; } /** * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next * keyframe after this number of seconds, so actual segment length may be longer. * * @param segmentLength * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next * keyframe after this number of seconds, so actual segment length may be longer. */ public void setSegmentLength(Integer segmentLength) { this.segmentLength = segmentLength; } /** * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next * keyframe after this number of seconds, so actual segment length may be longer. * * @return Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the * next keyframe after this number of seconds, so actual segment length may be longer. */ public Integer getSegmentLength() { return this.segmentLength; } /** * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next * keyframe after this number of seconds, so actual segment length may be longer. * * @param segmentLength * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next * keyframe after this number of seconds, so actual segment length may be longer. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withSegmentLength(Integer segmentLength) { setSegmentLength(segmentLength); return this; } /** * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. * * @param segmentsPerSubdirectory * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. */ public void setSegmentsPerSubdirectory(Integer segmentsPerSubdirectory) { this.segmentsPerSubdirectory = segmentsPerSubdirectory; } /** * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. * * @return Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. */ public Integer getSegmentsPerSubdirectory() { return this.segmentsPerSubdirectory; } /** * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. * * @param segmentsPerSubdirectory * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be * SINGLE_DIRECTORY for this setting to have an effect. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withSegmentsPerSubdirectory(Integer segmentsPerSubdirectory) { setSegmentsPerSubdirectory(segmentsPerSubdirectory); return this; } /** * @param streamInfResolution * @see HlsStreamInfResolution */ public void setStreamInfResolution(String streamInfResolution) { this.streamInfResolution = streamInfResolution; } /** * @return * @see HlsStreamInfResolution */ public String getStreamInfResolution() { return this.streamInfResolution; } /** * @param streamInfResolution * @return Returns a reference to this object so that method calls can be chained together. * @see HlsStreamInfResolution */ public HlsGroupSettings withStreamInfResolution(String streamInfResolution) { setStreamInfResolution(streamInfResolution); return this; } /** * @param streamInfResolution * @return Returns a reference to this object so that method calls can be chained together. * @see HlsStreamInfResolution */ public HlsGroupSettings withStreamInfResolution(HlsStreamInfResolution streamInfResolution) { this.streamInfResolution = streamInfResolution.toString(); return this; } /** * @param timedMetadataId3Frame * @see HlsTimedMetadataId3Frame */ public void setTimedMetadataId3Frame(String timedMetadataId3Frame) { this.timedMetadataId3Frame = timedMetadataId3Frame; } /** * @return * @see HlsTimedMetadataId3Frame */ public String getTimedMetadataId3Frame() { return this.timedMetadataId3Frame; } /** * @param timedMetadataId3Frame * @return Returns a reference to this object so that method calls can be chained together. * @see HlsTimedMetadataId3Frame */ public HlsGroupSettings withTimedMetadataId3Frame(String timedMetadataId3Frame) { setTimedMetadataId3Frame(timedMetadataId3Frame); return this; } /** * @param timedMetadataId3Frame * @return Returns a reference to this object so that method calls can be chained together. * @see HlsTimedMetadataId3Frame */ public HlsGroupSettings withTimedMetadataId3Frame(HlsTimedMetadataId3Frame timedMetadataId3Frame) { this.timedMetadataId3Frame = timedMetadataId3Frame.toString(); return this; } /** * Timed Metadata interval in seconds. * * @param timedMetadataId3Period * Timed Metadata interval in seconds. */ public void setTimedMetadataId3Period(Integer timedMetadataId3Period) { this.timedMetadataId3Period = timedMetadataId3Period; } /** * Timed Metadata interval in seconds. * * @return Timed Metadata interval in seconds. */ public Integer getTimedMetadataId3Period() { return this.timedMetadataId3Period; } /** * Timed Metadata interval in seconds. * * @param timedMetadataId3Period * Timed Metadata interval in seconds. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withTimedMetadataId3Period(Integer timedMetadataId3Period) { setTimedMetadataId3Period(timedMetadataId3Period); return this; } /** * Provides an extra millisecond delta offset to fine tune the timestamps. * * @param timestampDeltaMilliseconds * Provides an extra millisecond delta offset to fine tune the timestamps. */ public void setTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds) { this.timestampDeltaMilliseconds = timestampDeltaMilliseconds; } /** * Provides an extra millisecond delta offset to fine tune the timestamps. * * @return Provides an extra millisecond delta offset to fine tune the timestamps. */ public Integer getTimestampDeltaMilliseconds() { return this.timestampDeltaMilliseconds; } /** * Provides an extra millisecond delta offset to fine tune the timestamps. * * @param timestampDeltaMilliseconds * Provides an extra millisecond delta offset to fine tune the timestamps. * @return Returns a reference to this object so that method calls can be chained together. */ public HlsGroupSettings withTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds) { setTimestampDeltaMilliseconds(timestampDeltaMilliseconds); return this; } /** * Returns a string representation of this object; useful for testing and debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAdMarkers() != null) sb.append("AdMarkers: ").append(getAdMarkers()).append(","); if (getBaseUrl() != null) sb.append("BaseUrl: ").append(getBaseUrl()).append(","); if (getCaptionLanguageMappings() != null) sb.append("CaptionLanguageMappings: ").append(getCaptionLanguageMappings()).append(","); if (getCaptionLanguageSetting() != null) sb.append("CaptionLanguageSetting: ").append(getCaptionLanguageSetting()).append(","); if (getClientCache() != null) sb.append("ClientCache: ").append(getClientCache()).append(","); if (getCodecSpecification() != null) sb.append("CodecSpecification: ").append(getCodecSpecification()).append(","); if (getDestination() != null) sb.append("Destination: ").append(getDestination()).append(","); if (getDirectoryStructure() != null) sb.append("DirectoryStructure: ").append(getDirectoryStructure()).append(","); if (getEncryption() != null) sb.append("Encryption: ").append(getEncryption()).append(","); if (getManifestCompression() != null) sb.append("ManifestCompression: ").append(getManifestCompression()).append(","); if (getManifestDurationFormat() != null) sb.append("ManifestDurationFormat: ").append(getManifestDurationFormat()).append(","); if (getMinSegmentLength() != null) sb.append("MinSegmentLength: ").append(getMinSegmentLength()).append(","); if (getOutputSelection() != null) sb.append("OutputSelection: ").append(getOutputSelection()).append(","); if (getProgramDateTime() != null) sb.append("ProgramDateTime: ").append(getProgramDateTime()).append(","); if (getProgramDateTimePeriod() != null) sb.append("ProgramDateTimePeriod: ").append(getProgramDateTimePeriod()).append(","); if (getSegmentControl() != null) sb.append("SegmentControl: ").append(getSegmentControl()).append(","); if (getSegmentLength() != null) sb.append("SegmentLength: ").append(getSegmentLength()).append(","); if (getSegmentsPerSubdirectory() != null) sb.append("SegmentsPerSubdirectory: ").append(getSegmentsPerSubdirectory()).append(","); if (getStreamInfResolution() != null) sb.append("StreamInfResolution: ").append(getStreamInfResolution()).append(","); if (getTimedMetadataId3Frame() != null) sb.append("TimedMetadataId3Frame: ").append(getTimedMetadataId3Frame()).append(","); if (getTimedMetadataId3Period() != null) sb.append("TimedMetadataId3Period: ").append(getTimedMetadataId3Period()).append(","); if (getTimestampDeltaMilliseconds() != null) sb.append("TimestampDeltaMilliseconds: ").append(getTimestampDeltaMilliseconds()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof HlsGroupSettings == false) return false; HlsGroupSettings other = (HlsGroupSettings) obj; if (other.getAdMarkers() == null ^ this.getAdMarkers() == null) return false; if (other.getAdMarkers() != null && other.getAdMarkers().equals(this.getAdMarkers()) == false) return false; if (other.getBaseUrl() == null ^ this.getBaseUrl() == null) return false; if (other.getBaseUrl() != null && other.getBaseUrl().equals(this.getBaseUrl()) == false) return false; if (other.getCaptionLanguageMappings() == null ^ this.getCaptionLanguageMappings() == null) return false; if (other.getCaptionLanguageMappings() != null && other.getCaptionLanguageMappings().equals(this.getCaptionLanguageMappings()) == false) return false; if (other.getCaptionLanguageSetting() == null ^ this.getCaptionLanguageSetting() == null) return false; if (other.getCaptionLanguageSetting() != null && other.getCaptionLanguageSetting().equals(this.getCaptionLanguageSetting()) == false) return false; if (other.getClientCache() == null ^ this.getClientCache() == null) return false; if (other.getClientCache() != null && other.getClientCache().equals(this.getClientCache()) == false) return false; if (other.getCodecSpecification() == null ^ this.getCodecSpecification() == null) return false; if (other.getCodecSpecification() != null && other.getCodecSpecification().equals(this.getCodecSpecification()) == false) return false; if (other.getDestination() == null ^ this.getDestination() == null) return false; if (other.getDestination() != null && other.getDestination().equals(this.getDestination()) == false) return false; if (other.getDirectoryStructure() == null ^ this.getDirectoryStructure() == null) return false; if (other.getDirectoryStructure() != null && other.getDirectoryStructure().equals(this.getDirectoryStructure()) == false) return false; if (other.getEncryption() == null ^ this.getEncryption() == null) return false; if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false) return false; if (other.getManifestCompression() == null ^ this.getManifestCompression() == null) return false; if (other.getManifestCompression() != null && other.getManifestCompression().equals(this.getManifestCompression()) == false) return false; if (other.getManifestDurationFormat() == null ^ this.getManifestDurationFormat() == null) return false; if (other.getManifestDurationFormat() != null && other.getManifestDurationFormat().equals(this.getManifestDurationFormat()) == false) return false; if (other.getMinSegmentLength() == null ^ this.getMinSegmentLength() == null) return false; if (other.getMinSegmentLength() != null && other.getMinSegmentLength().equals(this.getMinSegmentLength()) == false) return false; if (other.getOutputSelection() == null ^ this.getOutputSelection() == null) return false; if (other.getOutputSelection() != null && other.getOutputSelection().equals(this.getOutputSelection()) == false) return false; if (other.getProgramDateTime() == null ^ this.getProgramDateTime() == null) return false; if (other.getProgramDateTime() != null && other.getProgramDateTime().equals(this.getProgramDateTime()) == false) return false; if (other.getProgramDateTimePeriod() == null ^ this.getProgramDateTimePeriod() == null) return false; if (other.getProgramDateTimePeriod() != null && other.getProgramDateTimePeriod().equals(this.getProgramDateTimePeriod()) == false) return false; if (other.getSegmentControl() == null ^ this.getSegmentControl() == null) return false; if (other.getSegmentControl() != null && other.getSegmentControl().equals(this.getSegmentControl()) == false) return false; if (other.getSegmentLength() == null ^ this.getSegmentLength() == null) return false; if (other.getSegmentLength() != null && other.getSegmentLength().equals(this.getSegmentLength()) == false) return false; if (other.getSegmentsPerSubdirectory() == null ^ this.getSegmentsPerSubdirectory() == null) return false; if (other.getSegmentsPerSubdirectory() != null && other.getSegmentsPerSubdirectory().equals(this.getSegmentsPerSubdirectory()) == false) return false; if (other.getStreamInfResolution() == null ^ this.getStreamInfResolution() == null) return false; if (other.getStreamInfResolution() != null && other.getStreamInfResolution().equals(this.getStreamInfResolution()) == false) return false; if (other.getTimedMetadataId3Frame() == null ^ this.getTimedMetadataId3Frame() == null) return false; if (other.getTimedMetadataId3Frame() != null && other.getTimedMetadataId3Frame().equals(this.getTimedMetadataId3Frame()) == false) return false; if (other.getTimedMetadataId3Period() == null ^ this.getTimedMetadataId3Period() == null) return false; if (other.getTimedMetadataId3Period() != null && other.getTimedMetadataId3Period().equals(this.getTimedMetadataId3Period()) == false) return false; if (other.getTimestampDeltaMilliseconds() == null ^ this.getTimestampDeltaMilliseconds() == null) return false; if (other.getTimestampDeltaMilliseconds() != null && other.getTimestampDeltaMilliseconds().equals(this.getTimestampDeltaMilliseconds()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAdMarkers() == null) ? 0 : getAdMarkers().hashCode()); hashCode = prime * hashCode + ((getBaseUrl() == null) ? 0 : getBaseUrl().hashCode()); hashCode = prime * hashCode + ((getCaptionLanguageMappings() == null) ? 0 : getCaptionLanguageMappings().hashCode()); hashCode = prime * hashCode + ((getCaptionLanguageSetting() == null) ? 0 : getCaptionLanguageSetting().hashCode()); hashCode = prime * hashCode + ((getClientCache() == null) ? 0 : getClientCache().hashCode()); hashCode = prime * hashCode + ((getCodecSpecification() == null) ? 0 : getCodecSpecification().hashCode()); hashCode = prime * hashCode + ((getDestination() == null) ? 0 : getDestination().hashCode()); hashCode = prime * hashCode + ((getDirectoryStructure() == null) ? 0 : getDirectoryStructure().hashCode()); hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode()); hashCode = prime * hashCode + ((getManifestCompression() == null) ? 0 : getManifestCompression().hashCode()); hashCode = prime * hashCode + ((getManifestDurationFormat() == null) ? 0 : getManifestDurationFormat().hashCode()); hashCode = prime * hashCode + ((getMinSegmentLength() == null) ? 0 : getMinSegmentLength().hashCode()); hashCode = prime * hashCode + ((getOutputSelection() == null) ? 0 : getOutputSelection().hashCode()); hashCode = prime * hashCode + ((getProgramDateTime() == null) ? 0 : getProgramDateTime().hashCode()); hashCode = prime * hashCode + ((getProgramDateTimePeriod() == null) ? 0 : getProgramDateTimePeriod().hashCode()); hashCode = prime * hashCode + ((getSegmentControl() == null) ? 0 : getSegmentControl().hashCode()); hashCode = prime * hashCode + ((getSegmentLength() == null) ? 0 : getSegmentLength().hashCode()); hashCode = prime * hashCode + ((getSegmentsPerSubdirectory() == null) ? 0 : getSegmentsPerSubdirectory().hashCode()); hashCode = prime * hashCode + ((getStreamInfResolution() == null) ? 0 : getStreamInfResolution().hashCode()); hashCode = prime * hashCode + ((getTimedMetadataId3Frame() == null) ? 0 : getTimedMetadataId3Frame().hashCode()); hashCode = prime * hashCode + ((getTimedMetadataId3Period() == null) ? 0 : getTimedMetadataId3Period().hashCode()); hashCode = prime * hashCode + ((getTimestampDeltaMilliseconds() == null) ? 0 : getTimestampDeltaMilliseconds().hashCode()); return hashCode; } @Override public HlsGroupSettings clone() { try { return (HlsGroupSettings) 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.HlsGroupSettingsMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy