Class CfnTag.Builder

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

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

    • create

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

      @Stability(Stable) public CfnTag.Builder tagKey(String tagKey)
      UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .

      The key-name for the LF-tag.

      Parameters:
      tagKey - UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required.
      Returns:
      this
    • tagValues

      @Stability(Stable) public CfnTag.Builder tagValues(List<String> tagValues)
      An array of UTF-8 strings, not less than 1 or more than 50 strings.

      A list of possible values of the corresponding TagKey of an LF-tag key-value pair.

      Parameters:
      tagValues - An array of UTF-8 strings, not less than 1 or more than 50 strings. This parameter is required.
      Returns:
      this
    • catalogId

      @Stability(Stable) public CfnTag.Builder catalogId(String catalogId)
      Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .

      The identifier for the Data Catalog . By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.

      Parameters:
      catalogId - Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required.
      Returns:
      this
    • build

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