@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefetchConsumption extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.
Constructor and Description |
---|
PrefetchConsumption() |
Modifier and Type | Method and Description |
---|---|
PrefetchConsumption |
clone() |
boolean |
equals(Object obj) |
List<AvailMatchingCriteria> |
getAvailMatchingCriteria()
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as
scte.event_id , set the avail matching criteria. |
Date |
getEndTime()
The time when MediaTailor no longer considers the prefetched ads for use in an ad break.
|
Date |
getStartTime()
The time when prefetched ads are considered for use in an ad break.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as
scte.event_id , set the avail matching criteria. |
void |
setEndTime(Date endTime)
The time when MediaTailor no longer considers the prefetched ads for use in an ad break.
|
void |
setStartTime(Date startTime)
The time when prefetched ads are considered for use in an ad break.
|
String |
toString()
Returns a string representation of this object.
|
PrefetchConsumption |
withAvailMatchingCriteria(AvailMatchingCriteria... availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as
scte.event_id , set the avail matching criteria. |
PrefetchConsumption |
withAvailMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as
scte.event_id , set the avail matching criteria. |
PrefetchConsumption |
withEndTime(Date endTime)
The time when MediaTailor no longer considers the prefetched ads for use in an ad break.
|
PrefetchConsumption |
withStartTime(Date startTime)
The time when prefetched ads are considered for use in an ad break.
|
public List<AvailMatchingCriteria> getAvailMatchingCriteria()
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.
scte.event_id
, set the avail matching criteria.public void setAvailMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.
availMatchingCriteria
- If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.public PrefetchConsumption withAvailMatchingCriteria(AvailMatchingCriteria... availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.
NOTE: This method appends the values to the existing list (if any). Use
setAvailMatchingCriteria(java.util.Collection)
or
withAvailMatchingCriteria(java.util.Collection)
if you want to override the existing values.
availMatchingCriteria
- If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.public PrefetchConsumption withAvailMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria)
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.
availMatchingCriteria
- If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic
variables, such as scte.event_id
, set the avail matching criteria.public void setEndTime(Date endTime)
The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor
automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually
delete the prefetch schedule, you can call DeletePrefetchSchedule
.
endTime
- The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor
automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to
manually delete the prefetch schedule, you can call DeletePrefetchSchedule
.public Date getEndTime()
The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor
automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually
delete the prefetch schedule, you can call DeletePrefetchSchedule
.
DeletePrefetchSchedule
.public PrefetchConsumption withEndTime(Date endTime)
The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor
automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually
delete the prefetch schedule, you can call DeletePrefetchSchedule
.
endTime
- The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor
automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to
manually delete the prefetch schedule, you can call DeletePrefetchSchedule
.public void setStartTime(Date startTime)
The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime
,
the prefetched ads are available after MediaTailor retrives them from the ad decision server.
startTime
- The time when prefetched ads are considered for use in an ad break. If you don't specify
StartTime
, the prefetched ads are available after MediaTailor retrives them from the ad
decision server.public Date getStartTime()
The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime
,
the prefetched ads are available after MediaTailor retrives them from the ad decision server.
StartTime
, the prefetched ads are available after MediaTailor retrives them from the ad
decision server.public PrefetchConsumption withStartTime(Date startTime)
The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime
,
the prefetched ads are available after MediaTailor retrives them from the ad decision server.
startTime
- The time when prefetched ads are considered for use in an ad break. If you don't specify
StartTime
, the prefetched ads are available after MediaTailor retrives them from the ad
decision server.public String toString()
toString
in class Object
Object.toString()
public PrefetchConsumption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.