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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddFlowSourcesResponse.BuilderflowArn(String flowArn)The ARN of the flow that these sources were added to.AddFlowSourcesResponse.Buildersources(Collection<Source> sources)The details of the newly added sources.AddFlowSourcesResponse.Buildersources(Consumer<Source.Builder>... sources)The details of the newly added sources.AddFlowSourcesResponse.Buildersources(Source... 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 Detail
-
flowArn
AddFlowSourcesResponse.Builder flowArn(String 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
AddFlowSourcesResponse.Builder sources(Collection<Source> 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
AddFlowSourcesResponse.Builder sources(Source... 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
AddFlowSourcesResponse.Builder sources(Consumer<Source.Builder>... sources)
The details of the newly added sources. This is a convenience method that creates an instance of theSource.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - 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:
#sources(java.util.Collection)
-
-