Interface GetPrefetchScheduleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>,MediaTailorResponse.Builder,SdkBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPrefetchScheduleResponse
public static interface GetPrefetchScheduleResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<GetPrefetchScheduleResponse.Builder,GetPrefetchScheduleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetPrefetchScheduleResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the prefetch schedule.default GetPrefetchScheduleResponse.Builderconsumption(Consumer<PrefetchConsumption.Builder> consumption)Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.GetPrefetchScheduleResponse.Builderconsumption(PrefetchConsumption consumption)Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.GetPrefetchScheduleResponse.Buildername(String name)The name of the prefetch schedule.GetPrefetchScheduleResponse.BuilderplaybackConfigurationName(String playbackConfigurationName)The name of the playback configuration to create the prefetch schedule for.default GetPrefetchScheduleResponse.Builderretrieval(Consumer<PrefetchRetrieval.Builder> retrieval)A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).GetPrefetchScheduleResponse.Builderretrieval(PrefetchRetrieval retrieval)A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).GetPrefetchScheduleResponse.BuilderstreamId(String streamId)An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetPrefetchScheduleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
- Parameters:
arn- The Amazon Resource Name (ARN) of the prefetch schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumption
GetPrefetchScheduleResponse.Builder consumption(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
consumption
default GetPrefetchScheduleResponse.Builder consumption(Consumer<PrefetchConsumption.Builder> 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.
This is a convenience method that creates an instance of thePrefetchConsumption.Builderavoiding the need to create one manually viaPrefetchConsumption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumption(PrefetchConsumption).- Parameters:
consumption- a consumer that will call methods onPrefetchConsumption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
consumption(PrefetchConsumption)
-
name
GetPrefetchScheduleResponse.Builder name(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
playbackConfigurationName
GetPrefetchScheduleResponse.Builder playbackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
- Parameters:
playbackConfigurationName- The name of the playback configuration to create the prefetch schedule for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieval
GetPrefetchScheduleResponse.Builder retrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
- Parameters:
retrieval- A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieval
default GetPrefetchScheduleResponse.Builder retrieval(Consumer<PrefetchRetrieval.Builder> retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
This is a convenience method that creates an instance of thePrefetchRetrieval.Builderavoiding the need to create one manually viaPrefetchRetrieval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrieval(PrefetchRetrieval).- Parameters:
retrieval- a consumer that will call methods onPrefetchRetrieval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retrieval(PrefetchRetrieval)
-
streamId
GetPrefetchScheduleResponse.Builder streamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
- Parameters:
streamId- An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-