
com.amazonaws.services.mediatailor.model.GetPlaybackConfigurationResult Maven / Gradle / Ivy
/*
* Copyright 2015-2020 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.mediatailor.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetPlaybackConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
/**
*
* The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders
* for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as
* needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is
* 25,000 characters.
*
*/
private String adDecisionServerUrl;
/**
*
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a long
* manifest, or if a viewer joins mid-break.
*
*/
private AvailSuppression availSuppression;
/**
*
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of
* an ad break.
*
*/
private Bumper bumper;
/**
*
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
* management.
*
*/
private CdnConfiguration cdnConfiguration;
/**
*
* The configuration for DASH content.
*
*/
private DashConfiguration dashConfiguration;
/**
*
* The configuration for HLS content.
*
*/
private HlsConfiguration hlsConfiguration;
/**
*
* The configuration for pre-roll ad insertion.
*
*/
private LivePreRollConfiguration livePreRollConfiguration;
/**
*
* The identifier for the playback configuration.
*
*/
private String name;
/**
*
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*
*/
private Integer personalizationThresholdSeconds;
/**
*
* The Amazon Resource Name (ARN) for the playback configuration.
*
*/
private String playbackConfigurationArn;
/**
*
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*
*/
private String playbackEndpointPrefix;
/**
*
* The URL that the player uses to initialize a session that uses client-side reporting.
*
*/
private String sessionInitializationEndpointPrefix;
/**
*
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental
* MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID
* playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated
* for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
*
*/
private String slateAdUrl;
/**
*
* The tags assigned to the playback configuration.
*
*/
private java.util.Map tags;
/**
*
* The name that is used to associate this playback configuration with a custom transcode profile. This overrides
* the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with
* the help of AWS Support.
*
*/
private String transcodeProfileName;
/**
*
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
*
*/
private String videoContentSourceUrl;
/**
*
* The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders
* for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as
* needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is
* 25,000 characters.
*
*
* @param adDecisionServerUrl
* The URL for the ad decision server (ADS). This includes the specification of static parameters and
* placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and
* session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a
* static VAST URL. The maximum length is 25,000 characters.
*/
public void setAdDecisionServerUrl(String adDecisionServerUrl) {
this.adDecisionServerUrl = adDecisionServerUrl;
}
/**
*
* The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders
* for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as
* needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is
* 25,000 characters.
*
*
* @return The URL for the ad decision server (ADS). This includes the specification of static parameters and
* placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and
* session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a
* static VAST URL. The maximum length is 25,000 characters.
*/
public String getAdDecisionServerUrl() {
return this.adDecisionServerUrl;
}
/**
*
* The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders
* for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as
* needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is
* 25,000 characters.
*
*
* @param adDecisionServerUrl
* The URL for the ad decision server (ADS). This includes the specification of static parameters and
* placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and
* session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a
* static VAST URL. The maximum length is 25,000 characters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withAdDecisionServerUrl(String adDecisionServerUrl) {
setAdDecisionServerUrl(adDecisionServerUrl);
return this;
}
/**
*
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a long
* manifest, or if a viewer joins mid-break.
*
*
* @param availSuppression
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a
* long manifest, or if a viewer joins mid-break.
*/
public void setAvailSuppression(AvailSuppression availSuppression) {
this.availSuppression = availSuppression;
}
/**
*
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a long
* manifest, or if a viewer joins mid-break.
*
*
* @return The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a
* long manifest, or if a viewer joins mid-break.
*/
public AvailSuppression getAvailSuppression() {
return this.availSuppression;
}
/**
*
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a long
* manifest, or if a viewer joins mid-break.
*
*
* @param availSuppression
* The configuration for Avail Suppression. Ad suppression can be used to turn off ad personalization in a
* long manifest, or if a viewer joins mid-break.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withAvailSuppression(AvailSuppression availSuppression) {
setAvailSuppression(availSuppression);
return this;
}
/**
*
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of
* an ad break.
*
*
* @param bumper
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the
* end of an ad break.
*/
public void setBumper(Bumper bumper) {
this.bumper = bumper;
}
/**
*
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of
* an ad break.
*
*
* @return The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before
* the end of an ad break.
*/
public Bumper getBumper() {
return this.bumper;
}
/**
*
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of
* an ad break.
*
*
* @param bumper
* The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the
* end of an ad break.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withBumper(Bumper bumper) {
setBumper(bumper);
return this;
}
/**
*
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
* management.
*
*
* @param cdnConfiguration
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad
* segment management.
*/
public void setCdnConfiguration(CdnConfiguration cdnConfiguration) {
this.cdnConfiguration = cdnConfiguration;
}
/**
*
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
* management.
*
*
* @return The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad
* segment management.
*/
public CdnConfiguration getCdnConfiguration() {
return this.cdnConfiguration;
}
/**
*
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
* management.
*
*
* @param cdnConfiguration
* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad
* segment management.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withCdnConfiguration(CdnConfiguration cdnConfiguration) {
setCdnConfiguration(cdnConfiguration);
return this;
}
/**
*
* The configuration for DASH content.
*
*
* @param dashConfiguration
* The configuration for DASH content.
*/
public void setDashConfiguration(DashConfiguration dashConfiguration) {
this.dashConfiguration = dashConfiguration;
}
/**
*
* The configuration for DASH content.
*
*
* @return The configuration for DASH content.
*/
public DashConfiguration getDashConfiguration() {
return this.dashConfiguration;
}
/**
*
* The configuration for DASH content.
*
*
* @param dashConfiguration
* The configuration for DASH content.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withDashConfiguration(DashConfiguration dashConfiguration) {
setDashConfiguration(dashConfiguration);
return this;
}
/**
*
* The configuration for HLS content.
*
*
* @param hlsConfiguration
* The configuration for HLS content.
*/
public void setHlsConfiguration(HlsConfiguration hlsConfiguration) {
this.hlsConfiguration = hlsConfiguration;
}
/**
*
* The configuration for HLS content.
*
*
* @return The configuration for HLS content.
*/
public HlsConfiguration getHlsConfiguration() {
return this.hlsConfiguration;
}
/**
*
* The configuration for HLS content.
*
*
* @param hlsConfiguration
* The configuration for HLS content.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withHlsConfiguration(HlsConfiguration hlsConfiguration) {
setHlsConfiguration(hlsConfiguration);
return this;
}
/**
*
* The configuration for pre-roll ad insertion.
*
*
* @param livePreRollConfiguration
* The configuration for pre-roll ad insertion.
*/
public void setLivePreRollConfiguration(LivePreRollConfiguration livePreRollConfiguration) {
this.livePreRollConfiguration = livePreRollConfiguration;
}
/**
*
* The configuration for pre-roll ad insertion.
*
*
* @return The configuration for pre-roll ad insertion.
*/
public LivePreRollConfiguration getLivePreRollConfiguration() {
return this.livePreRollConfiguration;
}
/**
*
* The configuration for pre-roll ad insertion.
*
*
* @param livePreRollConfiguration
* The configuration for pre-roll ad insertion.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withLivePreRollConfiguration(LivePreRollConfiguration livePreRollConfiguration) {
setLivePreRollConfiguration(livePreRollConfiguration);
return this;
}
/**
*
* The identifier for the playback configuration.
*
*
* @param name
* The identifier for the playback configuration.
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The identifier for the playback configuration.
*
*
* @return The identifier for the playback configuration.
*/
public String getName() {
return this.name;
}
/**
*
* The identifier for the playback configuration.
*
*
* @param name
* The identifier for the playback configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withName(String name) {
setName(name);
return this;
}
/**
*
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*
*
* @param personalizationThresholdSeconds
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*/
public void setPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds) {
this.personalizationThresholdSeconds = personalizationThresholdSeconds;
}
/**
*
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*
*
* @return The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*/
public Integer getPersonalizationThresholdSeconds() {
return this.personalizationThresholdSeconds;
}
/**
*
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
*
*
* @param personalizationThresholdSeconds
* The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds) {
setPersonalizationThresholdSeconds(personalizationThresholdSeconds);
return this;
}
/**
*
* The Amazon Resource Name (ARN) for the playback configuration.
*
*
* @param playbackConfigurationArn
* The Amazon Resource Name (ARN) for the playback configuration.
*/
public void setPlaybackConfigurationArn(String playbackConfigurationArn) {
this.playbackConfigurationArn = playbackConfigurationArn;
}
/**
*
* The Amazon Resource Name (ARN) for the playback configuration.
*
*
* @return The Amazon Resource Name (ARN) for the playback configuration.
*/
public String getPlaybackConfigurationArn() {
return this.playbackConfigurationArn;
}
/**
*
* The Amazon Resource Name (ARN) for the playback configuration.
*
*
* @param playbackConfigurationArn
* The Amazon Resource Name (ARN) for the playback configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withPlaybackConfigurationArn(String playbackConfigurationArn) {
setPlaybackConfigurationArn(playbackConfigurationArn);
return this;
}
/**
*
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*
*
* @param playbackEndpointPrefix
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*/
public void setPlaybackEndpointPrefix(String playbackEndpointPrefix) {
this.playbackEndpointPrefix = playbackEndpointPrefix;
}
/**
*
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*
*
* @return The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*/
public String getPlaybackEndpointPrefix() {
return this.playbackEndpointPrefix;
}
/**
*
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
*
*
* @param playbackEndpointPrefix
* The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
* server-side reporting.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withPlaybackEndpointPrefix(String playbackEndpointPrefix) {
setPlaybackEndpointPrefix(playbackEndpointPrefix);
return this;
}
/**
*
* The URL that the player uses to initialize a session that uses client-side reporting.
*
*
* @param sessionInitializationEndpointPrefix
* The URL that the player uses to initialize a session that uses client-side reporting.
*/
public void setSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix) {
this.sessionInitializationEndpointPrefix = sessionInitializationEndpointPrefix;
}
/**
*
* The URL that the player uses to initialize a session that uses client-side reporting.
*
*
* @return The URL that the player uses to initialize a session that uses client-side reporting.
*/
public String getSessionInitializationEndpointPrefix() {
return this.sessionInitializationEndpointPrefix;
}
/**
*
* The URL that the player uses to initialize a session that uses client-side reporting.
*
*
* @param sessionInitializationEndpointPrefix
* The URL that the player uses to initialize a session that uses client-side reporting.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix) {
setSessionInitializationEndpointPrefix(sessionInitializationEndpointPrefix);
return this;
}
/**
*
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental
* MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID
* playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated
* for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
*
*
* @param slateAdUrl
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS
* Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional
* for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in
* the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both
* audio and video.
*/
public void setSlateAdUrl(String slateAdUrl) {
this.slateAdUrl = slateAdUrl;
}
/**
*
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental
* MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID
* playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated
* for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
*
*
* @return The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS
* Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional
* for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it
* in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both
* audio and video.
*/
public String getSlateAdUrl() {
return this.slateAdUrl;
}
/**
*
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental
* MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID
* playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated
* for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
*
*
* @param slateAdUrl
* The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS
* Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional
* for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in
* the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both
* audio and video.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withSlateAdUrl(String slateAdUrl) {
setSlateAdUrl(slateAdUrl);
return this;
}
/**
*
* The tags assigned to the playback configuration.
*
*
* @return The tags assigned to the playback configuration.
*/
public java.util.Map getTags() {
return tags;
}
/**
*
* The tags assigned to the playback configuration.
*
*
* @param tags
* The tags assigned to the playback configuration.
*/
public void setTags(java.util.Map tags) {
this.tags = tags;
}
/**
*
* The tags assigned to the playback configuration.
*
*
* @param tags
* The tags assigned to the playback configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withTags(java.util.Map tags) {
setTags(tags);
return this;
}
/**
* Add a single Tags entry
*
* @see GetPlaybackConfigurationResult#withTags
* @returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult addTagsEntry(String key, String value) {
if (null == this.tags) {
this.tags = new java.util.HashMap();
}
if (this.tags.containsKey(key))
throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
this.tags.put(key, value);
return this;
}
/**
* Removes all the entries added into Tags.
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult clearTagsEntries() {
this.tags = null;
return this;
}
/**
*
* The name that is used to associate this playback configuration with a custom transcode profile. This overrides
* the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with
* the help of AWS Support.
*
*
* @param transcodeProfileName
* The name that is used to associate this playback configuration with a custom transcode profile. This
* overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom
* profiles with the help of AWS Support.
*/
public void setTranscodeProfileName(String transcodeProfileName) {
this.transcodeProfileName = transcodeProfileName;
}
/**
*
* The name that is used to associate this playback configuration with a custom transcode profile. This overrides
* the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with
* the help of AWS Support.
*
*
* @return The name that is used to associate this playback configuration with a custom transcode profile. This
* overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up
* custom profiles with the help of AWS Support.
*/
public String getTranscodeProfileName() {
return this.transcodeProfileName;
}
/**
*
* The name that is used to associate this playback configuration with a custom transcode profile. This overrides
* the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with
* the help of AWS Support.
*
*
* @param transcodeProfileName
* The name that is used to associate this playback configuration with a custom transcode profile. This
* overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom
* profiles with the help of AWS Support.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withTranscodeProfileName(String transcodeProfileName) {
setTranscodeProfileName(transcodeProfileName);
return this;
}
/**
*
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
*
*
* @param videoContentSourceUrl
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512
* characters.
*/
public void setVideoContentSourceUrl(String videoContentSourceUrl) {
this.videoContentSourceUrl = videoContentSourceUrl;
}
/**
*
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
*
*
* @return The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512
* characters.
*/
public String getVideoContentSourceUrl() {
return this.videoContentSourceUrl;
}
/**
*
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
*
*
* @param videoContentSourceUrl
* The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512
* characters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPlaybackConfigurationResult withVideoContentSourceUrl(String videoContentSourceUrl) {
setVideoContentSourceUrl(videoContentSourceUrl);
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 (getAdDecisionServerUrl() != null)
sb.append("AdDecisionServerUrl: ").append(getAdDecisionServerUrl()).append(",");
if (getAvailSuppression() != null)
sb.append("AvailSuppression: ").append(getAvailSuppression()).append(",");
if (getBumper() != null)
sb.append("Bumper: ").append(getBumper()).append(",");
if (getCdnConfiguration() != null)
sb.append("CdnConfiguration: ").append(getCdnConfiguration()).append(",");
if (getDashConfiguration() != null)
sb.append("DashConfiguration: ").append(getDashConfiguration()).append(",");
if (getHlsConfiguration() != null)
sb.append("HlsConfiguration: ").append(getHlsConfiguration()).append(",");
if (getLivePreRollConfiguration() != null)
sb.append("LivePreRollConfiguration: ").append(getLivePreRollConfiguration()).append(",");
if (getName() != null)
sb.append("Name: ").append(getName()).append(",");
if (getPersonalizationThresholdSeconds() != null)
sb.append("PersonalizationThresholdSeconds: ").append(getPersonalizationThresholdSeconds()).append(",");
if (getPlaybackConfigurationArn() != null)
sb.append("PlaybackConfigurationArn: ").append(getPlaybackConfigurationArn()).append(",");
if (getPlaybackEndpointPrefix() != null)
sb.append("PlaybackEndpointPrefix: ").append(getPlaybackEndpointPrefix()).append(",");
if (getSessionInitializationEndpointPrefix() != null)
sb.append("SessionInitializationEndpointPrefix: ").append(getSessionInitializationEndpointPrefix()).append(",");
if (getSlateAdUrl() != null)
sb.append("SlateAdUrl: ").append(getSlateAdUrl()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getTranscodeProfileName() != null)
sb.append("TranscodeProfileName: ").append(getTranscodeProfileName()).append(",");
if (getVideoContentSourceUrl() != null)
sb.append("VideoContentSourceUrl: ").append(getVideoContentSourceUrl());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof GetPlaybackConfigurationResult == false)
return false;
GetPlaybackConfigurationResult other = (GetPlaybackConfigurationResult) obj;
if (other.getAdDecisionServerUrl() == null ^ this.getAdDecisionServerUrl() == null)
return false;
if (other.getAdDecisionServerUrl() != null && other.getAdDecisionServerUrl().equals(this.getAdDecisionServerUrl()) == false)
return false;
if (other.getAvailSuppression() == null ^ this.getAvailSuppression() == null)
return false;
if (other.getAvailSuppression() != null && other.getAvailSuppression().equals(this.getAvailSuppression()) == false)
return false;
if (other.getBumper() == null ^ this.getBumper() == null)
return false;
if (other.getBumper() != null && other.getBumper().equals(this.getBumper()) == false)
return false;
if (other.getCdnConfiguration() == null ^ this.getCdnConfiguration() == null)
return false;
if (other.getCdnConfiguration() != null && other.getCdnConfiguration().equals(this.getCdnConfiguration()) == false)
return false;
if (other.getDashConfiguration() == null ^ this.getDashConfiguration() == null)
return false;
if (other.getDashConfiguration() != null && other.getDashConfiguration().equals(this.getDashConfiguration()) == false)
return false;
if (other.getHlsConfiguration() == null ^ this.getHlsConfiguration() == null)
return false;
if (other.getHlsConfiguration() != null && other.getHlsConfiguration().equals(this.getHlsConfiguration()) == false)
return false;
if (other.getLivePreRollConfiguration() == null ^ this.getLivePreRollConfiguration() == null)
return false;
if (other.getLivePreRollConfiguration() != null && other.getLivePreRollConfiguration().equals(this.getLivePreRollConfiguration()) == false)
return false;
if (other.getName() == null ^ this.getName() == null)
return false;
if (other.getName() != null && other.getName().equals(this.getName()) == false)
return false;
if (other.getPersonalizationThresholdSeconds() == null ^ this.getPersonalizationThresholdSeconds() == null)
return false;
if (other.getPersonalizationThresholdSeconds() != null
&& other.getPersonalizationThresholdSeconds().equals(this.getPersonalizationThresholdSeconds()) == false)
return false;
if (other.getPlaybackConfigurationArn() == null ^ this.getPlaybackConfigurationArn() == null)
return false;
if (other.getPlaybackConfigurationArn() != null && other.getPlaybackConfigurationArn().equals(this.getPlaybackConfigurationArn()) == false)
return false;
if (other.getPlaybackEndpointPrefix() == null ^ this.getPlaybackEndpointPrefix() == null)
return false;
if (other.getPlaybackEndpointPrefix() != null && other.getPlaybackEndpointPrefix().equals(this.getPlaybackEndpointPrefix()) == false)
return false;
if (other.getSessionInitializationEndpointPrefix() == null ^ this.getSessionInitializationEndpointPrefix() == null)
return false;
if (other.getSessionInitializationEndpointPrefix() != null
&& other.getSessionInitializationEndpointPrefix().equals(this.getSessionInitializationEndpointPrefix()) == false)
return false;
if (other.getSlateAdUrl() == null ^ this.getSlateAdUrl() == null)
return false;
if (other.getSlateAdUrl() != null && other.getSlateAdUrl().equals(this.getSlateAdUrl()) == false)
return false;
if (other.getTags() == null ^ this.getTags() == null)
return false;
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getTranscodeProfileName() == null ^ this.getTranscodeProfileName() == null)
return false;
if (other.getTranscodeProfileName() != null && other.getTranscodeProfileName().equals(this.getTranscodeProfileName()) == false)
return false;
if (other.getVideoContentSourceUrl() == null ^ this.getVideoContentSourceUrl() == null)
return false;
if (other.getVideoContentSourceUrl() != null && other.getVideoContentSourceUrl().equals(this.getVideoContentSourceUrl()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAdDecisionServerUrl() == null) ? 0 : getAdDecisionServerUrl().hashCode());
hashCode = prime * hashCode + ((getAvailSuppression() == null) ? 0 : getAvailSuppression().hashCode());
hashCode = prime * hashCode + ((getBumper() == null) ? 0 : getBumper().hashCode());
hashCode = prime * hashCode + ((getCdnConfiguration() == null) ? 0 : getCdnConfiguration().hashCode());
hashCode = prime * hashCode + ((getDashConfiguration() == null) ? 0 : getDashConfiguration().hashCode());
hashCode = prime * hashCode + ((getHlsConfiguration() == null) ? 0 : getHlsConfiguration().hashCode());
hashCode = prime * hashCode + ((getLivePreRollConfiguration() == null) ? 0 : getLivePreRollConfiguration().hashCode());
hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
hashCode = prime * hashCode + ((getPersonalizationThresholdSeconds() == null) ? 0 : getPersonalizationThresholdSeconds().hashCode());
hashCode = prime * hashCode + ((getPlaybackConfigurationArn() == null) ? 0 : getPlaybackConfigurationArn().hashCode());
hashCode = prime * hashCode + ((getPlaybackEndpointPrefix() == null) ? 0 : getPlaybackEndpointPrefix().hashCode());
hashCode = prime * hashCode + ((getSessionInitializationEndpointPrefix() == null) ? 0 : getSessionInitializationEndpointPrefix().hashCode());
hashCode = prime * hashCode + ((getSlateAdUrl() == null) ? 0 : getSlateAdUrl().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getTranscodeProfileName() == null) ? 0 : getTranscodeProfileName().hashCode());
hashCode = prime * hashCode + ((getVideoContentSourceUrl() == null) ? 0 : getVideoContentSourceUrl().hashCode());
return hashCode;
}
@Override
public GetPlaybackConfigurationResult clone() {
try {
return (GetPlaybackConfigurationResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}