Class CfnPolicyGrant.PolicyGrantDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnPolicyGrant.PolicyGrantDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyGrant.PolicyGrantDetailProperty>
- Enclosing interface:
CfnPolicyGrant.PolicyGrantDetailProperty
@Stability(Stable)
public static final class CfnPolicyGrant.PolicyGrantDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyGrant.PolicyGrantDetailProperty>
A builder for
CfnPolicyGrant.PolicyGrantDetailProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToProjectMemberPool
(IResolvable addToProjectMemberPool) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getAddToProjectMemberPool()
addToProjectMemberPool
(CfnPolicyGrant.AddToProjectMemberPoolPolicyGrantDetailProperty addToProjectMemberPool) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getAddToProjectMemberPool()
build()
Builds the configured instance.createAssetType
(IResolvable createAssetType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateAssetType()
createAssetType
(CfnPolicyGrant.CreateAssetTypePolicyGrantDetailProperty createAssetType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateAssetType()
createDomainUnit
(IResolvable createDomainUnit) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateDomainUnit()
createDomainUnit
(CfnPolicyGrant.CreateDomainUnitPolicyGrantDetailProperty createDomainUnit) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateDomainUnit()
createEnvironment
(Object createEnvironment) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironment()
createEnvironmentFromBlueprint
(Object createEnvironmentFromBlueprint) createEnvironmentProfile
(IResolvable createEnvironmentProfile) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironmentProfile()
createEnvironmentProfile
(CfnPolicyGrant.CreateEnvironmentProfilePolicyGrantDetailProperty createEnvironmentProfile) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironmentProfile()
createFormType
(IResolvable createFormType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateFormType()
createFormType
(CfnPolicyGrant.CreateFormTypePolicyGrantDetailProperty createFormType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateFormType()
createGlossary
(IResolvable createGlossary) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateGlossary()
createGlossary
(CfnPolicyGrant.CreateGlossaryPolicyGrantDetailProperty createGlossary) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateGlossary()
createProject
(IResolvable createProject) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateProject()
Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateProject()
createProjectFromProjectProfile
(IResolvable createProjectFromProjectProfile) createProjectFromProjectProfile
(CfnPolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetailProperty createProjectFromProjectProfile) delegateCreateEnvironmentProfile
(Object delegateCreateEnvironmentProfile) overrideDomainUnitOwners
(IResolvable overrideDomainUnitOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideDomainUnitOwners()
overrideDomainUnitOwners
(CfnPolicyGrant.OverrideDomainUnitOwnersPolicyGrantDetailProperty overrideDomainUnitOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideDomainUnitOwners()
overrideProjectOwners
(IResolvable overrideProjectOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideProjectOwners()
overrideProjectOwners
(CfnPolicyGrant.OverrideProjectOwnersPolicyGrantDetailProperty overrideProjectOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideProjectOwners()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addToProjectMemberPool
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder addToProjectMemberPool(IResolvable addToProjectMemberPool) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getAddToProjectMemberPool()
- Parameters:
addToProjectMemberPool
- Specifies that the policy grant is to be added to the members of the project.- Returns:
this
-
addToProjectMemberPool
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder addToProjectMemberPool(CfnPolicyGrant.AddToProjectMemberPoolPolicyGrantDetailProperty addToProjectMemberPool) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getAddToProjectMemberPool()
- Parameters:
addToProjectMemberPool
- Specifies that the policy grant is to be added to the members of the project.- Returns:
this
-
createAssetType
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createAssetType(IResolvable createAssetType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateAssetType()
- Parameters:
createAssetType
- Specifies that this is a create asset type policy.- Returns:
this
-
createAssetType
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createAssetType(CfnPolicyGrant.CreateAssetTypePolicyGrantDetailProperty createAssetType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateAssetType()
- Parameters:
createAssetType
- Specifies that this is a create asset type policy.- Returns:
this
-
createDomainUnit
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createDomainUnit(IResolvable createDomainUnit) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateDomainUnit()
- Parameters:
createDomainUnit
- Specifies that this is a create domain unit policy.- Returns:
this
-
createDomainUnit
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createDomainUnit(CfnPolicyGrant.CreateDomainUnitPolicyGrantDetailProperty createDomainUnit) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateDomainUnit()
- Parameters:
createDomainUnit
- Specifies that this is a create domain unit policy.- Returns:
this
-
createEnvironment
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createEnvironment(Object createEnvironment) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironment()
- Parameters:
createEnvironment
- Specifies that this is a create environment policy.- Returns:
this
-
createEnvironmentFromBlueprint
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createEnvironmentFromBlueprint(Object createEnvironmentFromBlueprint) - Parameters:
createEnvironmentFromBlueprint
- The details of the policy of creating an environment.- Returns:
this
-
createEnvironmentProfile
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createEnvironmentProfile(IResolvable createEnvironmentProfile) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironmentProfile()
- Parameters:
createEnvironmentProfile
- Specifies that this is a create environment profile policy.- Returns:
this
-
createEnvironmentProfile
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createEnvironmentProfile(CfnPolicyGrant.CreateEnvironmentProfilePolicyGrantDetailProperty createEnvironmentProfile) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateEnvironmentProfile()
- Parameters:
createEnvironmentProfile
- Specifies that this is a create environment profile policy.- Returns:
this
-
createFormType
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createFormType(IResolvable createFormType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateFormType()
- Parameters:
createFormType
- Specifies that this is a create form type policy.- Returns:
this
-
createFormType
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createFormType(CfnPolicyGrant.CreateFormTypePolicyGrantDetailProperty createFormType) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateFormType()
- Parameters:
createFormType
- Specifies that this is a create form type policy.- Returns:
this
-
createGlossary
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createGlossary(IResolvable createGlossary) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateGlossary()
- Parameters:
createGlossary
- Specifies that this is a create glossary policy.- Returns:
this
-
createGlossary
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createGlossary(CfnPolicyGrant.CreateGlossaryPolicyGrantDetailProperty createGlossary) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateGlossary()
- Parameters:
createGlossary
- Specifies that this is a create glossary policy.- Returns:
this
-
createProject
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createProject(IResolvable createProject) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateProject()
- Parameters:
createProject
- Specifies that this is a create project policy.- Returns:
this
-
createProject
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createProject(CfnPolicyGrant.CreateProjectPolicyGrantDetailProperty createProject) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getCreateProject()
- Parameters:
createProject
- Specifies that this is a create project policy.- Returns:
this
-
createProjectFromProjectProfile
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createProjectFromProjectProfile(IResolvable createProjectFromProjectProfile) - Parameters:
createProjectFromProjectProfile
- Specifies whether to create a project from project profile.- Returns:
this
-
createProjectFromProjectProfile
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder createProjectFromProjectProfile(CfnPolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetailProperty createProjectFromProjectProfile) - Parameters:
createProjectFromProjectProfile
- Specifies whether to create a project from project profile.- Returns:
this
-
delegateCreateEnvironmentProfile
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder delegateCreateEnvironmentProfile(Object delegateCreateEnvironmentProfile) - Parameters:
delegateCreateEnvironmentProfile
- Specifies that this is the delegation of the create environment profile policy.- Returns:
this
-
overrideDomainUnitOwners
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder overrideDomainUnitOwners(IResolvable overrideDomainUnitOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideDomainUnitOwners()
- Parameters:
overrideDomainUnitOwners
- Specifies whether to override domain unit owners.- Returns:
this
-
overrideDomainUnitOwners
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder overrideDomainUnitOwners(CfnPolicyGrant.OverrideDomainUnitOwnersPolicyGrantDetailProperty overrideDomainUnitOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideDomainUnitOwners()
- Parameters:
overrideDomainUnitOwners
- Specifies whether to override domain unit owners.- Returns:
this
-
overrideProjectOwners
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder overrideProjectOwners(IResolvable overrideProjectOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideProjectOwners()
- Parameters:
overrideProjectOwners
- Specifies whether to override project owners.- Returns:
this
-
overrideProjectOwners
@Stability(Stable) public CfnPolicyGrant.PolicyGrantDetailProperty.Builder overrideProjectOwners(CfnPolicyGrant.OverrideProjectOwnersPolicyGrantDetailProperty overrideProjectOwners) Sets the value ofCfnPolicyGrant.PolicyGrantDetailProperty.getOverrideProjectOwners()
- Parameters:
overrideProjectOwners
- Specifies whether to override project owners.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicyGrant.PolicyGrantDetailProperty>
- Returns:
- a new instance of
CfnPolicyGrant.PolicyGrantDetailProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-