Class CfnFlowSource.GatewayBridgeSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowSource.GatewayBridgeSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowSource.GatewayBridgeSourceProperty>
- Enclosing interface:
CfnFlowSource.GatewayBridgeSourceProperty
@Stability(Stable)
public static final class CfnFlowSource.GatewayBridgeSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowSource.GatewayBridgeSourceProperty>
A builder for
CfnFlowSource.GatewayBridgeSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getBridgeArn()build()Builds the configured instance.vpcInterfaceAttachment(IResolvable vpcInterfaceAttachment) Sets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getVpcInterfaceAttachment()vpcInterfaceAttachment(CfnFlowSource.VpcInterfaceAttachmentProperty vpcInterfaceAttachment) Sets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bridgeArn
@Stability(Stable) public CfnFlowSource.GatewayBridgeSourceProperty.Builder bridgeArn(String bridgeArn) Sets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getBridgeArn()- Parameters:
bridgeArn- The ARN of the bridge feeding this flow. This parameter is required.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Stable) public CfnFlowSource.GatewayBridgeSourceProperty.Builder vpcInterfaceAttachment(IResolvable vpcInterfaceAttachment) Sets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getVpcInterfaceAttachment()- Parameters:
vpcInterfaceAttachment- The name of the VPC interface attachment to use for this bridge source.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Stable) public CfnFlowSource.GatewayBridgeSourceProperty.Builder vpcInterfaceAttachment(CfnFlowSource.VpcInterfaceAttachmentProperty vpcInterfaceAttachment) Sets the value ofCfnFlowSource.GatewayBridgeSourceProperty.getVpcInterfaceAttachment()- Parameters:
vpcInterfaceAttachment- The name of the VPC interface attachment to use for this bridge source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowSource.GatewayBridgeSourceProperty>- Returns:
- a new instance of
CfnFlowSource.GatewayBridgeSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-