Class CfnTagAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnTagAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagAssociation>
- Enclosing class:
CfnTagAssociation
@Stability(Stable)
public static final class CfnTagAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagAssociation>
A fluent builder for
CfnTagAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnTagAssociation.Builder
A structure containing an LF-tag key-value pair.lfTags
(IResolvable lfTags) A structure containing an LF-tag key-value pair.resource
(IResolvable resource) UTF-8 string (valid values:DATABASE | TABLE
).resource
(CfnTagAssociation.ResourceProperty resource) UTF-8 string (valid values:DATABASE | TABLE
).
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnTagAssociation.Builder
.
-
lfTags
A structure containing an LF-tag key-value pair.- Parameters:
lfTags
- A structure containing an LF-tag key-value pair. This parameter is required.- Returns:
this
-
lfTags
A structure containing an LF-tag key-value pair.- Parameters:
lfTags
- A structure containing an LF-tag key-value pair. This parameter is required.- Returns:
this
-
resource
UTF-8 string (valid values:DATABASE | TABLE
).The resource for which the LF-tag policy applies.
- Parameters:
resource
- UTF-8 string (valid values:DATABASE | TABLE
). This parameter is required.- Returns:
this
-
resource
@Stability(Stable) public CfnTagAssociation.Builder resource(CfnTagAssociation.ResourceProperty resource) UTF-8 string (valid values:DATABASE | TABLE
).The resource for which the LF-tag policy applies.
- Parameters:
resource
- UTF-8 string (valid values:DATABASE | TABLE
). This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTagAssociation>
- Returns:
- a newly built instance of
CfnTagAssociation
.
-