Class PolicyGrantDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PolicyGrantDetail.Builder,
PolicyGrantDetail>
The details of the policy grant.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that the policy grant is to be added to the members of the project.static PolicyGrantDetail.Builder
builder()
Specifies that this is a create asset type policy.Specifies that this is a create domain unit policy.final Unit
Specifies that this is a create environment policy.final Unit
Returns the value of the CreateEnvironmentFromBlueprint property for this object.Specifies that this is a create environment profile policy.Specifies that this is a create form type policy.Specifies that this is a create glossary policy.Specifies that this is a create project policy.Specifies whether to create a project from project profile.final Unit
Specifies that this is the delegation of the create environment profile policy.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static PolicyGrantDetail
fromAddToProjectMemberPool
(Consumer<AddToProjectMemberPoolPolicyGrantDetail.Builder> addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()
initialized to the given value.static PolicyGrantDetail
fromAddToProjectMemberPool
(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()
initialized to the given value.static PolicyGrantDetail
fromCreateAssetType
(Consumer<CreateAssetTypePolicyGrantDetail.Builder> createAssetType) Create an instance of this class withcreateAssetType()
initialized to the given value.static PolicyGrantDetail
fromCreateAssetType
(CreateAssetTypePolicyGrantDetail createAssetType) Create an instance of this class withcreateAssetType()
initialized to the given value.static PolicyGrantDetail
fromCreateDomainUnit
(Consumer<CreateDomainUnitPolicyGrantDetail.Builder> createDomainUnit) Create an instance of this class withcreateDomainUnit()
initialized to the given value.static PolicyGrantDetail
fromCreateDomainUnit
(CreateDomainUnitPolicyGrantDetail createDomainUnit) Create an instance of this class withcreateDomainUnit()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironment
(Consumer<Unit.Builder> createEnvironment) Create an instance of this class withcreateEnvironment()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironment
(Unit createEnvironment) Create an instance of this class withcreateEnvironment()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironmentFromBlueprint
(Consumer<Unit.Builder> createEnvironmentFromBlueprint) Create an instance of this class withcreateEnvironmentFromBlueprint()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironmentFromBlueprint
(Unit createEnvironmentFromBlueprint) Create an instance of this class withcreateEnvironmentFromBlueprint()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironmentProfile
(Consumer<CreateEnvironmentProfilePolicyGrantDetail.Builder> createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()
initialized to the given value.static PolicyGrantDetail
fromCreateEnvironmentProfile
(CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()
initialized to the given value.static PolicyGrantDetail
fromCreateFormType
(Consumer<CreateFormTypePolicyGrantDetail.Builder> createFormType) Create an instance of this class withcreateFormType()
initialized to the given value.static PolicyGrantDetail
fromCreateFormType
(CreateFormTypePolicyGrantDetail createFormType) Create an instance of this class withcreateFormType()
initialized to the given value.static PolicyGrantDetail
fromCreateGlossary
(Consumer<CreateGlossaryPolicyGrantDetail.Builder> createGlossary) Create an instance of this class withcreateGlossary()
initialized to the given value.static PolicyGrantDetail
fromCreateGlossary
(CreateGlossaryPolicyGrantDetail createGlossary) Create an instance of this class withcreateGlossary()
initialized to the given value.static PolicyGrantDetail
fromCreateProject
(Consumer<CreateProjectPolicyGrantDetail.Builder> createProject) Create an instance of this class withcreateProject()
initialized to the given value.static PolicyGrantDetail
fromCreateProject
(CreateProjectPolicyGrantDetail createProject) Create an instance of this class withcreateProject()
initialized to the given value.static PolicyGrantDetail
fromCreateProjectFromProjectProfile
(Consumer<CreateProjectFromProjectProfilePolicyGrantDetail.Builder> createProjectFromProjectProfile) Create an instance of this class withcreateProjectFromProjectProfile()
initialized to the given value.static PolicyGrantDetail
fromCreateProjectFromProjectProfile
(CreateProjectFromProjectProfilePolicyGrantDetail createProjectFromProjectProfile) Create an instance of this class withcreateProjectFromProjectProfile()
initialized to the given value.static PolicyGrantDetail
fromDelegateCreateEnvironmentProfile
(Consumer<Unit.Builder> delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()
initialized to the given value.static PolicyGrantDetail
fromDelegateCreateEnvironmentProfile
(Unit delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()
initialized to the given value.static PolicyGrantDetail
fromOverrideDomainUnitOwners
(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()
initialized to the given value.static PolicyGrantDetail
fromOverrideDomainUnitOwners
(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()
initialized to the given value.static PolicyGrantDetail
fromOverrideProjectOwners
(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()
initialized to the given value.static PolicyGrantDetail
fromOverrideProjectOwners
(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()
initialized to the given value.static PolicyGrantDetail
fromUseAssetType
(Consumer<UseAssetTypePolicyGrantDetail.Builder> useAssetType) Create an instance of this class withuseAssetType()
initialized to the given value.static PolicyGrantDetail
fromUseAssetType
(UseAssetTypePolicyGrantDetail useAssetType) Create an instance of this class withuseAssetType()
initialized to the given value.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
Specifies whether to override domain unit owners.Specifies whether to override project owners.static Class
<? extends PolicyGrantDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.type()
Retrieve an enum value representing which member of this object is populated.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.ToCopyableBuilder
copy
-
Method Details
-
addToProjectMemberPool
Specifies that the policy grant is to be added to the members of the project.
- Returns:
- Specifies that the policy grant is to be added to the members of the project.
-
createAssetType
Specifies that this is a create asset type policy.
- Returns:
- Specifies that this is a create asset type policy.
-
createDomainUnit
Specifies that this is a create domain unit policy.
- Returns:
- Specifies that this is a create domain unit policy.
-
createEnvironment
Specifies that this is a create environment policy.
- Returns:
- Specifies that this is a create environment policy.
-
createEnvironmentFromBlueprint
Returns the value of the CreateEnvironmentFromBlueprint property for this object.- Returns:
- The value of the CreateEnvironmentFromBlueprint property for this object.
-
createEnvironmentProfile
Specifies that this is a create environment profile policy.
- Returns:
- Specifies that this is a create environment profile policy.
-
createFormType
Specifies that this is a create form type policy.
- Returns:
- Specifies that this is a create form type policy.
-
createGlossary
Specifies that this is a create glossary policy.
- Returns:
- Specifies that this is a create glossary policy.
-
createProject
Specifies that this is a create project policy.
- Returns:
- Specifies that this is a create project policy.
-
createProjectFromProjectProfile
Specifies whether to create a project from project profile.
- Returns:
- Specifies whether to create a project from project profile.
-
delegateCreateEnvironmentProfile
Specifies that this is the delegation of the create environment profile policy.
- Returns:
- Specifies that this is the delegation of the create environment profile policy.
-
overrideDomainUnitOwners
Specifies whether to override domain unit owners.
- Returns:
- Specifies whether to override domain unit owners.
-
overrideProjectOwners
Specifies whether to override project owners.
- Returns:
- Specifies whether to override project owners.
-
useAssetType
Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.
- Returns:
- Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<PolicyGrantDetail.Builder,
PolicyGrantDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromAddToProjectMemberPool
public static PolicyGrantDetail fromAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()
initialized to the given value.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.
-
fromAddToProjectMemberPool
public static PolicyGrantDetail fromAddToProjectMemberPool(Consumer<AddToProjectMemberPoolPolicyGrantDetail.Builder> addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()
initialized to the given value.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.
-
fromCreateAssetType
public static PolicyGrantDetail fromCreateAssetType(CreateAssetTypePolicyGrantDetail createAssetType) Create an instance of this class withcreateAssetType()
initialized to the given value.Specifies that this is a create asset type policy.
- Parameters:
createAssetType
- Specifies that this is a create asset type policy.
-
fromCreateAssetType
public static PolicyGrantDetail fromCreateAssetType(Consumer<CreateAssetTypePolicyGrantDetail.Builder> createAssetType) Create an instance of this class withcreateAssetType()
initialized to the given value.Specifies that this is a create asset type policy.
- Parameters:
createAssetType
- Specifies that this is a create asset type policy.
-
fromCreateDomainUnit
public static PolicyGrantDetail fromCreateDomainUnit(CreateDomainUnitPolicyGrantDetail createDomainUnit) Create an instance of this class withcreateDomainUnit()
initialized to the given value.Specifies that this is a create domain unit policy.
- Parameters:
createDomainUnit
- Specifies that this is a create domain unit policy.
-
fromCreateDomainUnit
public static PolicyGrantDetail fromCreateDomainUnit(Consumer<CreateDomainUnitPolicyGrantDetail.Builder> createDomainUnit) Create an instance of this class withcreateDomainUnit()
initialized to the given value.Specifies that this is a create domain unit policy.
- Parameters:
createDomainUnit
- Specifies that this is a create domain unit policy.
-
fromCreateEnvironment
Create an instance of this class withcreateEnvironment()
initialized to the given value.Specifies that this is a create environment policy.
- Parameters:
createEnvironment
- Specifies that this is a create environment policy.
-
fromCreateEnvironment
Create an instance of this class withcreateEnvironment()
initialized to the given value.Specifies that this is a create environment policy.
- Parameters:
createEnvironment
- Specifies that this is a create environment policy.
-
fromCreateEnvironmentFromBlueprint
public static PolicyGrantDetail fromCreateEnvironmentFromBlueprint(Unit createEnvironmentFromBlueprint) Create an instance of this class withcreateEnvironmentFromBlueprint()
initialized to the given value. Sets the value of the CreateEnvironmentFromBlueprint property for this object.- Parameters:
createEnvironmentFromBlueprint
- The new value for the CreateEnvironmentFromBlueprint property for this object.
-
fromCreateEnvironmentFromBlueprint
public static PolicyGrantDetail fromCreateEnvironmentFromBlueprint(Consumer<Unit.Builder> createEnvironmentFromBlueprint) Create an instance of this class withcreateEnvironmentFromBlueprint()
initialized to the given value. Sets the value of the CreateEnvironmentFromBlueprint property for this object.- Parameters:
createEnvironmentFromBlueprint
- The new value for the CreateEnvironmentFromBlueprint property for this object.
-
fromCreateEnvironmentProfile
public static PolicyGrantDetail fromCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()
initialized to the given value.Specifies that this is a create environment profile policy.
- Parameters:
createEnvironmentProfile
- Specifies that this is a create environment profile policy.
-
fromCreateEnvironmentProfile
public static PolicyGrantDetail fromCreateEnvironmentProfile(Consumer<CreateEnvironmentProfilePolicyGrantDetail.Builder> createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()
initialized to the given value.Specifies that this is a create environment profile policy.
- Parameters:
createEnvironmentProfile
- Specifies that this is a create environment profile policy.
-
fromCreateFormType
Create an instance of this class withcreateFormType()
initialized to the given value.Specifies that this is a create form type policy.
- Parameters:
createFormType
- Specifies that this is a create form type policy.
-
fromCreateFormType
public static PolicyGrantDetail fromCreateFormType(Consumer<CreateFormTypePolicyGrantDetail.Builder> createFormType) Create an instance of this class withcreateFormType()
initialized to the given value.Specifies that this is a create form type policy.
- Parameters:
createFormType
- Specifies that this is a create form type policy.
-
fromCreateGlossary
Create an instance of this class withcreateGlossary()
initialized to the given value.Specifies that this is a create glossary policy.
- Parameters:
createGlossary
- Specifies that this is a create glossary policy.
-
fromCreateGlossary
public static PolicyGrantDetail fromCreateGlossary(Consumer<CreateGlossaryPolicyGrantDetail.Builder> createGlossary) Create an instance of this class withcreateGlossary()
initialized to the given value.Specifies that this is a create glossary policy.
- Parameters:
createGlossary
- Specifies that this is a create glossary policy.
-
fromCreateProject
Create an instance of this class withcreateProject()
initialized to the given value.Specifies that this is a create project policy.
- Parameters:
createProject
- Specifies that this is a create project policy.
-
fromCreateProject
public static PolicyGrantDetail fromCreateProject(Consumer<CreateProjectPolicyGrantDetail.Builder> createProject) Create an instance of this class withcreateProject()
initialized to the given value.Specifies that this is a create project policy.
- Parameters:
createProject
- Specifies that this is a create project policy.
-
fromCreateProjectFromProjectProfile
public static PolicyGrantDetail fromCreateProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetail createProjectFromProjectProfile) Create an instance of this class withcreateProjectFromProjectProfile()
initialized to the given value.Specifies whether to create a project from project profile.
- Parameters:
createProjectFromProjectProfile
- Specifies whether to create a project from project profile.
-
fromCreateProjectFromProjectProfile
public static PolicyGrantDetail fromCreateProjectFromProjectProfile(Consumer<CreateProjectFromProjectProfilePolicyGrantDetail.Builder> createProjectFromProjectProfile) Create an instance of this class withcreateProjectFromProjectProfile()
initialized to the given value.Specifies whether to create a project from project profile.
- Parameters:
createProjectFromProjectProfile
- Specifies whether to create a project from project profile.
-
fromDelegateCreateEnvironmentProfile
public static PolicyGrantDetail fromDelegateCreateEnvironmentProfile(Unit delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()
initialized to the given value.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.
-
fromDelegateCreateEnvironmentProfile
public static PolicyGrantDetail fromDelegateCreateEnvironmentProfile(Consumer<Unit.Builder> delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()
initialized to the given value.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.
-
fromOverrideDomainUnitOwners
public static PolicyGrantDetail fromOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()
initialized to the given value.Specifies whether to override domain unit owners.
- Parameters:
overrideDomainUnitOwners
- Specifies whether to override domain unit owners.
-
fromOverrideDomainUnitOwners
public static PolicyGrantDetail fromOverrideDomainUnitOwners(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()
initialized to the given value.Specifies whether to override domain unit owners.
- Parameters:
overrideDomainUnitOwners
- Specifies whether to override domain unit owners.
-
fromOverrideProjectOwners
public static PolicyGrantDetail fromOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()
initialized to the given value.Specifies whether to override project owners.
- Parameters:
overrideProjectOwners
- Specifies whether to override project owners.
-
fromOverrideProjectOwners
public static PolicyGrantDetail fromOverrideProjectOwners(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()
initialized to the given value.Specifies whether to override project owners.
- Parameters:
overrideProjectOwners
- Specifies whether to override project owners.
-
fromUseAssetType
Create an instance of this class withuseAssetType()
initialized to the given value.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.
-
fromUseAssetType
public static PolicyGrantDetail fromUseAssetType(Consumer<UseAssetTypePolicyGrantDetail.Builder> useAssetType) Create an instance of this class withuseAssetType()
initialized to the given value.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.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will bePolicyGrantDetail.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will bePolicyGrantDetail.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-