Interface CheckAccessNotGrantedResponse.Builder

  • Method Details

    • 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:
    • 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:
    • 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

      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.
    • 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.
    • reasons

      A description of the reasoning of the result.

      This is a convenience method that creates an instance of the ReasonSummary.Builder avoiding the need to create one manually via ReasonSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reasons(List<ReasonSummary>).

      Parameters:
      reasons - a consumer that will call methods on ReasonSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: