Interface GetRequestAuthorizationDetailsResponse.Builder

  • Method Details

    • requestContext

      The request context is the set of context keys and values that apply to the entire request and are shared by all evaluations.

      Parameters:
      requestContext - The request context is the set of context keys and values that apply to the entire request and are shared by all evaluations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluations

      The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.

      Parameters:
      evaluations - The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluations

      The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.

      Parameters:
      evaluations - The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluations

      The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.

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

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

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

      The list of policies that were evaluated.

      Parameters:
      policies - The list of policies that were evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      The list of policies that were evaluated.

      Parameters:
      policies - The list of policies that were evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      The list of policies that were evaluated.

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

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

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

      The pagination token for retrieving the next page of evaluations. This value is absent when there are no more results.

      Parameters:
      nextToken - The pagination token for retrieving the next page of evaluations. This value is absent when there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.