Interface AddBridgeSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddBridgeSourcesResponse.Builder,,AddBridgeSourcesResponse> MediaConnectResponse.Builder,SdkBuilder<AddBridgeSourcesResponse.Builder,,AddBridgeSourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddBridgeSourcesResponse
@Mutable
@NotThreadSafe
public static interface AddBridgeSourcesResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<AddBridgeSourcesResponse.Builder,AddBridgeSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the bridge that you added sources to.sources(Collection<BridgeSource> sources) The sources that you added to this bridge.sources(Consumer<BridgeSource.Builder>... sources) The sources that you added to this bridge.sources(BridgeSource... sources) The sources that you added to this bridge.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
bridgeArn
The ARN of the bridge that you added sources to.
- Parameters:
bridgeArn- The ARN of the bridge that you added sources to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The sources that you added to this bridge.
- Parameters:
sources- The sources that you added to this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The sources that you added to this bridge.
- Parameters:
sources- The sources that you added to this bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The sources that you added to this bridge.
This is a convenience method that creates an instance of theBridgeSource.Builderavoiding the need to create one manually viaBridgeSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosources(List<BridgeSource>).- Parameters:
sources- a consumer that will call methods onBridgeSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-