@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefetchRetrieval extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.
Constructor and Description |
---|
PrefetchRetrieval() |
Modifier and Type | Method and Description |
---|---|
PrefetchRetrieval |
addDynamicVariablesEntry(String key,
String value)
Add a single DynamicVariables entry
|
PrefetchRetrieval |
clearDynamicVariablesEntries()
Removes all the entries added into DynamicVariables.
|
PrefetchRetrieval |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getDynamicVariables()
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
|
Date |
getEndTime()
The time when prefetch retrieval ends for the ad break.
|
Date |
getStartTime()
The time when prefetch retrievals can start for this break.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDynamicVariables(Map<String,String> dynamicVariables)
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
|
void |
setEndTime(Date endTime)
The time when prefetch retrieval ends for the ad break.
|
void |
setStartTime(Date startTime)
The time when prefetch retrievals can start for this break.
|
String |
toString()
Returns a string representation of this object.
|
PrefetchRetrieval |
withDynamicVariables(Map<String,String> dynamicVariables)
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
|
PrefetchRetrieval |
withEndTime(Date endTime)
The time when prefetch retrieval ends for the ad break.
|
PrefetchRetrieval |
withStartTime(Date startTime)
The time when prefetch retrievals can start for this break.
|
public Map<String,String> getDynamicVariables()
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
You initially configure dynamic
variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the request
to the ADS.
You initially configure dynamic variables for the ADS
URL when you set up your playback configuration. When you specify DynamicVariables
for
prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.
public void setDynamicVariables(Map<String,String> dynamicVariables)
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
You initially configure dynamic
variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the request
to the ADS.
dynamicVariables
- The dynamic variables to use for substitution during prefetch requests to the ad decision server
(ADS).
You initially configure dynamic
variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the
request to the ADS.
public PrefetchRetrieval withDynamicVariables(Map<String,String> dynamicVariables)
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
You initially configure dynamic
variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the request
to the ADS.
dynamicVariables
- The dynamic variables to use for substitution during prefetch requests to the ad decision server
(ADS).
You initially configure dynamic
variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the
request to the ADS.
public PrefetchRetrieval addDynamicVariablesEntry(String key, String value)
public PrefetchRetrieval clearDynamicVariablesEntries()
public void setEndTime(Date endTime)
The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
endTime
- The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest
requests that occur at or before this time.public Date getEndTime()
The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
public PrefetchRetrieval withEndTime(Date endTime)
The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
endTime
- The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest
requests that occur at or before this time.public void setStartTime(Date startTime)
The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
startTime
- The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest
requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch
retrieval starts as soon as possible.public Date getStartTime()
The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
public PrefetchRetrieval withStartTime(Date startTime)
The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
startTime
- The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest
requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch
retrieval starts as soon as possible.public String toString()
toString
in class Object
Object.toString()
public PrefetchRetrieval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.