@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePrefetchScheduleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePrefetchScheduleResult() |
Modifier and Type | Method and Description |
---|---|
CreatePrefetchScheduleResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN to assign to the prefetch schedule.
|
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 prefetch schedule.
|
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 |
setArn(String arn)
The ARN to assign to the prefetch schedule.
|
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 prefetch schedule.
|
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.
|
CreatePrefetchScheduleResult |
withArn(String arn)
The ARN to assign to the prefetch schedule.
|
CreatePrefetchScheduleResult |
withConsumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
CreatePrefetchScheduleResult |
withName(String name)
The name to assign to the prefetch schedule.
|
CreatePrefetchScheduleResult |
withPlaybackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
|
CreatePrefetchScheduleResult |
withRetrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
CreatePrefetchScheduleResult |
withStreamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN to assign to the prefetch schedule.
arn
- The ARN to assign to the prefetch schedule.public String getArn()
The ARN to assign to the prefetch schedule.
public CreatePrefetchScheduleResult withArn(String arn)
The ARN to assign to the prefetch schedule.
arn
- The ARN to assign to the prefetch schedule.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 CreatePrefetchScheduleResult 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 prefetch schedule.
name
- The name to assign to the prefetch schedule.public String getName()
The name to assign to the prefetch schedule.
public CreatePrefetchScheduleResult withName(String name)
The name to assign to the prefetch schedule.
name
- The name to assign to the prefetch schedule.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 CreatePrefetchScheduleResult 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 CreatePrefetchScheduleResult 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 CreatePrefetchScheduleResult 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 CreatePrefetchScheduleResult clone()