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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTagProps.getCatalogId()
Sets the value ofCfnTagProps.getTagKey()
Sets the value ofCfnTagProps.getTagValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tagKey
Sets the value ofCfnTagProps.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
Sets the value ofCfnTagProps.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 correspondingTagKey
of an LF-tag key-value pair.- Returns:
this
-
catalogId
Sets the value ofCfnTagProps.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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTagProps>
- Returns:
- a new instance of
CfnTagProps
- Throws:
NullPointerException
- if any required attribute was not provided
-