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