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 TypeMethodDescriptionThe single audience for GetChannelScheduleRequest.channelName(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 thanMaxResultschannel 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.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, sdkFieldNameToField, sdkFields
-
Method Details
-
audience
The single audience for GetChannelScheduleRequest.
- Parameters:
audience- The single audience for GetChannelScheduleRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
MaxResultschannel schedules, use the value ofNextTokenin 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 thanMaxResultschannel 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
MaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.For the first
GetChannelScheduleRequestrequest, 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 channel schedules to get.- Parameters:
nextToken- (Optional) If the playback configuration has more thanMaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.For the first
GetChannelScheduleRequestrequest, 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 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-