@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LivePreRollConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for pre-roll ad insertion.
Constructor and Description |
---|
LivePreRollConfiguration() |
Modifier and Type | Method and Description |
---|---|
LivePreRollConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAdDecisionServerUrl()
The URL for the ad decision server (ADS) for pre-roll ads.
|
Integer |
getMaxDurationSeconds()
The maximum allowed duration for the pre-roll ad avail.
|
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) for pre-roll ads.
|
void |
setMaxDurationSeconds(Integer maxDurationSeconds)
The maximum allowed duration for the pre-roll ad avail.
|
String |
toString()
Returns a string representation of this object.
|
LivePreRollConfiguration |
withAdDecisionServerUrl(String adDecisionServerUrl)
The URL for the ad decision server (ADS) for pre-roll ads.
|
LivePreRollConfiguration |
withMaxDurationSeconds(Integer maxDurationSeconds)
The maximum allowed duration for the pre-roll ad avail.
|
public void setAdDecisionServerUrl(String adDecisionServerUrl)
The URL for the ad decision server (ADS) for pre-roll 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) for pre-roll 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) for pre-roll 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 LivePreRollConfiguration withAdDecisionServerUrl(String adDecisionServerUrl)
The URL for the ad decision server (ADS) for pre-roll 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) for pre-roll 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 setMaxDurationSeconds(Integer maxDurationSeconds)
maxDurationSeconds
- The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads
to exceed this duration, regardless of the total duration of ads that the ADS returns.public Integer getMaxDurationSeconds()
public LivePreRollConfiguration withMaxDurationSeconds(Integer maxDurationSeconds)
maxDurationSeconds
- The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads
to exceed this duration, regardless of the total duration of ads that the ADS returns.public String toString()
toString
in class Object
Object.toString()
public LivePreRollConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.