Class CfnIPAMResourceDiscovery.Builder

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

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

    • create

      @Stability(Stable) public static CfnIPAMResourceDiscovery.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 CfnIPAMResourceDiscovery.Builder.
    • description

      @Stability(Stable) public CfnIPAMResourceDiscovery.Builder description(String description)
      The resource discovery description.

      Parameters:
      description - The resource discovery description. This parameter is required.
      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAMResourceDiscovery.Builder operatingRegions(IResolvable operatingRegions)
      The operating Regions for the resource discovery.

      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.

      Parameters:
      operatingRegions - The operating Regions for the resource discovery. This parameter is required.
      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAMResourceDiscovery.Builder operatingRegions(List<? extends Object> operatingRegions)
      The operating Regions for the resource discovery.

      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.

      Parameters:
      operatingRegions - The operating Regions for the resource discovery. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnIPAMResourceDiscovery.Builder tags(List<? extends CfnTag> tags)
      A tag is a label that you assign to an AWS resource.

      Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your AWS costs.

      Parameters:
      tags - A tag is a label that you assign to an AWS resource. This parameter is required.
      Returns:
      this
    • build

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