Interface CheckAccessNotGrantedResponse.Builder

    • Method Detail

      • result

        CheckAccessNotGrantedResponse.Builder result​(String result)

        The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.

        Parameters:
        result - The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CheckAccessNotGrantedResult, CheckAccessNotGrantedResult
      • result

        CheckAccessNotGrantedResponse.Builder result​(CheckAccessNotGrantedResult result)

        The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.

        Parameters:
        result - The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CheckAccessNotGrantedResult, CheckAccessNotGrantedResult
      • message

        CheckAccessNotGrantedResponse.Builder message​(String message)

        The message indicating whether the specified access is allowed.

        Parameters:
        message - The message indicating whether the specified access is allowed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reasons

        CheckAccessNotGrantedResponse.Builder reasons​(ReasonSummary... reasons)

        A description of the reasoning of the result.

        Parameters:
        reasons - A description of the reasoning of the result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.