Class AppGrants.Builder

  • Enclosing class:
    AppGrants

    public static class AppGrants.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • value

        public AppGrants.Builder value​(String value)
        Grant identifier

        *SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Parameters:
        value - the value to set
        Returns:
        this builder
      • ref

        public AppGrants.Builder ref​(String ref)
        Grant URI

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none

        Parameters:
        ref - the value to set
        Returns:
        this builder
      • granteeId

        public AppGrants.Builder granteeId​(String granteeId)
        Grantee identifier

        *SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Parameters:
        granteeId - the value to set
        Returns:
        this builder
      • granteeType

        public AppGrants.Builder granteeType​(AppGrants.GranteeType granteeType)
        Grantee resource type.

        Allowed values are User and Group.

        *SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Parameters:
        granteeType - the value to set
        Returns:
        this builder
      • grantMechanism

        public AppGrants.Builder grantMechanism​(AppGrants.GrantMechanism grantMechanism)
        Each value of grantMechanism indicates how (or by what component) some App (or App-Entitlement) was granted.

        A customer or the UI should use only grantMechanism values that start with ‘ADMINISTRATOR’: - ‘ADMINISTRATOR_TO_USER’ is for a direct grant to a specific User. - ‘ADMINISTRATOR_TO_GROUP’ is for a grant to a specific Group, which results in indirect grants to Users who are members of that Group. - ‘ADMINISTRATOR_TO_APP’ is for a grant to a specific App. The grantee (client) App gains access to the granted (server) App.

        *SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Parameters:
        grantMechanism - the value to set
        Returns:
        this builder