Interface UpdateMultiplexProgramResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateMultiplexProgramResponse.Builder,
,UpdateMultiplexProgramResponse> MediaLiveResponse.Builder
,SdkBuilder<UpdateMultiplexProgramResponse.Builder,
,UpdateMultiplexProgramResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateMultiplexProgramResponse
public static interface UpdateMultiplexProgramResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<UpdateMultiplexProgramResponse.Builder,UpdateMultiplexProgramResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmultiplexProgram
(Consumer<MultiplexProgram.Builder> multiplexProgram) The updated multiplex program.multiplexProgram
(MultiplexProgram multiplexProgram) The updated multiplex program.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
multiplexProgram
The updated multiplex program.- Parameters:
multiplexProgram
- The updated multiplex program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiplexProgram
default UpdateMultiplexProgramResponse.Builder multiplexProgram(Consumer<MultiplexProgram.Builder> multiplexProgram) The updated multiplex program. This is a convenience method that creates an instance of theMultiplexProgram.Builder
avoiding the need to create one manually viaMultiplexProgram.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiplexProgram(MultiplexProgram)
.- Parameters:
multiplexProgram
- a consumer that will call methods onMultiplexProgram.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-