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 thanMaxResults
prefetch schedules, useNextToken
to 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
MaxResults
prefetch schedules, use the value ofNextToken
in 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 thanMaxResults
prefetch schedules, use the value ofNextToken
in 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
MaxResults
prefetch schedules, useNextToken
to get the second and subsequent pages of results.For the first
ListPrefetchSchedulesRequest
request, omit this value.For the second and subsequent requests, get the value of
NextToken
from the previous response and specify that value forNextToken
in the request.If the previous response didn't include a
NextToken
element, there are no more prefetch schedules to get.- Parameters:
nextToken
- (Optional) If the playback configuration has more thanMaxResults
prefetch schedules, useNextToken
to get the second and subsequent pages of results.For the first
ListPrefetchSchedulesRequest
request, omit this value.For the second and subsequent requests, get the value of
NextToken
from the previous response and specify that value forNextToken
in the request.If the previous response didn't include a
NextToken
element, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-