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 Details

    • create

      @Stability(Stable) public static CfnVpcAttachment.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVpcAttachment.Builder.
    • coreNetworkId

      @Stability(Stable) public CfnVpcAttachment.Builder coreNetworkId(String coreNetworkId)
      The core network ID.

      Parameters:
      coreNetworkId - The core network ID. This parameter is required.
      Returns:
      this
    • subnetArns

      @Stability(Stable) public CfnVpcAttachment.Builder subnetArns(List<String> subnetArns)
      The subnet ARNs.

      Parameters:
      subnetArns - The subnet ARNs. This parameter is required.
      Returns:
      this
    • vpcArn

      @Stability(Stable) public CfnVpcAttachment.Builder vpcArn(String vpcArn)
      The ARN of the VPC attachment.

      Parameters:
      vpcArn - The ARN of the VPC attachment. This parameter is required.
      Returns:
      this
    • options

      @Stability(Stable) public CfnVpcAttachment.Builder options(IResolvable options)
      Options for creating the VPC attachment.

      Parameters:
      options - Options for creating the VPC attachment. This parameter is required.
      Returns:
      this
    • 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
    • proposedSegmentChange

      @Stability(Stable) public CfnVpcAttachment.Builder proposedSegmentChange(IResolvable proposedSegmentChange)
      AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.

      Parameters:
      proposedSegmentChange - AWS::NetworkManager::VpcAttachment.ProposedSegmentChange. This parameter is required.
      Returns:
      this
    • proposedSegmentChange

      @Stability(Stable) public CfnVpcAttachment.Builder proposedSegmentChange(CfnVpcAttachment.ProposedSegmentChangeProperty proposedSegmentChange)
      AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.

      Parameters:
      proposedSegmentChange - AWS::NetworkManager::VpcAttachment.ProposedSegmentChange. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnVpcAttachment.Builder tags(List<? extends CfnTag> tags)
      The tags associated with the VPC attachment.

      Parameters:
      tags - The tags associated with the VPC attachment. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnVpcAttachment build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVpcAttachment>
      Returns:
      a newly built instance of CfnVpcAttachment.