@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchIsAuthorizedOutputItem extends Object implements Serializable, Cloneable, StructuredPojo
The decision, based on policy evaluation, from an individual authorization request in a
BatchIsAuthorized
API request.
Constructor and Description |
---|
BatchIsAuthorizedOutputItem() |
Modifier and Type | Method and Description |
---|---|
BatchIsAuthorizedOutputItem |
clone() |
boolean |
equals(Object obj) |
String |
getDecision()
An authorization decision that indicates if the authorization request should be allowed or denied.
|
List<DeterminingPolicyItem> |
getDeterminingPolicies()
The list of determining policies used to make the authorization decision.
|
List<EvaluationErrorItem> |
getErrors()
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity
Attribute that does not exist in the slice.
|
BatchIsAuthorizedInputItem |
getRequest()
The authorization request that initiated the decision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDecision(String decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
|
void |
setDeterminingPolicies(Collection<DeterminingPolicyItem> determiningPolicies)
The list of determining policies used to make the authorization decision.
|
void |
setErrors(Collection<EvaluationErrorItem> errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity
Attribute that does not exist in the slice.
|
void |
setRequest(BatchIsAuthorizedInputItem request)
The authorization request that initiated the decision.
|
String |
toString()
Returns a string representation of this object.
|
BatchIsAuthorizedOutputItem |
withDecision(Decision decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
|
BatchIsAuthorizedOutputItem |
withDecision(String decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
|
BatchIsAuthorizedOutputItem |
withDeterminingPolicies(Collection<DeterminingPolicyItem> determiningPolicies)
The list of determining policies used to make the authorization decision.
|
BatchIsAuthorizedOutputItem |
withDeterminingPolicies(DeterminingPolicyItem... determiningPolicies)
The list of determining policies used to make the authorization decision.
|
BatchIsAuthorizedOutputItem |
withErrors(Collection<EvaluationErrorItem> errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity
Attribute that does not exist in the slice.
|
BatchIsAuthorizedOutputItem |
withErrors(EvaluationErrorItem... errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity
Attribute that does not exist in the slice.
|
BatchIsAuthorizedOutputItem |
withRequest(BatchIsAuthorizedInputItem request)
The authorization request that initiated the decision.
|
public void setRequest(BatchIsAuthorizedInputItem request)
The authorization request that initiated the decision.
request
- The authorization request that initiated the decision.public BatchIsAuthorizedInputItem getRequest()
The authorization request that initiated the decision.
public BatchIsAuthorizedOutputItem withRequest(BatchIsAuthorizedInputItem request)
The authorization request that initiated the decision.
request
- The authorization request that initiated the decision.public void setDecision(String decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
decision
- An authorization decision that indicates if the authorization request should be allowed or denied.Decision
public String getDecision()
An authorization decision that indicates if the authorization request should be allowed or denied.
Decision
public BatchIsAuthorizedOutputItem withDecision(String decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
decision
- An authorization decision that indicates if the authorization request should be allowed or denied.Decision
public BatchIsAuthorizedOutputItem withDecision(Decision decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
decision
- An authorization decision that indicates if the authorization request should be allowed or denied.Decision
public List<DeterminingPolicyItem> getDeterminingPolicies()
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.
public void setDeterminingPolicies(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.
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.public BatchIsAuthorizedOutputItem withDeterminingPolicies(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.
NOTE: This method appends the values to the existing list (if any). Use
setDeterminingPolicies(java.util.Collection)
or withDeterminingPolicies(java.util.Collection)
if you want to override the existing values.
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.public BatchIsAuthorizedOutputItem withDeterminingPolicies(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.
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.public List<EvaluationErrorItem> getErrors()
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.
public void setErrors(Collection<EvaluationErrorItem> errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.
errors
- Errors that occurred while making an authorization decision, for example, a policy references an Entity or
entity Attribute that does not exist in the slice.public BatchIsAuthorizedOutputItem withErrors(EvaluationErrorItem... errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- Errors that occurred while making an authorization decision, for example, a policy references an Entity or
entity Attribute that does not exist in the slice.public BatchIsAuthorizedOutputItem withErrors(Collection<EvaluationErrorItem> errors)
Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.
errors
- Errors that occurred while making an authorization decision, for example, a policy references an Entity or
entity Attribute that does not exist in the slice.public String toString()
toString
in class Object
Object.toString()
public BatchIsAuthorizedOutputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.