Interface AddFlowMediaStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AddFlowMediaStreamsResponse.Builder,
,AddFlowMediaStreamsResponse> MediaConnectResponse.Builder
,SdkBuilder<AddFlowMediaStreamsResponse.Builder,
,AddFlowMediaStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AddFlowMediaStreamsResponse
public static interface AddFlowMediaStreamsResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<AddFlowMediaStreamsResponse.Builder,AddFlowMediaStreamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the flow that you added media streams to.mediaStreams
(Collection<MediaStream> mediaStreams) The media streams that you added to the flow.mediaStreams
(Consumer<MediaStream.Builder>... mediaStreams) The media streams that you added to the flow.mediaStreams
(MediaStream... mediaStreams) The media streams that you added to the flow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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
-
flowArn
The ARN of the flow that you added media streams to.- Parameters:
flowArn
- The ARN of the flow that you added media streams to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you added to the flow.- Parameters:
mediaStreams
- The media streams that you added to the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you added to the flow.- Parameters:
mediaStreams
- The media streams that you added to the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you added to the flow. This is a convenience method that creates an instance of theMediaStream.Builder
avoiding the need to create one manually viaMediaStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaStreams(List<MediaStream>)
.- Parameters:
mediaStreams
- a consumer that will call methods onMediaStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-