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