Interface BatchIsAuthorizedWithTokenOutputItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchIsAuthorizedWithTokenOutputItem.Builder,
,BatchIsAuthorizedWithTokenOutputItem> SdkBuilder<BatchIsAuthorizedWithTokenOutputItem.Builder,
,BatchIsAuthorizedWithTokenOutputItem> SdkPojo
- Enclosing class:
BatchIsAuthorizedWithTokenOutputItem
-
Method Summary
Modifier and TypeMethodDescriptionAn authorization decision that indicates if the authorization request should be allowed or denied.An authorization decision that indicates if the authorization request should be allowed or denied.determiningPolicies
(Collection<DeterminingPolicyItem> determiningPolicies) The list of determining policies used to make the authorization decision.determiningPolicies
(Consumer<DeterminingPolicyItem.Builder>... determiningPolicies) The list of determining policies used to make the authorization decision.determiningPolicies
(DeterminingPolicyItem... determiningPolicies) The list of determining policies used to make the authorization decision.errors
(Collection<EvaluationErrorItem> errors) Errors that occurred while making an authorization decision.errors
(Consumer<EvaluationErrorItem.Builder>... errors) Errors that occurred while making an authorization decision.errors
(EvaluationErrorItem... errors) Errors that occurred while making an authorization decision.The authorization request that initiated the decision.The authorization request that initiated the decision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
default BatchIsAuthorizedWithTokenOutputItem.Builder request(Consumer<BatchIsAuthorizedWithTokenInputItem.Builder> request) The authorization request that initiated the decision.
This is a convenience method that creates an instance of theBatchIsAuthorizedWithTokenInputItem.Builder
avoiding the need to create one manually viaBatchIsAuthorizedWithTokenInputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequest(BatchIsAuthorizedWithTokenInputItem)
.- Parameters:
request
- a consumer that will call methods onBatchIsAuthorizedWithTokenInputItem.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
BatchIsAuthorizedWithTokenOutputItem.Builder determiningPolicies(Collection<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
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
BatchIsAuthorizedWithTokenOutputItem.Builder determiningPolicies(Consumer<DeterminingPolicyItem.Builder>... 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 theDeterminingPolicyItem.Builder
avoiding the need to create one manually viaDeterminingPolicyItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeterminingPolicies(List<DeterminingPolicyItem>)
.- Parameters:
determiningPolicies
- a consumer that will call methods onDeterminingPolicyItem.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
BatchIsAuthorizedWithTokenOutputItem.Builder errors(Consumer<EvaluationErrorItem.Builder>... 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 theEvaluationErrorItem.Builder
avoiding the need to create one manually viaEvaluationErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<EvaluationErrorItem>)
.- Parameters:
errors
- a consumer that will call methods onEvaluationErrorItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-