Interface PolicyGrantDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyGrantDetail.Builder,,PolicyGrantDetail> SdkBuilder<PolicyGrantDetail.Builder,,PolicyGrantDetail> SdkPojo
- Enclosing class:
PolicyGrantDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyGrantDetail.BuilderaddToProjectMemberPool(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.BuildercreateAssetType(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.BuildercreateDomainUnit(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.BuildercreateEnvironment(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.BuildercreateEnvironmentProfile(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.BuildercreateFormType(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.BuildercreateGlossary(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.BuildercreateProject(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.BuilderdelegateCreateEnvironmentProfile(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.BuilderoverrideDomainUnitOwners(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Specifies whether to override domain unit owners.overrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Specifies whether to override domain unit owners.default PolicyGrantDetail.BuilderoverrideProjectOwners(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Specifies whether to override project owners.overrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Specifies whether to override project owners.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaAddToProjectMemberPoolPolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateAssetTypePolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateDomainUnitPolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaCreateEnvironmentProfilePolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateFormTypePolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateGlossaryPolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateProjectPolicyGrantDetail.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOverrideDomainUnitOwnersPolicyGrantDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOverrideProjectOwnersPolicyGrantDetail.builder().When the
Consumercompletes,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:
-