@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlaybackConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The AWSMediaTailor configuration.
Constructor and Description |
---|
PlaybackConfiguration() |
Modifier and Type | Method and Description |
---|---|
PlaybackConfiguration |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PlaybackConfiguration |
clearTagsEntries()
Removes all the entries added into Tags.
|
PlaybackConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAdDecisionServerUrl()
The URL for the ad decision server (ADS).
|
AvailSuppression |
getAvailSuppression()
The configuration for Avail Suppression.
|
Bumper |
getBumper()
The configuration for bumpers.
|
CdnConfiguration |
getCdnConfiguration()
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
management.
|
DashConfiguration |
getDashConfiguration()
The configuration for DASH content.
|
HlsConfiguration |
getHlsConfiguration()
The configuration for HLS content.
|
String |
getName()
The identifier for the playback configuration.
|
Integer |
getPersonalizationThresholdSeconds()
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
|
String |
getPlaybackConfigurationArn()
The Amazon Resource Name (ARN) for the playback configuration.
|
String |
getPlaybackEndpointPrefix()
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
|
String |
getSessionInitializationEndpointPrefix()
The URL that the player uses to initialize a session that uses client-side reporting.
|
String |
getSlateAdUrl()
The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads.
|
Map<String,String> |
getTags()
The tags assigned to the playback configuration.
|
String |
getTranscodeProfileName()
The name that is used to associate this playback configuration with a custom transcode profile.
|
String |
getVideoContentSourceUrl()
The URL prefix for the master playlist for the stream, minus the asset ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdDecisionServerUrl(String adDecisionServerUrl)
The URL for the ad decision server (ADS).
|
void |
setAvailSuppression(AvailSuppression availSuppression)
The configuration for Avail Suppression.
|
void |
setBumper(Bumper bumper)
The configuration for bumpers.
|
void |
setCdnConfiguration(CdnConfiguration cdnConfiguration)
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
management.
|
void |
setDashConfiguration(DashConfiguration dashConfiguration)
The configuration for DASH content.
|
void |
setHlsConfiguration(HlsConfiguration hlsConfiguration)
The configuration for HLS content.
|
void |
setName(String name)
The identifier for the playback configuration.
|
void |
setPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds)
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
|
void |
setPlaybackConfigurationArn(String playbackConfigurationArn)
The Amazon Resource Name (ARN) for the playback configuration.
|
void |
setPlaybackEndpointPrefix(String playbackEndpointPrefix)
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
|
void |
setSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix)
The URL that the player uses to initialize a session that uses client-side reporting.
|
void |
setSlateAdUrl(String slateAdUrl)
The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the playback configuration.
|
void |
setTranscodeProfileName(String transcodeProfileName)
The name that is used to associate this playback configuration with a custom transcode profile.
|
void |
setVideoContentSourceUrl(String videoContentSourceUrl)
The URL prefix for the master playlist for the stream, minus the asset ID.
|
String |
toString()
Returns a string representation of this object.
|
PlaybackConfiguration |
withAdDecisionServerUrl(String adDecisionServerUrl)
The URL for the ad decision server (ADS).
|
PlaybackConfiguration |
withAvailSuppression(AvailSuppression availSuppression)
The configuration for Avail Suppression.
|
PlaybackConfiguration |
withBumper(Bumper bumper)
The configuration for bumpers.
|
PlaybackConfiguration |
withCdnConfiguration(CdnConfiguration cdnConfiguration)
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment
management.
|
PlaybackConfiguration |
withDashConfiguration(DashConfiguration dashConfiguration)
The configuration for DASH content.
|
PlaybackConfiguration |
withHlsConfiguration(HlsConfiguration hlsConfiguration)
The configuration for HLS content.
|
PlaybackConfiguration |
withName(String name)
The identifier for the playback configuration.
|
PlaybackConfiguration |
withPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds)
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
|
PlaybackConfiguration |
withPlaybackConfigurationArn(String playbackConfigurationArn)
The Amazon Resource Name (ARN) for the playback configuration.
|
PlaybackConfiguration |
withPlaybackEndpointPrefix(String playbackEndpointPrefix)
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
|
PlaybackConfiguration |
withSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix)
The URL that the player uses to initialize a session that uses client-side reporting.
|
PlaybackConfiguration |
withSlateAdUrl(String slateAdUrl)
The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads.
|
PlaybackConfiguration |
withTags(Map<String,String> tags)
The tags assigned to the playback configuration.
|
PlaybackConfiguration |
withTranscodeProfileName(String transcodeProfileName)
The name that is used to associate this playback configuration with a custom transcode profile.
|
PlaybackConfiguration |
withVideoContentSourceUrl(String videoContentSourceUrl)
The URL prefix for the master playlist for the stream, minus the asset ID.
|
public void setAdDecisionServerUrl(String 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.
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 String getAdDecisionServerUrl()
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 PlaybackConfiguration withAdDecisionServerUrl(String 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.
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 setAvailSuppression(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.
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 AvailSuppression getAvailSuppression()
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 PlaybackConfiguration withAvailSuppression(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.
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 setBumper(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.
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 Bumper getBumper()
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 PlaybackConfiguration withBumper(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.
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 setCdnConfiguration(CdnConfiguration cdnConfiguration)
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
cdnConfiguration
- The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad
segment management.public CdnConfiguration getCdnConfiguration()
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
public PlaybackConfiguration withCdnConfiguration(CdnConfiguration cdnConfiguration)
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
cdnConfiguration
- The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad
segment management.public void setDashConfiguration(DashConfiguration dashConfiguration)
The configuration for DASH content.
dashConfiguration
- The configuration for DASH content.public DashConfiguration getDashConfiguration()
The configuration for DASH content.
public PlaybackConfiguration withDashConfiguration(DashConfiguration dashConfiguration)
The configuration for DASH content.
dashConfiguration
- The configuration for DASH content.public void setHlsConfiguration(HlsConfiguration hlsConfiguration)
The configuration for HLS content.
hlsConfiguration
- The configuration for HLS content.public HlsConfiguration getHlsConfiguration()
The configuration for HLS content.
public PlaybackConfiguration withHlsConfiguration(HlsConfiguration hlsConfiguration)
The configuration for HLS content.
hlsConfiguration
- The configuration for HLS content.public void setName(String name)
The identifier for the playback configuration.
name
- The identifier for the playback configuration.public String getName()
The identifier for the playback configuration.
public PlaybackConfiguration withName(String name)
The identifier for the playback configuration.
name
- The identifier for the playback configuration.public void setPlaybackConfigurationArn(String playbackConfigurationArn)
The Amazon Resource Name (ARN) for the playback configuration.
playbackConfigurationArn
- The Amazon Resource Name (ARN) for the playback configuration.public String getPlaybackConfigurationArn()
The Amazon Resource Name (ARN) for the playback configuration.
public PlaybackConfiguration withPlaybackConfigurationArn(String playbackConfigurationArn)
The Amazon Resource Name (ARN) for the playback configuration.
playbackConfigurationArn
- The Amazon Resource Name (ARN) for the playback configuration.public void setPlaybackEndpointPrefix(String playbackEndpointPrefix)
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
playbackEndpointPrefix
- The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
server-side reporting.public String getPlaybackEndpointPrefix()
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
public PlaybackConfiguration withPlaybackEndpointPrefix(String playbackEndpointPrefix)
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
playbackEndpointPrefix
- The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use
server-side reporting.public void setSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix)
The URL that the player uses to initialize a session that uses client-side reporting.
sessionInitializationEndpointPrefix
- The URL that the player uses to initialize a session that uses client-side reporting.public String getSessionInitializationEndpointPrefix()
The URL that the player uses to initialize a session that uses client-side reporting.
public PlaybackConfiguration withSessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix)
The URL that the player uses to initialize a session that uses client-side reporting.
sessionInitializationEndpointPrefix
- The URL that the player uses to initialize a session that uses client-side reporting.public void setSlateAdUrl(String 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.
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 String getSlateAdUrl()
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 PlaybackConfiguration withSlateAdUrl(String 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.
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 Map<String,String> getTags()
The tags assigned to the playback configuration.
public void setTags(Map<String,String> tags)
The tags assigned to the playback configuration.
tags
- The tags assigned to the playback configuration.public PlaybackConfiguration withTags(Map<String,String> tags)
The tags assigned to the playback configuration.
tags
- The tags assigned to the playback configuration.public PlaybackConfiguration addTagsEntry(String key, String value)
public PlaybackConfiguration clearTagsEntries()
public void setTranscodeProfileName(String 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.
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 String getTranscodeProfileName()
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 PlaybackConfiguration withTranscodeProfileName(String 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.
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 setPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds)
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
personalizationThresholdSeconds
- The maximum duration of underfilled ad time (in seconds) allowed in an ad break.public Integer getPersonalizationThresholdSeconds()
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
public PlaybackConfiguration withPersonalizationThresholdSeconds(Integer personalizationThresholdSeconds)
The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
personalizationThresholdSeconds
- The maximum duration of underfilled ad time (in seconds) allowed in an ad break.public void setVideoContentSourceUrl(String videoContentSourceUrl)
The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
videoContentSourceUrl
- The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512
characters.public String getVideoContentSourceUrl()
The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
public PlaybackConfiguration withVideoContentSourceUrl(String videoContentSourceUrl)
The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
videoContentSourceUrl
- The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512
characters.public String toString()
toString
in class Object
Object.toString()
public PlaybackConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.