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 Summary
Modifier and TypeMethodDescriptionbuild()
Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .static CfnTag.Builder
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .An array of UTF-8 strings, not less than 1 or more than 50 strings.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnTag.Builder
.
-
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
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
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
-