Class ResourceAuthorization


  • public final class ResourceAuthorization
    extends Object
    The details of the authorization for the resource.
    • Constructor Detail

      • ResourceAuthorization

        public ResourceAuthorization()
    • Method Detail

      • getScope

        public String getScope()
        Get the scope property: The scope of the authorization.
        Returns:
        the scope value.
      • setScope

        public ResourceAuthorization setScope​(String scope)
        Set the scope property: The scope of the authorization.
        Parameters:
        scope - the scope value to set.
        Returns:
        the ResourceAuthorization object itself.
      • getAction

        public String getAction()
        Get the action property: The action being requested.
        Returns:
        the action value.
      • setAction

        public ResourceAuthorization setAction​(String action)
        Set the action property: The action being requested.
        Parameters:
        action - the action value to set.
        Returns:
        the ResourceAuthorization object itself.
      • getEvidence

        public Map<String,​String> getEvidence()
        Get the evidence property: The evidence for the authorization.
        Returns:
        the evidence value.
      • setEvidence

        public ResourceAuthorization setEvidence​(Map<String,​String> evidence)
        Set the evidence property: The evidence for the authorization.
        Parameters:
        evidence - the evidence value to set.
        Returns:
        the ResourceAuthorization object itself.