Class GetPrefetchScheduleResponse
- 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.GetPrefetchScheduleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetPrefetchScheduleResponse extends MediaTailorResponse implements ToCopyableBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetPrefetchScheduleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the prefetch schedule.static GetPrefetchScheduleResponse.Builderbuilder()PrefetchConsumptionconsumption()Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the prefetch schedule.StringplaybackConfigurationName()The name of the playback configuration to create the prefetch schedule for.PrefetchRetrievalretrieval()A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetPrefetchScheduleResponse.Builder>serializableBuilderClass()StringstreamId()An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.GetPrefetchScheduleResponse.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 Amazon Resource Name (ARN) of the prefetch schedule.
- Returns:
- The Amazon Resource Name (ARN) of the prefetch schedule.
-
consumption
public final 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.
- Returns:
- 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.
-
name
public final 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.
- Returns:
- The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
-
playbackConfigurationName
public final String playbackConfigurationName()
The name of the playback configuration to create the prefetch schedule for.
- Returns:
- The name of the playback configuration to create the prefetch schedule for.
-
retrieval
public final PrefetchRetrieval retrieval()
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
- Returns:
- A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
-
streamId
public final String streamId()
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
- Returns:
- An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
-
toBuilder
public GetPrefetchScheduleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetPrefetchScheduleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetPrefetchScheduleResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-