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

com.amazonaws.services.mediatailor.model.PutPlaybackConfigurationResult Maven / Gradle / Ivy

/*
 * 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.mediatailor.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 
 * @see AWS API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class PutPlaybackConfigurationResult 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 * 25000 characters. *

*/ private String adDecisionServerUrl; /** *

* The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment * management. *

*/ private CdnConfiguration cdnConfiguration; /** *

* The configuration for HLS content. *

*/ private HlsConfiguration hlsConfiguration; /** *

* The identifier for the configuration. *

*/ private String name; /** *

* 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; /** *

* 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 * configurations. For VPAID, the slate is required because AWS Elemental 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 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 * 25000 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 25000 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 * 25000 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 25000 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 * 25000 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 25000 characters. * @return Returns a reference to this object so that method calls can be chained together. */ public PutPlaybackConfigurationResult withAdDecisionServerUrl(String adDecisionServerUrl) { setAdDecisionServerUrl(adDecisionServerUrl); 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 PutPlaybackConfigurationResult withCdnConfiguration(CdnConfiguration cdnConfiguration) { setCdnConfiguration(cdnConfiguration); 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 PutPlaybackConfigurationResult withHlsConfiguration(HlsConfiguration hlsConfiguration) { setHlsConfiguration(hlsConfiguration); return this; } /** *

* The identifier for the configuration. *

* * @param name * The identifier for the configuration. */ public void setName(String name) { this.name = name; } /** *

* The identifier for the configuration. *

* * @return The identifier for the configuration. */ public String getName() { return this.name; } /** *

* The identifier for the configuration. *

* * @param name * The identifier for the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public PutPlaybackConfigurationResult withName(String name) { setName(name); 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 PutPlaybackConfigurationResult 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 PutPlaybackConfigurationResult withSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix) { setSessionInitializationEndpointPrefix(sessionInitializationEndpointPrefix); return this; } /** *

* 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 * configurations. For VPAID, the slate is required because AWS Elemental 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 * 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 configurations. For VPAID, the slate is required because AWS Elemental 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; } /** *

* 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 * configurations. For VPAID, the slate is required because AWS Elemental 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 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 configurations. For VPAID, the slate is required because AWS Elemental 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; } /** *

* 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 * configurations. For VPAID, the slate is required because AWS Elemental 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 * 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 configurations. For VPAID, the slate is required because AWS Elemental 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 PutPlaybackConfigurationResult withSlateAdUrl(String slateAdUrl) { setSlateAdUrl(slateAdUrl); 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 PutPlaybackConfigurationResult withVideoContentSourceUrl(String videoContentSourceUrl) { setVideoContentSourceUrl(videoContentSourceUrl); 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 (getAdDecisionServerUrl() != null) sb.append("AdDecisionServerUrl: ").append(getAdDecisionServerUrl()).append(","); if (getCdnConfiguration() != null) sb.append("CdnConfiguration: ").append(getCdnConfiguration()).append(","); if (getHlsConfiguration() != null) sb.append("HlsConfiguration: ").append(getHlsConfiguration()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).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 (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 PutPlaybackConfigurationResult == false) return false; PutPlaybackConfigurationResult other = (PutPlaybackConfigurationResult) obj; if (other.getAdDecisionServerUrl() == null ^ this.getAdDecisionServerUrl() == null) return false; if (other.getAdDecisionServerUrl() != null && other.getAdDecisionServerUrl().equals(this.getAdDecisionServerUrl()) == 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.getHlsConfiguration() == null ^ this.getHlsConfiguration() == null) return false; if (other.getHlsConfiguration() != null && other.getHlsConfiguration().equals(this.getHlsConfiguration()) == 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.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.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 + ((getCdnConfiguration() == null) ? 0 : getCdnConfiguration().hashCode()); hashCode = prime * hashCode + ((getHlsConfiguration() == null) ? 0 : getHlsConfiguration().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().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 + ((getVideoContentSourceUrl() == null) ? 0 : getVideoContentSourceUrl().hashCode()); return hashCode; } @Override public PutPlaybackConfigurationResult clone() { try { return (PutPlaybackConfigurationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy