Interface BatchIsAuthorizedWithTokenOutputItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BatchIsAuthorizedWithTokenOutputItem.Builder,BatchIsAuthorizedWithTokenOutputItem>, SdkBuilder<BatchIsAuthorizedWithTokenOutputItem.Builder,BatchIsAuthorizedWithTokenOutputItem>, SdkPojo
Enclosing class:
BatchIsAuthorizedWithTokenOutputItem

public static interface BatchIsAuthorizedWithTokenOutputItem.Builder extends SdkPojo, CopyableBuilder<BatchIsAuthorizedWithTokenOutputItem.Builder,BatchIsAuthorizedWithTokenOutputItem>
  • Method Details

    • request

      The authorization request that initiated the decision.

      Parameters:
      request - The authorization request that initiated the decision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • request

      The authorization request that initiated the decision.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to request(BatchIsAuthorizedWithTokenInputItem).

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

      An authorization decision that indicates if the authorization request should be allowed or denied.

      Parameters:
      decision - An authorization decision that indicates if the authorization request should be allowed or denied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • decision

      An authorization decision that indicates if the authorization request should be allowed or denied.

      Parameters:
      decision - An authorization decision that indicates if the authorization request should be allowed or denied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • determiningPolicies

      The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.

      Parameters:
      determiningPolicies - The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • determiningPolicies

      BatchIsAuthorizedWithTokenOutputItem.Builder determiningPolicies(DeterminingPolicyItem... determiningPolicies)

      The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.

      Parameters:
      determiningPolicies - The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • determiningPolicies

      The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.

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

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

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

      Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.

      Parameters:
      errors - Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.

      Parameters:
      errors - Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.

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

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

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