Class CfnIPAMScope.Builder

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

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

    • create

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

      @Stability(Stable) public CfnIPAMScope.Builder ipamId(String ipamId)
      The ID of the IPAM for which you're creating this scope.

      Parameters:
      ipamId - The ID of the IPAM for which you're creating this scope. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnIPAMScope.Builder description(String description)
      The description of the scope.

      Parameters:
      description - The description of the scope. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnIPAMScope.Builder tags(List<? extends CfnTag> 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.

      Parameters:
      tags - The key/value combination of a tag assigned to the resource. This parameter is required.
      Returns:
      this
    • build

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