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
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 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.Builderavoiding the need to create one manually viaSetSourceRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-