Class CreatePrefetchScheduleResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse
-
- software.amazon.awssdk.services.mediatailor.model.CreatePrefetchScheduleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreatePrefetchScheduleResponse.Builder,CreatePrefetchScheduleResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreatePrefetchScheduleResponse extends MediaTailorResponse implements ToCopyableBuilder<CreatePrefetchScheduleResponse.Builder,CreatePrefetchScheduleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreatePrefetchScheduleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN to assign to the prefetch schedule.static CreatePrefetchScheduleResponse.Builderbuilder()PrefetchConsumptionconsumption()The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name to assign to the prefetch schedule.StringplaybackConfigurationName()The name to assign to the playback configuration.PrefetchRetrievalretrieval()The configuration settings for retrieval of prefetched ads from the ad decision server.List<SdkField<?>>sdkFields()static Class<? extends CreatePrefetchScheduleResponse.Builder>serializableBuilderClass()StringstreamId()An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.CreatePrefetchScheduleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN to assign to the prefetch schedule.
- Returns:
- The ARN to assign to the prefetch schedule.
-
consumption
public 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.
- Returns:
- 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.
-
name
public final String name()
The name to assign to the prefetch schedule.
- Returns:
- The name to assign to the prefetch schedule.
-
playbackConfigurationName
public final String playbackConfigurationName()
The name to assign to the playback configuration.
- Returns:
- The name to assign to the playback configuration.
-
retrieval
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.
- Returns:
- 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.
-
streamId
public final String streamId()
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If
StreamIdis specified, MediaTailor returns all of the prefetch schedules with an exact match onStreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless ofStreamId.- Returns:
- An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the
same playback configuration. If
StreamIdis specified, MediaTailor returns all of the prefetch schedules with an exact match onStreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless ofStreamId.
-
toBuilder
public CreatePrefetchScheduleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePrefetchScheduleResponse.Builder,CreatePrefetchScheduleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreatePrefetchScheduleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreatePrefetchScheduleResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-