Interface ListMultiplexProgramsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMultiplexProgramsResponse.Builder,
,ListMultiplexProgramsResponse> MediaLiveResponse.Builder
,SdkBuilder<ListMultiplexProgramsResponse.Builder,
,ListMultiplexProgramsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMultiplexProgramsResponse
public static interface ListMultiplexProgramsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListMultiplexProgramsResponse.Builder,ListMultiplexProgramsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmultiplexPrograms
(Collection<MultiplexProgramSummary> multiplexPrograms) List of multiplex programs.multiplexPrograms
(Consumer<MultiplexProgramSummary.Builder>... multiplexPrograms) List of multiplex programs.multiplexPrograms
(MultiplexProgramSummary... multiplexPrograms) List of multiplex programs.Token for the next ListMultiplexProgram request.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
-
multiplexPrograms
ListMultiplexProgramsResponse.Builder multiplexPrograms(Collection<MultiplexProgramSummary> multiplexPrograms) List of multiplex programs.- Parameters:
multiplexPrograms
- List of multiplex programs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiplexPrograms
ListMultiplexProgramsResponse.Builder multiplexPrograms(MultiplexProgramSummary... multiplexPrograms) List of multiplex programs.- Parameters:
multiplexPrograms
- List of multiplex programs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiplexPrograms
ListMultiplexProgramsResponse.Builder multiplexPrograms(Consumer<MultiplexProgramSummary.Builder>... multiplexPrograms) List of multiplex programs. This is a convenience method that creates an instance of theMultiplexProgramSummary.Builder
avoiding the need to create one manually viaMultiplexProgramSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiplexPrograms(List<MultiplexProgramSummary>)
.- Parameters:
multiplexPrograms
- a consumer that will call methods onMultiplexProgramSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for the next ListMultiplexProgram request.- Parameters:
nextToken
- Token for the next ListMultiplexProgram request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-