Class CfnVpcAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnVpcAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcAttachment>
- Enclosing class:
CfnVpcAttachment
@Stability(Stable)
public static final class CfnVpcAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcAttachment>
A fluent builder for
CfnVpcAttachment
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
coreNetworkId
(String coreNetworkId) The core network ID.static CfnVpcAttachment.Builder
options
(IResolvable options) Options for creating the VPC attachment.Options for creating the VPC attachment.proposedNetworkFunctionGroupChange
(IResolvable proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedNetworkFunctionGroupChange
(CfnVpcAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedSegmentChange
(IResolvable proposedSegmentChange) Describes a proposed segment change.proposedSegmentChange
(CfnVpcAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Describes a proposed segment change.subnetArns
(List<String> subnetArns) The subnet ARNs.The tags associated with the VPC attachment.The ARN of the VPC attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnVpcAttachment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVpcAttachment.Builder
.
-
coreNetworkId
The core network ID.- Parameters:
coreNetworkId
- The core network ID. This parameter is required.- Returns:
this
- See Also:
-
subnetArns
The subnet ARNs.- Parameters:
subnetArns
- The subnet ARNs. This parameter is required.- Returns:
this
- See Also:
-
vpcArn
The ARN of the VPC attachment.- Parameters:
vpcArn
- The ARN of the VPC attachment. This parameter is required.- Returns:
this
- See Also:
-
options
Options for creating the VPC attachment.- Parameters:
options
- Options for creating the VPC attachment. This parameter is required.- Returns:
this
- See Also:
-
options
@Stability(Stable) public CfnVpcAttachment.Builder options(CfnVpcAttachment.VpcOptionsProperty options) Options for creating the VPC attachment.- Parameters:
options
- Options for creating the VPC attachment. This parameter is required.- Returns:
this
- See Also:
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnVpcAttachment.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.- Parameters:
proposedNetworkFunctionGroupChange
- Describes proposed changes to a network function group. This parameter is required.- Returns:
this
- See Also:
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnVpcAttachment.Builder proposedNetworkFunctionGroupChange(CfnVpcAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.- Parameters:
proposedNetworkFunctionGroupChange
- Describes proposed changes to a network function group. This parameter is required.- Returns:
this
- See Also:
-
proposedSegmentChange
@Stability(Stable) public CfnVpcAttachment.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Describes a proposed segment change.In some cases, the segment change must first be evaluated and accepted.
- Parameters:
proposedSegmentChange
- Describes a proposed segment change. This parameter is required.- Returns:
this
- See Also:
-
proposedSegmentChange
@Stability(Stable) public CfnVpcAttachment.Builder proposedSegmentChange(CfnVpcAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Describes a proposed segment change.In some cases, the segment change must first be evaluated and accepted.
- Parameters:
proposedSegmentChange
- Describes a proposed segment change. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags associated with the VPC attachment.- Parameters:
tags
- The tags associated with the VPC attachment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVpcAttachment>
- Returns:
- a newly built instance of
CfnVpcAttachment
.
-