Interface UpdateMultiplexProgramRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMultiplexProgramRequest.Builder,
,UpdateMultiplexProgramRequest> MediaLiveRequest.Builder
,SdkBuilder<UpdateMultiplexProgramRequest.Builder,
,UpdateMultiplexProgramRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMultiplexProgramRequest
public static interface UpdateMultiplexProgramRequest.Builder
extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<UpdateMultiplexProgramRequest.Builder,UpdateMultiplexProgramRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmultiplexId
(String multiplexId) The ID of the multiplex of the program to update.multiplexProgramSettings
(Consumer<MultiplexProgramSettings.Builder> multiplexProgramSettings) The new settings for a multiplex program.multiplexProgramSettings
(MultiplexProgramSettings multiplexProgramSettings) The new settings for a multiplex 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 to update.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.medialive.model.MediaLiveRequest.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
-
multiplexId
The ID of the multiplex of the program to update.- Parameters:
multiplexId
- The ID of the multiplex of the program to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiplexProgramSettings
UpdateMultiplexProgramRequest.Builder multiplexProgramSettings(MultiplexProgramSettings multiplexProgramSettings) The new settings for a multiplex program.- Parameters:
multiplexProgramSettings
- The new settings for a multiplex program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiplexProgramSettings
default UpdateMultiplexProgramRequest.Builder multiplexProgramSettings(Consumer<MultiplexProgramSettings.Builder> multiplexProgramSettings) The new settings for a multiplex program. This is a convenience method that creates an instance of theMultiplexProgramSettings.Builder
avoiding the need to create one manually viaMultiplexProgramSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiplexProgramSettings(MultiplexProgramSettings)
.- Parameters:
multiplexProgramSettings
- a consumer that will call methods onMultiplexProgramSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
programName
The name of the program to update.- Parameters:
programName
- The name of the program to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMultiplexProgramRequest.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
UpdateMultiplexProgramRequest.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.
-