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