Class CfnBridgeSource.BridgeFlowSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridgeSource.BridgeFlowSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridgeSource.BridgeFlowSourceProperty>
- Enclosing interface:
CfnBridgeSource.BridgeFlowSourceProperty
@Stability(Stable)
public static final class CfnBridgeSource.BridgeFlowSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridgeSource.BridgeFlowSourceProperty>
A builder for
CfnBridgeSource.BridgeFlowSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowArn()
flowVpcInterfaceAttachment
(IResolvable flowVpcInterfaceAttachment) Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowVpcInterfaceAttachment()
flowVpcInterfaceAttachment
(CfnBridgeSource.VpcInterfaceAttachmentProperty flowVpcInterfaceAttachment) Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowArn()
- Parameters:
flowArn
- The ARN of the cloud flow used as a source of this bridge. This parameter is required.- Returns:
this
-
flowVpcInterfaceAttachment
@Stability(Stable) public CfnBridgeSource.BridgeFlowSourceProperty.Builder flowVpcInterfaceAttachment(IResolvable flowVpcInterfaceAttachment) Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowVpcInterfaceAttachment()
- Parameters:
flowVpcInterfaceAttachment
- The name of the VPC interface attachment to use for this source.- Returns:
this
-
flowVpcInterfaceAttachment
@Stability(Stable) public CfnBridgeSource.BridgeFlowSourceProperty.Builder flowVpcInterfaceAttachment(CfnBridgeSource.VpcInterfaceAttachmentProperty flowVpcInterfaceAttachment) Sets the value ofCfnBridgeSource.BridgeFlowSourceProperty.getFlowVpcInterfaceAttachment()
- Parameters:
flowVpcInterfaceAttachment
- The name of the VPC interface attachment to use for this source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBridgeSource.BridgeFlowSourceProperty>
- Returns:
- a new instance of
CfnBridgeSource.BridgeFlowSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-