@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePrefetchScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePrefetchScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePrefetchScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
PrefetchConsumption |
getConsumption()
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
String |
getName()
The name to assign to the schedule request.
|
String |
getPlaybackConfigurationName()
The name to assign to the playback configuration.
|
PrefetchRetrieval |
getRetrieval()
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
String |
getStreamId()
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
int |
hashCode() |
void |
setConsumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
void |
setName(String name)
The name to assign to the schedule request.
|
void |
setPlaybackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
|
void |
setRetrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
void |
setStreamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreatePrefetchScheduleRequest |
withConsumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
CreatePrefetchScheduleRequest |
withName(String name)
The name to assign to the schedule request.
|
CreatePrefetchScheduleRequest |
withPlaybackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
|
CreatePrefetchScheduleRequest |
withRetrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
CreatePrefetchScheduleRequest |
withStreamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setConsumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
consumption
- The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server. Each consumption configuration contains an end time and an optional start time that define the
consumption window. Prefetch schedules automatically expire no earlier than seven days after the
end time.public PrefetchConsumption getConsumption()
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
public CreatePrefetchScheduleRequest withConsumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
consumption
- The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server. Each consumption configuration contains an end time and an optional start time that define the
consumption window. Prefetch schedules automatically expire no earlier than seven days after the
end time.public void setName(String name)
The name to assign to the schedule request.
name
- The name to assign to the schedule request.public String getName()
The name to assign to the schedule request.
public CreatePrefetchScheduleRequest withName(String name)
The name to assign to the schedule request.
name
- The name to assign to the schedule request.public void setPlaybackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
playbackConfigurationName
- The name to assign to the playback configuration.public String getPlaybackConfigurationName()
The name to assign to the playback configuration.
public CreatePrefetchScheduleRequest withPlaybackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
playbackConfigurationName
- The name to assign to the playback configuration.public void setRetrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
retrieval
- The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of
prefetched ads will be retrieved and subsequently consumed for each ad break.public PrefetchRetrieval getRetrieval()
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
public CreatePrefetchScheduleRequest withRetrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
retrieval
- The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of
prefetched ads will be retrieved and subsequently consumed for each ad break.public void setStreamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId
is specified, MediaTailor returns all of the prefetch schedules
with an exact match on StreamId
. If not specified, MediaTailor returns all of the prefetch schedules
for the playback configuration, regardless of StreamId
.
streamId
- An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId
is specified, MediaTailor returns all of the prefetch
schedules with an exact match on StreamId
. If not specified, MediaTailor returns all of the
prefetch schedules for the playback configuration, regardless of StreamId
.public String getStreamId()
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId
is specified, MediaTailor returns all of the prefetch schedules
with an exact match on StreamId
. If not specified, MediaTailor returns all of the prefetch schedules
for the playback configuration, regardless of StreamId
.
StreamId
is specified, MediaTailor returns all of the
prefetch schedules with an exact match on StreamId
. If not specified, MediaTailor returns
all of the prefetch schedules for the playback configuration, regardless of StreamId
.public CreatePrefetchScheduleRequest withStreamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId
is specified, MediaTailor returns all of the prefetch schedules
with an exact match on StreamId
. If not specified, MediaTailor returns all of the prefetch schedules
for the playback configuration, regardless of StreamId
.
streamId
- An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId
is specified, MediaTailor returns all of the prefetch
schedules with an exact match on StreamId
. If not specified, MediaTailor returns all of the
prefetch schedules for the playback configuration, regardless of StreamId
.public String toString()
toString
in class Object
Object.toString()
public CreatePrefetchScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()