Interface GetChannelScheduleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetChannelScheduleRequest.Builder,
,GetChannelScheduleRequest> MediaTailorRequest.Builder
,SdkBuilder<GetChannelScheduleRequest.Builder,
,GetChannelScheduleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetChannelScheduleRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelName
(String channelName) The name of the channel associated with this Channel Schedule.durationMinutes
(String durationMinutes) The duration in minutes of the channel schedule.maxResults
(Integer maxResults) The maximum number of channel schedules that you want MediaTailor to return in response to the current request.(Optional) If the playback configuration has more thanMaxResults
channel 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.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
-
channelName
The name of the channel associated with this Channel Schedule.
- Parameters:
channelName
- The name of the channel associated with this Channel Schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMinutes
The duration in minutes of the channel schedule.
- Parameters:
durationMinutes
- The duration in minutes of the channel schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than
MaxResults
channel schedules, use the value ofNextToken
in the response to get the next page of results.- Parameters:
maxResults
- The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more thanMaxResults
channel 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
channel schedules, useNextToken
to get the second and subsequent pages of results.For the first
GetChannelScheduleRequest
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 channel schedules to get.- Parameters:
nextToken
- (Optional) If the playback configuration has more thanMaxResults
channel schedules, useNextToken
to get the second and subsequent pages of results.For the first
GetChannelScheduleRequest
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 channel schedules to get.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetChannelScheduleRequest.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
GetChannelScheduleRequest.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.
-