@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefetchSchedule extends Object implements Serializable, Cloneable, StructuredPojo
A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
Constructor and Description |
---|
PrefetchSchedule() |
Modifier and Type | Method and Description |
---|---|
PrefetchSchedule |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the prefetch schedule.
|
PrefetchConsumption |
getConsumption()
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.
|
String |
getName()
The name of the prefetch schedule.
|
String |
getPlaybackConfigurationName()
The name of the playback configuration to create the prefetch schedule for.
|
PrefetchRetrieval |
getRetrieval()
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
|
String |
getStreamId()
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same
playback configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
|
void |
setConsumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.
|
void |
setName(String name)
The name of the prefetch schedule.
|
void |
setPlaybackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
|
void |
setRetrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
|
void |
setStreamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same
playback configuration.
|
String |
toString()
Returns a string representation of this object.
|
PrefetchSchedule |
withArn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
|
PrefetchSchedule |
withConsumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.
|
PrefetchSchedule |
withName(String name)
The name of the prefetch schedule.
|
PrefetchSchedule |
withPlaybackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
|
PrefetchSchedule |
withRetrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
|
PrefetchSchedule |
withStreamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same
playback configuration.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
arn
- The Amazon Resource Name (ARN) of the prefetch schedule.public String getArn()
The Amazon Resource Name (ARN) of the prefetch schedule.
public PrefetchSchedule withArn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
arn
- The Amazon Resource Name (ARN) of the prefetch schedule.public void setConsumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
consumption
- Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad
consumption occurs within a span of time that you define, called a consumption window. You can
designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.public PrefetchConsumption getConsumption()
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
public PrefetchSchedule withConsumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
consumption
- Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad
consumption occurs within a span of time that you define, called a consumption window. You can
designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.public void setName(String name)
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
name
- The name of the prefetch schedule. The name must be unique among all prefetch schedules that are
associated with the specified playback configuration.public String getName()
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
public PrefetchSchedule withName(String name)
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
name
- The name of the prefetch schedule. The name must be unique among all prefetch schedules that are
associated with the specified playback configuration.public void setPlaybackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
playbackConfigurationName
- The name of the playback configuration to create the prefetch schedule for.public String getPlaybackConfigurationName()
The name of the playback configuration to create the prefetch schedule for.
public PrefetchSchedule withPlaybackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
playbackConfigurationName
- The name of the playback configuration to create the prefetch schedule for.public void setRetrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
retrieval
- A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).public PrefetchRetrieval getRetrieval()
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
public PrefetchSchedule withRetrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
retrieval
- A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).public void setStreamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
streamId
- An optional stream identifier that you can specify in order to prefetch for multiple streams that use the
same playback configuration.public String getStreamId()
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
public PrefetchSchedule withStreamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
streamId
- An optional stream identifier that you can specify in order to prefetch for multiple streams that use the
same playback configuration.public String toString()
toString
in class Object
Object.toString()
public PrefetchSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.