Interface AddFlowMediaStreamsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddFlowMediaStreamsRequest.Builder,,AddFlowMediaStreamsRequest> MediaConnectRequest.Builder,SdkBuilder<AddFlowMediaStreamsRequest.Builder,,AddFlowMediaStreamsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddFlowMediaStreamsRequest
public static interface AddFlowMediaStreamsRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<AddFlowMediaStreamsRequest.Builder,AddFlowMediaStreamsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the flow.mediaStreams(Collection<AddMediaStreamRequest> mediaStreams) The media streams that you want to add to the flow.mediaStreams(Consumer<AddMediaStreamRequest.Builder>... mediaStreams) The media streams that you want to add to the flow.mediaStreams(AddMediaStreamRequest... mediaStreams) The media streams that you want to add to the flow.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.mediaconnect.model.MediaConnectRequest.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
-
flowArn
The Amazon Resource Name (ARN) of the flow.- Parameters:
flowArn- The Amazon Resource Name (ARN) of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you want to add to the flow.- Parameters:
mediaStreams- The media streams that you want to add to the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you want to add to the flow.- Parameters:
mediaStreams- The media streams that you want to add to the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
AddFlowMediaStreamsRequest.Builder mediaStreams(Consumer<AddMediaStreamRequest.Builder>... mediaStreams) The media streams that you want to add to the flow. This is a convenience method that creates an instance of theAddMediaStreamRequest.Builderavoiding the need to create one manually viaAddMediaStreamRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomediaStreams(List<AddMediaStreamRequest>).- Parameters:
mediaStreams- a consumer that will call methods onAddMediaStreamRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddFlowMediaStreamsRequest.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
AddFlowMediaStreamsRequest.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.
-