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 interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionSpecifies that the policy grant is to be added to the members of the project.static PolicyGrantDetail.Builderbuilder()Specifies that this is a create asset type policy.Specifies that this is a create domain unit policy.final UnitSpecifies that this is a create environment policy.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.final UnitSpecifies that this is the delegation of the create environment profile policy.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static PolicyGrantDetailfromAddToProjectMemberPool(Consumer<AddToProjectMemberPoolPolicyGrantDetail.Builder> addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()initialized to the given value.static PolicyGrantDetailfromAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool) Create an instance of this class withaddToProjectMemberPool()initialized to the given value.static PolicyGrantDetailfromCreateAssetType(Consumer<CreateAssetTypePolicyGrantDetail.Builder> createAssetType) Create an instance of this class withcreateAssetType()initialized to the given value.static PolicyGrantDetailfromCreateAssetType(CreateAssetTypePolicyGrantDetail createAssetType) Create an instance of this class withcreateAssetType()initialized to the given value.static PolicyGrantDetailfromCreateDomainUnit(Consumer<CreateDomainUnitPolicyGrantDetail.Builder> createDomainUnit) Create an instance of this class withcreateDomainUnit()initialized to the given value.static PolicyGrantDetailfromCreateDomainUnit(CreateDomainUnitPolicyGrantDetail createDomainUnit) Create an instance of this class withcreateDomainUnit()initialized to the given value.static PolicyGrantDetailfromCreateEnvironment(Consumer<Unit.Builder> createEnvironment) Create an instance of this class withcreateEnvironment()initialized to the given value.static PolicyGrantDetailfromCreateEnvironment(Unit createEnvironment) Create an instance of this class withcreateEnvironment()initialized to the given value.static PolicyGrantDetailfromCreateEnvironmentProfile(Consumer<CreateEnvironmentProfilePolicyGrantDetail.Builder> createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()initialized to the given value.static PolicyGrantDetailfromCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile) Create an instance of this class withcreateEnvironmentProfile()initialized to the given value.static PolicyGrantDetailfromCreateFormType(Consumer<CreateFormTypePolicyGrantDetail.Builder> createFormType) Create an instance of this class withcreateFormType()initialized to the given value.static PolicyGrantDetailfromCreateFormType(CreateFormTypePolicyGrantDetail createFormType) Create an instance of this class withcreateFormType()initialized to the given value.static PolicyGrantDetailfromCreateGlossary(Consumer<CreateGlossaryPolicyGrantDetail.Builder> createGlossary) Create an instance of this class withcreateGlossary()initialized to the given value.static PolicyGrantDetailfromCreateGlossary(CreateGlossaryPolicyGrantDetail createGlossary) Create an instance of this class withcreateGlossary()initialized to the given value.static PolicyGrantDetailfromCreateProject(Consumer<CreateProjectPolicyGrantDetail.Builder> createProject) Create an instance of this class withcreateProject()initialized to the given value.static PolicyGrantDetailfromCreateProject(CreateProjectPolicyGrantDetail createProject) Create an instance of this class withcreateProject()initialized to the given value.static PolicyGrantDetailfromDelegateCreateEnvironmentProfile(Consumer<Unit.Builder> delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()initialized to the given value.static PolicyGrantDetailfromDelegateCreateEnvironmentProfile(Unit delegateCreateEnvironmentProfile) Create an instance of this class withdelegateCreateEnvironmentProfile()initialized to the given value.static PolicyGrantDetailfromOverrideDomainUnitOwners(Consumer<OverrideDomainUnitOwnersPolicyGrantDetail.Builder> overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()initialized to the given value.static PolicyGrantDetailfromOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners) Create an instance of this class withoverrideDomainUnitOwners()initialized to the given value.static PolicyGrantDetailfromOverrideProjectOwners(Consumer<OverrideProjectOwnersPolicyGrantDetail.Builder> overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()initialized to the given value.static PolicyGrantDetailfromOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners) Create an instance of this class withoverrideProjectOwners()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()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 StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.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.
-
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.
-
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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyGrantDetail.Builder,PolicyGrantDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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.
-
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.
-
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.
-
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_VERSIONif 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_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-