Interface UpdateProgramRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProgramRequest.Builder,,UpdateProgramRequest> MediaTailorRequest.Builder,SdkBuilder<UpdateProgramRequest.Builder,,UpdateProgramRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProgramRequest
public static interface UpdateProgramRequest.Builder
extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<UpdateProgramRequest.Builder,UpdateProgramRequest>
-
Method Summary
Modifier and TypeMethodDescriptionadBreaks(Collection<AdBreak> adBreaks) The ad break configuration settings.adBreaks(Consumer<AdBreak.Builder>... adBreaks) The ad break configuration settings.The ad break configuration settings.channelName(String channelName) The name of the channel for this Program.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.programName(String programName) The name of the Program.default UpdateProgramRequest.BuilderscheduleConfiguration(Consumer<UpdateProgramScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration settings.scheduleConfiguration(UpdateProgramScheduleConfiguration scheduleConfiguration) The schedule configuration settings.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
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
This is a convenience method that creates an instance of theAdBreak.Builderavoiding the need to create one manually viaAdBreak.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadBreaks(List<AdBreak>).- Parameters:
adBreaks- a consumer that will call methods onAdBreak.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelName
The name of the channel for this Program.
- Parameters:
channelName- The name of the channel for this Program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programName
The name of the Program.
- Parameters:
programName- The name of the Program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
UpdateProgramRequest.Builder scheduleConfiguration(UpdateProgramScheduleConfiguration scheduleConfiguration) The schedule configuration settings.
- Parameters:
scheduleConfiguration- The schedule configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default UpdateProgramRequest.Builder scheduleConfiguration(Consumer<UpdateProgramScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration settings.
This is a convenience method that creates an instance of theUpdateProgramScheduleConfiguration.Builderavoiding the need to create one manually viaUpdateProgramScheduleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfiguration(UpdateProgramScheduleConfiguration).- Parameters:
scheduleConfiguration- a consumer that will call methods onUpdateProgramScheduleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateProgramRequest.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
UpdateProgramRequest.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.
-