Class CfnCidrCollection.Builder

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

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

    • create

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

      @Stability(Stable) public CfnCidrCollection.Builder name(String name)
      The name of a CIDR collection.

      Parameters:
      name - The name of a CIDR collection. This parameter is required.
      Returns:
      this
    • locations

      @Stability(Stable) public CfnCidrCollection.Builder locations(IResolvable locations)
      A complex type that contains information about the list of CIDR locations.

      Parameters:
      locations - A complex type that contains information about the list of CIDR locations. This parameter is required.
      Returns:
      this
    • locations

      @Stability(Stable) public CfnCidrCollection.Builder locations(List<? extends Object> locations)
      A complex type that contains information about the list of CIDR locations.

      Parameters:
      locations - A complex type that contains information about the list of CIDR locations. This parameter is required.
      Returns:
      this
    • build

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