Class TagManager.Builder

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

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

    • create

      @Stability(Stable) public static TagManager.Builder create(TagType tagType, String resourceTypeName, Object initialTags)
      Parameters:
      tagType - This parameter is required.
      resourceTypeName - This parameter is required.
      initialTags -
      Returns:
      a new instance of TagManager.Builder.
    • create

      @Stability(Stable) public static TagManager.Builder create(TagType tagType, String resourceTypeName)
      Parameters:
      tagType - This parameter is required.
      resourceTypeName - This parameter is required.
      Returns:
      a new instance of TagManager.Builder.
    • tagPropertyName

      @Stability(Stable) public TagManager.Builder tagPropertyName(String tagPropertyName)
      The name of the property in CloudFormation for these tags.

      Normally this is tags, but Cognito UserPool uses UserPoolTags

      Default: "tags"

      Parameters:
      tagPropertyName - The name of the property in CloudFormation for these tags. This parameter is required.
      Returns:
      this
    • build

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