Interface PolicyGrantDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyGrantDetail.Builder,
,PolicyGrantDetail> SdkBuilder<PolicyGrantDetail.Builder,
,PolicyGrantDetail> SdkPojo
- Enclosing class:
PolicyGrantDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyGrantDetail.Builder
addToProjectMemberPool
(Consumer<AddToProjectMemberPoolPolicyGrantDetail.Builder> addToProjectMemberPool) Specifies that the policy grant is to be added to the members of the project.addToProjectMemberPool
(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool) Specifies that the policy grant is to be added to the members of the project.default PolicyGrantDetail.Builder
createAssetType
(Consumer<CreateAssetTypePolicyGrantDetail.Builder> createAssetType) Specifies that this is a create asset type policy.createAssetType
(CreateAssetTypePolicyGrantDetail createAssetType) Specifies that this is a create asset type policy.default PolicyGrantDetail.Builder
createDomainUnit
(Consumer<CreateDomainUnitPolicyGrantDetail.Builder> createDomainUnit) Specifies that this is a create domain unit policy.createDomainUnit
(CreateDomainUnitPolicyGrantDetail createDomainUnit) Specifies that this is a create domain unit policy.default PolicyGrantDetail.Builder
createEnvironment
(Consumer<Unit.Builder> createEnvironment) Specifies that this is a create environment policy.createEnvironment
(Unit createEnvironment) Specifies that this is a create environment policy.default PolicyGrantDetail.Builder
createEnvironmentFromBlueprint
(Consumer<Unit.Builder> createEnvironmentFromBlueprint) Sets the value of the CreateEnvironmentFromBlueprint property for this object.createEnvironmentFromBlueprint
(Unit createEnvironmentFromBlueprint) Sets the value of the CreateEnvironmentFromBlueprint property for this object.default PolicyGrantDetail.Builder
createEnvironmentProfile
(Consumer<CreateEnvironmentProfilePolicyGrantDetail.Builder> createEnvironmentProfile) Specifies that this is a create environment profile policy.createEnvironmentProfile
(CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile) Specifies that this is a create environment profile policy.default PolicyGrantDetail.Builder
createFormType
(Consumer<CreateFormTypePolicyGrantDetail.Builder> createFormType) Specifies that this is a create form type policy.createFormType
(CreateFormTypePolicyGrantDetail createFormType) Specifies that this is a create form type policy.default PolicyGrantDetail.Builder
createGlossary
(Consumer<CreateGlossaryPolicyGrantDetail.Builder> createGlossary) Specifies that this is a create glossary policy.createGlossary
(CreateGlossaryPolicyGrantDetail createGlossary) Specifies that this is a create glossary policy.default PolicyGrantDetail.Builder
createProject
(Consumer<CreateProjectPolicyGrantDetail.Builder> createProject) Specifies that this is a create project policy.createProject
(CreateProjectPolicyGrantDetail createProject) Specifies that this is a create project policy.default PolicyGrantDetail.Builder
createProjectFromProjectProfile
(Consumer<CreateProjectFromProjectProfilePolicyGrantDetail.Builder> createProjectFromProjectProfile) Specifies whether to create a project from project profile.createProjectFromProjectProfile
(CreateProjectFromProjectProfilePolicyGrantDetail createProjectFromProjectProfile) Specifies whether to create a project from project profile.default PolicyGrantDetail.Builder
delegateCreateEnvironmentProfile
(Consumer<Unit.Builder> delegateCreateEnvironmentProfile) Specifies that this is the delegation of the create environment profile policy.delegateCreateEnvironmentProfile
(Unit delegateCreateEnvironmentProfile) Specifies that this is the delegation of the create environment profile policy.default PolicyGrantDetail.Builder
overrideDomainUnitOwners
(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Specifies whether to override domain unit owners.overrideDomainUnitOwners
(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Specifies whether to override domain unit owners.default PolicyGrantDetail.Builder
overrideProjectOwners
(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Specifies whether to override project owners.overrideProjectOwners
(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Specifies whether to override project owners.default PolicyGrantDetail.Builder
useAssetType
(Consumer<UseAssetTypePolicyGrantDetail.Builder> useAssetType) Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.useAssetType
(UseAssetTypePolicyGrantDetail useAssetType) Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
addToProjectMemberPool
PolicyGrantDetail.Builder addToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool) Specifies that the policy grant is to be added to the members of the project.
- Parameters:
addToProjectMemberPool
- Specifies that the policy grant is to be added to the members of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addToProjectMemberPool
default PolicyGrantDetail.Builder addToProjectMemberPool(Consumer<AddToProjectMemberPoolPolicyGrantDetail.Builder> addToProjectMemberPool) Specifies that the policy grant is to be added to the members of the project.
This is a convenience method that creates an instance of theAddToProjectMemberPoolPolicyGrantDetail.Builder
avoiding the need to create one manually viaAddToProjectMemberPoolPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail)
.- Parameters:
addToProjectMemberPool
- a consumer that will call methods onAddToProjectMemberPoolPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createAssetType
Specifies that this is a create asset type policy.
- Parameters:
createAssetType
- Specifies that this is a create asset type policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createAssetType
default PolicyGrantDetail.Builder createAssetType(Consumer<CreateAssetTypePolicyGrantDetail.Builder> createAssetType) Specifies that this is a create asset type policy.
This is a convenience method that creates an instance of theCreateAssetTypePolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateAssetTypePolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateAssetType(CreateAssetTypePolicyGrantDetail)
.- Parameters:
createAssetType
- a consumer that will call methods onCreateAssetTypePolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createDomainUnit
Specifies that this is a create domain unit policy.
- Parameters:
createDomainUnit
- Specifies that this is a create domain unit policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDomainUnit
default PolicyGrantDetail.Builder createDomainUnit(Consumer<CreateDomainUnitPolicyGrantDetail.Builder> createDomainUnit) Specifies that this is a create domain unit policy.
This is a convenience method that creates an instance of theCreateDomainUnitPolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateDomainUnitPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateDomainUnit(CreateDomainUnitPolicyGrantDetail)
.- Parameters:
createDomainUnit
- a consumer that will call methods onCreateDomainUnitPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createEnvironment
Specifies that this is a create environment policy.
- Parameters:
createEnvironment
- Specifies that this is a create environment policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createEnvironment
Specifies that this is a create environment policy.
This is a convenience method that creates an instance of theUnit.Builder
avoiding the need to create one manually viaUnit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateEnvironment(Unit)
.- Parameters:
createEnvironment
- a consumer that will call methods onUnit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createEnvironmentFromBlueprint
Sets the value of the CreateEnvironmentFromBlueprint property for this object.- Parameters:
createEnvironmentFromBlueprint
- The new value for the CreateEnvironmentFromBlueprint property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createEnvironmentFromBlueprint
default PolicyGrantDetail.Builder createEnvironmentFromBlueprint(Consumer<Unit.Builder> createEnvironmentFromBlueprint) Sets the value of the CreateEnvironmentFromBlueprint property for this object. This is a convenience method that creates an instance of theUnit.Builder
avoiding the need to create one manually viaUnit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateEnvironmentFromBlueprint(Unit)
.- Parameters:
createEnvironmentFromBlueprint
- a consumer that will call methods onUnit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createEnvironmentProfile
PolicyGrantDetail.Builder createEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile) Specifies that this is a create environment profile policy.
- Parameters:
createEnvironmentProfile
- Specifies that this is a create environment profile policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createEnvironmentProfile
default PolicyGrantDetail.Builder createEnvironmentProfile(Consumer<CreateEnvironmentProfilePolicyGrantDetail.Builder> createEnvironmentProfile) Specifies that this is a create environment profile policy.
This is a convenience method that creates an instance of theCreateEnvironmentProfilePolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateEnvironmentProfilePolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail)
.- Parameters:
createEnvironmentProfile
- a consumer that will call methods onCreateEnvironmentProfilePolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createFormType
Specifies that this is a create form type policy.
- Parameters:
createFormType
- Specifies that this is a create form type policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createFormType
default PolicyGrantDetail.Builder createFormType(Consumer<CreateFormTypePolicyGrantDetail.Builder> createFormType) Specifies that this is a create form type policy.
This is a convenience method that creates an instance of theCreateFormTypePolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateFormTypePolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateFormType(CreateFormTypePolicyGrantDetail)
.- Parameters:
createFormType
- a consumer that will call methods onCreateFormTypePolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createGlossary
Specifies that this is a create glossary policy.
- Parameters:
createGlossary
- Specifies that this is a create glossary policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createGlossary
default PolicyGrantDetail.Builder createGlossary(Consumer<CreateGlossaryPolicyGrantDetail.Builder> createGlossary) Specifies that this is a create glossary policy.
This is a convenience method that creates an instance of theCreateGlossaryPolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateGlossaryPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateGlossary(CreateGlossaryPolicyGrantDetail)
.- Parameters:
createGlossary
- a consumer that will call methods onCreateGlossaryPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createProject
Specifies that this is a create project policy.
- Parameters:
createProject
- Specifies that this is a create project policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createProject
default PolicyGrantDetail.Builder createProject(Consumer<CreateProjectPolicyGrantDetail.Builder> createProject) Specifies that this is a create project policy.
This is a convenience method that creates an instance of theCreateProjectPolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateProjectPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateProject(CreateProjectPolicyGrantDetail)
.- Parameters:
createProject
- a consumer that will call methods onCreateProjectPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createProjectFromProjectProfile
PolicyGrantDetail.Builder createProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetail createProjectFromProjectProfile) Specifies whether to create a project from project profile.
- Parameters:
createProjectFromProjectProfile
- Specifies whether to create a project from project profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createProjectFromProjectProfile
default PolicyGrantDetail.Builder createProjectFromProjectProfile(Consumer<CreateProjectFromProjectProfilePolicyGrantDetail.Builder> createProjectFromProjectProfile) Specifies whether to create a project from project profile.
This is a convenience method that creates an instance of theCreateProjectFromProjectProfilePolicyGrantDetail.Builder
avoiding the need to create one manually viaCreateProjectFromProjectProfilePolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetail)
.- Parameters:
createProjectFromProjectProfile
- a consumer that will call methods onCreateProjectFromProjectProfilePolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delegateCreateEnvironmentProfile
Specifies that this is the delegation of the create environment profile policy.
- Parameters:
delegateCreateEnvironmentProfile
- Specifies that this is the delegation of the create environment profile policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegateCreateEnvironmentProfile
default PolicyGrantDetail.Builder delegateCreateEnvironmentProfile(Consumer<Unit.Builder> delegateCreateEnvironmentProfile) Specifies that this is the delegation of the create environment profile policy.
This is a convenience method that creates an instance of theUnit.Builder
avoiding the need to create one manually viaUnit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todelegateCreateEnvironmentProfile(Unit)
.- Parameters:
delegateCreateEnvironmentProfile
- a consumer that will call methods onUnit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideDomainUnitOwners
PolicyGrantDetail.Builder overrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Specifies whether to override domain unit owners.
- Parameters:
overrideDomainUnitOwners
- Specifies whether to override domain unit owners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideDomainUnitOwners
default PolicyGrantDetail.Builder overrideDomainUnitOwners(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Specifies whether to override domain unit owners.
This is a convenience method that creates an instance of theOverrideDomainUnitOwnersPolicyGrantDetail.Builder
avoiding the need to create one manually viaOverrideDomainUnitOwnersPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail)
.- Parameters:
overrideDomainUnitOwners
- a consumer that will call methods onOverrideDomainUnitOwnersPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideProjectOwners
PolicyGrantDetail.Builder overrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Specifies whether to override project owners.
- Parameters:
overrideProjectOwners
- Specifies whether to override project owners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideProjectOwners
default PolicyGrantDetail.Builder overrideProjectOwners(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Specifies whether to override project owners.
This is a convenience method that creates an instance of theOverrideProjectOwnersPolicyGrantDetail.Builder
avoiding the need to create one manually viaOverrideProjectOwnersPolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail)
.- Parameters:
overrideProjectOwners
- a consumer that will call methods onOverrideProjectOwnersPolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
useAssetType
Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.
- Parameters:
useAssetType
- Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useAssetType
default PolicyGrantDetail.Builder useAssetType(Consumer<UseAssetTypePolicyGrantDetail.Builder> useAssetType) Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.
This is a convenience method that creates an instance of theUseAssetTypePolicyGrantDetail.Builder
avoiding the need to create one manually viaUseAssetTypePolicyGrantDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touseAssetType(UseAssetTypePolicyGrantDetail)
.- Parameters:
useAssetType
- a consumer that will call methods onUseAssetTypePolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-