Class CfnPolicyGrantPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnPolicyGrantPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyGrantPropsMixin>
- Enclosing class:
CfnPolicyGrantPropsMixin
@Stability(Stable)
public static final class CfnPolicyGrantPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyGrantPropsMixin>
A fluent builder for
CfnPolicyGrantPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The details of the policy grant member.detail(IResolvable detail) The details of the policy grant member.domainIdentifier(String domainIdentifier) The ID of the domain where you want to add a policy grant.entityIdentifier(String entityIdentifier) The ID of the entity (resource) to which you want to add a policy grant.entityType(String entityType) The type of entity (resource) to which the grant is added.policyType(String policyType) The type of policy that you want to grant.The principal of the policy grant member.principal(IResolvable principal) The principal of the policy grant member.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyGrantPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyGrantPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyGrantPropsMixin.Builder.
-
detail
The details of the policy grant member.- Parameters:
detail- The details of the policy grant member. This parameter is required.- Returns:
this- See Also:
-
detail
@Stability(Stable) public CfnPolicyGrantPropsMixin.Builder detail(CfnPolicyGrantPropsMixin.PolicyGrantDetailProperty detail) The details of the policy grant member.- Parameters:
detail- The details of the policy grant member. This parameter is required.- Returns:
this- See Also:
-
domainIdentifier
@Stability(Stable) public CfnPolicyGrantPropsMixin.Builder domainIdentifier(String domainIdentifier) The ID of the domain where you want to add a policy grant.- Parameters:
domainIdentifier- The ID of the domain where you want to add a policy grant. This parameter is required.- Returns:
this- See Also:
-
entityIdentifier
@Stability(Stable) public CfnPolicyGrantPropsMixin.Builder entityIdentifier(String entityIdentifier) The ID of the entity (resource) to which you want to add a policy grant.- Parameters:
entityIdentifier- The ID of the entity (resource) to which you want to add a policy grant. This parameter is required.- Returns:
this- See Also:
-
entityType
The type of entity (resource) to which the grant is added.- Parameters:
entityType- The type of entity (resource) to which the grant is added. This parameter is required.- Returns:
this- See Also:
-
policyType
The type of policy that you want to grant.- Parameters:
policyType- The type of policy that you want to grant. This parameter is required.- Returns:
this- See Also:
-
principal
The principal of the policy grant member.- Parameters:
principal- The principal of the policy grant member. This parameter is required.- Returns:
this- See Also:
-
principal
@Stability(Stable) public CfnPolicyGrantPropsMixin.Builder principal(CfnPolicyGrantPropsMixin.PolicyGrantPrincipalProperty principal) The principal of the policy grant member.- Parameters:
principal- The principal of the policy grant member. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyGrantPropsMixin>- Returns:
- a newly built instance of
CfnPolicyGrantPropsMixin.
-