Class CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagKeyResourceProperty>
- Enclosing interface:
CfnPrincipalPermissions.LFTagKeyResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagKeyResourceProperty>
A builder for
CfnPrincipalPermissions.LFTagKeyResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getCatalogId()Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getTagKey()Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getTagValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getCatalogId()- Parameters:
catalogId- The identifier for the Data Catalog where the location is registered with Data Catalog . This parameter is required.- Returns:
this
-
tagKey
@Stability(Stable) public CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder tagKey(String tagKey) Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getTagKey()- Parameters:
tagKey- The key-name for the LF-tag. This parameter is required.- Returns:
this
-
tagValues
@Stability(Stable) public CfnPrincipalPermissions.LFTagKeyResourceProperty.Builder tagValues(List<String> tagValues) Sets the value ofCfnPrincipalPermissions.LFTagKeyResourceProperty.getTagValues()- Parameters:
tagValues- A list of possible values for the correspondingTagKeyof an LF-tag key-value pair. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagKeyResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissions.LFTagKeyResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-