Class CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagPolicyResourceProperty>
- Enclosing interface:
CfnPrincipalPermissions.LFTagPolicyResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagPolicyResourceProperty>
A builder for
CfnPrincipalPermissions.LFTagPolicyResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getCatalogId()expression(List<? extends Object> expression) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getExpression()expression(IResolvable expression) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getExpression()resourceType(String resourceType) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getCatalogId()- Parameters:
catalogId- The identifier for the Data Catalog . This parameter is required. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.- Returns:
this
-
expression
@Stability(Stable) public CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder expression(IResolvable expression) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getExpression()- Parameters:
expression- A list of LF-tag conditions that apply to the resource's LF-tag policy. This parameter is required.- Returns:
this
-
expression
@Stability(Stable) public CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder expression(List<? extends Object> expression) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getExpression()- Parameters:
expression- A list of LF-tag conditions that apply to the resource's LF-tag policy. This parameter is required.- Returns:
this
-
resourceType
@Stability(Stable) public CfnPrincipalPermissions.LFTagPolicyResourceProperty.Builder resourceType(String resourceType) Sets the value ofCfnPrincipalPermissions.LFTagPolicyResourceProperty.getResourceType()- Parameters:
resourceType- The resource type for which the LF-tag policy applies. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrincipalPermissions.LFTagPolicyResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissions.LFTagPolicyResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-