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.BuilderA 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
@Stability(Stable) public static CfnTagAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagAssociation>- Returns:
- a newly built instance of
CfnTagAssociation.
-