Class CfnIPAMProps.Builder

java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMProps>
Enclosing interface:
CfnIPAMProps

@Stability(Stable) public static final class CfnIPAMProps.Builder extends Object implements software.amazon.jsii.Builder<CfnIPAMProps>
A builder for CfnIPAMProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • defaultResourceDiscoveryAssociationId

      @Stability(Stable) public CfnIPAMProps.Builder defaultResourceDiscoveryAssociationId(String defaultResourceDiscoveryAssociationId)
      Parameters:
      defaultResourceDiscoveryAssociationId - The IPAM's default resource discovery association ID.
      Returns:
      this
    • defaultResourceDiscoveryId

      @Stability(Stable) public CfnIPAMProps.Builder defaultResourceDiscoveryId(String defaultResourceDiscoveryId)
      Parameters:
      defaultResourceDiscoveryId - The IPAM's default resource discovery ID.
      Returns:
      this
    • description

      @Stability(Stable) public CfnIPAMProps.Builder description(String description)
      Parameters:
      description - The description for the IPAM.
      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAMProps.Builder operatingRegions(IResolvable operatingRegions)
      Parameters:
      operatingRegions - The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.

      For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .

      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAMProps.Builder operatingRegions(List<? extends Object> operatingRegions)
      Parameters:
      operatingRegions - The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.

      For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .

      Returns:
      this
    • tags

      @Stability(Stable) public CfnIPAMProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnIPAMProps.getTags()
      Parameters:
      tags - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA , specify tag:Owner for the filter name and TeamA for the filter value.
      Returns:
      this
    • build

      @Stability(Stable) public CfnIPAMProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnIPAMProps>
      Returns:
      a new instance of CfnIPAMProps
      Throws:
      NullPointerException - if any required attribute was not provided