Class PolicyGrantDetail

    • Method Detail

      • addToProjectMemberPool

        public final AddToProjectMemberPoolPolicyGrantDetail 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

        public final CreateAssetTypePolicyGrantDetail createAssetType()

        Specifies that this is a create asset type policy.

        Returns:
        Specifies that this is a create asset type policy.
      • createDomainUnit

        public final CreateDomainUnitPolicyGrantDetail createDomainUnit()

        Specifies that this is a create domain unit policy.

        Returns:
        Specifies that this is a create domain unit policy.
      • createEnvironment

        public final Unit createEnvironment()

        Specifies that this is a create environment policy.

        Returns:
        Specifies that this is a create environment policy.
      • createEnvironmentProfile

        public final CreateEnvironmentProfilePolicyGrantDetail createEnvironmentProfile()

        Specifies that this is a create environment profile policy.

        Returns:
        Specifies that this is a create environment profile policy.
      • createFormType

        public final CreateFormTypePolicyGrantDetail createFormType()

        Specifies that this is a create form type policy.

        Returns:
        Specifies that this is a create form type policy.
      • createGlossary

        public final CreateGlossaryPolicyGrantDetail createGlossary()

        Specifies that this is a create glossary policy.

        Returns:
        Specifies that this is a create glossary policy.
      • createProject

        public final CreateProjectPolicyGrantDetail createProject()

        Specifies that this is a create project policy.

        Returns:
        Specifies that this is a create project policy.
      • delegateCreateEnvironmentProfile

        public final Unit 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

        public final OverrideDomainUnitOwnersPolicyGrantDetail overrideDomainUnitOwners()

        Specifies whether to override domain unit owners.

        Returns:
        Specifies whether to override domain unit owners.
      • overrideProjectOwners

        public final OverrideProjectOwnersPolicyGrantDetail overrideProjectOwners()

        Specifies whether to override project owners.

        Returns:
        Specifies whether to override project owners.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromAddToProjectMemberPool

        public static PolicyGrantDetail fromAddToProjectMemberPool​(AddToProjectMemberPoolPolicyGrantDetail addToProjectMemberPool)
        Create an instance of this class with addToProjectMemberPool() 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 with createAssetType() 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 with createDomainUnit() 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

        public static PolicyGrantDetail fromCreateEnvironment​(Unit createEnvironment)
        Create an instance of this class with createEnvironment() initialized to the given value.

        Specifies that this is a create environment policy.

        Parameters:
        createEnvironment - Specifies that this is a create environment policy.
      • fromCreateEnvironment

        public static PolicyGrantDetail fromCreateEnvironment​(Consumer<Unit.Builder> createEnvironment)
        Create an instance of this class with createEnvironment() 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 with createEnvironmentProfile() 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

        public static PolicyGrantDetail fromCreateFormType​(CreateFormTypePolicyGrantDetail createFormType)
        Create an instance of this class with createFormType() 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

        public static PolicyGrantDetail fromCreateGlossary​(CreateGlossaryPolicyGrantDetail createGlossary)
        Create an instance of this class with createGlossary() initialized to the given value.

        Specifies that this is a create glossary policy.

        Parameters:
        createGlossary - Specifies that this is a create glossary policy.
      • fromCreateProject

        public static PolicyGrantDetail fromCreateProject​(CreateProjectPolicyGrantDetail createProject)
        Create an instance of this class with createProject() 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 with delegateCreateEnvironmentProfile() 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 with delegateCreateEnvironmentProfile() 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.