Interface ListPrefetchSchedulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPrefetchSchedulesRequest.Builder,,ListPrefetchSchedulesRequest> MediaTailorRequest.Builder,SdkBuilder<ListPrefetchSchedulesRequest.Builder,,ListPrefetchSchedulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPrefetchSchedulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request.(Optional) If the playback configuration has more thanMaxResultsprefetch schedules, useNextTokento get the second and subsequent pages of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.playbackConfigurationName(String playbackConfigurationName) Retrieves the prefetch schedule(s) for a specific playback configuration.An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than
MaxResultsprefetch schedules, use the value ofNextTokenin the response to get the next page of results.- Parameters:
maxResults- The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more thanMaxResultsprefetch schedules, use the value ofNextTokenin the response to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
(Optional) If the playback configuration has more than
MaxResultsprefetch schedules, useNextTokento get the second and subsequent pages of results.For the first
ListPrefetchSchedulesRequestrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.If the previous response didn't include a
NextTokenelement, there are no more prefetch schedules to get.- Parameters:
nextToken- (Optional) If the playback configuration has more thanMaxResultsprefetch schedules, useNextTokento get the second and subsequent pages of results.For the first
ListPrefetchSchedulesRequestrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.If the previous response didn't include a
NextTokenelement, there are no more prefetch schedules to get.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackConfigurationName
Retrieves the prefetch schedule(s) for a specific playback configuration.
- Parameters:
playbackConfigurationName- Retrieves the prefetch schedule(s) for a specific playback configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamId
An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.
- Parameters:
streamId- An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPrefetchSchedulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPrefetchSchedulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-