Interface AddFlowSourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddFlowSourcesRequest.Builder,
,AddFlowSourcesRequest> MediaConnectRequest.Builder
,SdkBuilder<AddFlowSourcesRequest.Builder,
,AddFlowSourcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddFlowSourcesRequest
public static interface AddFlowSourcesRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<AddFlowSourcesRequest.Builder,AddFlowSourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe flow that you want to mutate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sources
(Collection<SetSourceRequest> sources) A list of sources that you want to add.sources
(Consumer<SetSourceRequest.Builder>... sources) A list of sources that you want to add.sources
(SetSourceRequest... sources) A list of sources that you want to add.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.mediaconnect.model.MediaConnectRequest.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
-
flowArn
The flow that you want to mutate.- Parameters:
flowArn
- The flow that you want to mutate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
A list of sources that you want to add.- Parameters:
sources
- A list of sources that you want to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
A list of sources that you want to add.- Parameters:
sources
- A list of sources that you want to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
A list of sources that you want to add. This is a convenience method that creates an instance of theSetSourceRequest.Builder
avoiding the need to create one manually viaSetSourceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<SetSourceRequest>)
.- Parameters:
sources
- a consumer that will call methods onSetSourceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddFlowSourcesRequest.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
AddFlowSourcesRequest.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.
-