Class CfnHttpNamespace.Builder

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

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

    • create

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

      @Stability(Stable) public CfnHttpNamespace.Builder name(String name)
      The name that you want to assign to this namespace.

      Parameters:
      name - The name that you want to assign to this namespace. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnHttpNamespace.Builder description(String description)
      A description for the namespace.

      Parameters:
      description - A description for the namespace. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnHttpNamespace.Builder tags(List<? extends CfnTag> tags)
      The tags for the namespace.

      Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

      Parameters:
      tags - The tags for the namespace. This parameter is required.
      Returns:
      this
    • build

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