Class CfnDirectConnectGatewayAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnDirectConnectGatewayAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGatewayAssociationPropsMixin>
- Enclosing class:
CfnDirectConnectGatewayAssociationPropsMixin
@Stability(Stable)
public static final class CfnDirectConnectGatewayAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGatewayAssociationPropsMixin>
A fluent builder for
CfnDirectConnectGatewayAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionacceptDirectConnectGatewayAssociationProposalRoleArn(String acceptDirectConnectGatewayAssociationProposalRoleArn) The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.allowedPrefixesToDirectConnectGateway(List<String> allowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.associatedGatewayId(String associatedGatewayId) associatedGatewayId(ITransitGatewayRef associatedGatewayId) associatedGatewayId(IVPNGatewayRef associatedGatewayId) build()create()create(CfnPropertyMixinOptions options) directConnectGatewayId(String directConnectGatewayId) directConnectGatewayId(IDirectConnectGatewayRef directConnectGatewayId)
-
Method Details
-
create
@Stability(Stable) public static CfnDirectConnectGatewayAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDirectConnectGatewayAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDirectConnectGatewayAssociationPropsMixin.Builder.
-
acceptDirectConnectGatewayAssociationProposalRoleArn
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder acceptDirectConnectGatewayAssociationProposalRoleArn(String acceptDirectConnectGatewayAssociationProposalRoleArn) The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.
- Parameters:
acceptDirectConnectGatewayAssociationProposalRoleArn- The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal. This parameter is required.- Returns:
this- See Also:
-
allowedPrefixesToDirectConnectGateway
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder allowedPrefixesToDirectConnectGateway(List<String> allowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.This parameter is required when you create an association to a transit gateway.
- Parameters:
allowedPrefixesToDirectConnectGateway- The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required.- Returns:
this- See Also:
-
associatedGatewayId
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder associatedGatewayId(String associatedGatewayId) - Parameters:
associatedGatewayId- This parameter is required.- Returns:
this- See Also:
-
associatedGatewayId
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder associatedGatewayId(ITransitGatewayRef associatedGatewayId) - Parameters:
associatedGatewayId- This parameter is required.- Returns:
this- See Also:
-
associatedGatewayId
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder associatedGatewayId(IVPNGatewayRef associatedGatewayId) - Parameters:
associatedGatewayId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder directConnectGatewayId(String directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnDirectConnectGatewayAssociationPropsMixin.Builder directConnectGatewayId(IDirectConnectGatewayRef directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectConnectGatewayAssociationPropsMixin>- Returns:
- a newly built instance of
CfnDirectConnectGatewayAssociationPropsMixin.
-