Class CfnTagAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnTagAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagAssociationProps>
- Enclosing interface:
CfnTagAssociationProps
@Stability(Stable)
public static final class CfnTagAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagAssociationProps>
A builder for
CfnTagAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTagAssociationProps.getLfTags()lfTags(IResolvable lfTags) Sets the value ofCfnTagAssociationProps.getLfTags()resource(IResolvable resource) Sets the value ofCfnTagAssociationProps.getResource()resource(CfnTagAssociation.ResourceProperty resource) Sets the value ofCfnTagAssociationProps.getResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lfTags
Sets the value ofCfnTagAssociationProps.getLfTags()- Parameters:
lfTags- A structure containing an LF-tag key-value pair. This parameter is required.- Returns:
this
-
lfTags
Sets the value ofCfnTagAssociationProps.getLfTags()- Parameters:
lfTags- A structure containing an LF-tag key-value pair. This parameter is required.- Returns:
this
-
resource
Sets the value ofCfnTagAssociationProps.getResource()- Parameters:
resource- UTF-8 string (valid values:DATABASE | TABLE). This parameter is required. The resource for which the LF-tag policy applies.- Returns:
this
-
resource
@Stability(Stable) public CfnTagAssociationProps.Builder resource(CfnTagAssociation.ResourceProperty resource) Sets the value ofCfnTagAssociationProps.getResource()- Parameters:
resource- UTF-8 string (valid values:DATABASE | TABLE). This parameter is required. The resource for which the LF-tag policy applies.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagAssociationProps>- Returns:
- a new instance of
CfnTagAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-