Interface AddFlowSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AddFlowSourcesResponse.Builder,
,AddFlowSourcesResponse> MediaConnectResponse.Builder
,SdkBuilder<AddFlowSourcesResponse.Builder,
,AddFlowSourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AddFlowSourcesResponse
public static interface AddFlowSourcesResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<AddFlowSourcesResponse.Builder,AddFlowSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the flow that these sources were added to.sources
(Collection<Source> sources) The details of the newly added sources.sources
(Consumer<Source.Builder>... sources) The details of the newly added sources.The details of the newly added sources.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 these sources were added to.- Parameters:
flowArn
- The ARN of the flow that these sources were added to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The details of the newly added sources.- Parameters:
sources
- The details of the newly added sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The details of the newly added sources.- Parameters:
sources
- The details of the newly added sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The details of the newly added sources. This is a convenience method that creates an instance of theSource.Builder
avoiding the need to create one manually viaSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<Source>)
.- Parameters:
sources
- a consumer that will call methods onSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-