@Generated(value="software.amazon.awssdk:codegen") public final class CreatePrefetchScheduleRequest extends MediaTailorRequest implements ToCopyableBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePrefetchScheduleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePrefetchScheduleRequest.Builder |
builder() |
PrefetchConsumption |
consumption()
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name to assign to the schedule request.
|
String |
playbackConfigurationName()
The name to assign to the playback configuration.
|
PrefetchRetrieval |
retrieval()
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePrefetchScheduleRequest.Builder> |
serializableBuilderClass() |
String |
streamId()
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
CreatePrefetchScheduleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final String name()
The name to assign to the schedule request.
public final String playbackConfigurationName()
The name to assign to the playback configuration.
public final 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.
public final 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 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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>toBuilder in class MediaTailorRequestpublic static CreatePrefetchScheduleRequest.Builder builder()
public static Class<? extends CreatePrefetchScheduleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.