Class CfnTagProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • tagKey

      @Stability(Stable) public CfnTagProps.Builder tagKey(String tagKey)
      Sets the value of CfnTagProps.getTagKey()
      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. The key-name for the LF-tag.
      Returns:
      this
    • tagValues

      @Stability(Stable) public CfnTagProps.Builder tagValues(List<String> tagValues)
      Sets the value of CfnTagProps.getTagValues()
      Parameters:
      tagValues - An array of UTF-8 strings, not less than 1 or more than 50 strings. This parameter is required. A list of possible values of the corresponding TagKey of an LF-tag key-value pair.
      Returns:
      this
    • catalogId

      @Stability(Stable) public CfnTagProps.Builder catalogId(String catalogId)
      Sets the value of CfnTagProps.getCatalogId()
      Parameters:
      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnTagProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTagProps>
      Returns:
      a new instance of CfnTagProps
      Throws:
      NullPointerException - if any required attribute was not provided