@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchIsAuthorizedWithTokenOutputItem extends Object implements Serializable, Cloneable, StructuredPojo
The decision, based on policy evaluation, from an individual authorization request in a
BatchIsAuthorizedWithToken
API request.
Constructor and Description |
---|
BatchIsAuthorizedWithTokenOutputItem() |
Modifier and Type | Method and Description |
---|---|
BatchIsAuthorizedWithTokenOutputItem |
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.
|
BatchIsAuthorizedWithTokenInputItem |
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.
|
void |
setRequest(BatchIsAuthorizedWithTokenInputItem request)
The authorization request that initiated the decision.
|
String |
toString()
Returns a string representation of this object.
|
BatchIsAuthorizedWithTokenOutputItem |
withDecision(Decision decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
|
BatchIsAuthorizedWithTokenOutputItem |
withDecision(String decision)
An authorization decision that indicates if the authorization request should be allowed or denied.
|
BatchIsAuthorizedWithTokenOutputItem |
withDeterminingPolicies(Collection<DeterminingPolicyItem> determiningPolicies)
The list of determining policies used to make the authorization decision.
|
BatchIsAuthorizedWithTokenOutputItem |
withDeterminingPolicies(DeterminingPolicyItem... determiningPolicies)
The list of determining policies used to make the authorization decision.
|
BatchIsAuthorizedWithTokenOutputItem |
withErrors(Collection<EvaluationErrorItem> errors)
Errors that occurred while making an authorization decision.
|
BatchIsAuthorizedWithTokenOutputItem |
withErrors(EvaluationErrorItem... errors)
Errors that occurred while making an authorization decision.
|
BatchIsAuthorizedWithTokenOutputItem |
withRequest(BatchIsAuthorizedWithTokenInputItem request)
The authorization request that initiated the decision.
|
public BatchIsAuthorizedWithTokenOutputItem()
public void setRequest(BatchIsAuthorizedWithTokenInputItem request)
The authorization request that initiated the decision.
request
- The authorization request that initiated the decision.public BatchIsAuthorizedWithTokenInputItem getRequest()
The authorization request that initiated the decision.
public BatchIsAuthorizedWithTokenOutputItem withRequest(BatchIsAuthorizedWithTokenInputItem 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 BatchIsAuthorizedWithTokenOutputItem 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 BatchIsAuthorizedWithTokenOutputItem 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 BatchIsAuthorizedWithTokenOutputItem 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 BatchIsAuthorizedWithTokenOutputItem 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 might reference an entity or attribute that doesn't exist in the request.
public void setErrors(Collection<EvaluationErrorItem> 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.
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.public BatchIsAuthorizedWithTokenOutputItem withErrors(EvaluationErrorItem... 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.
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 might reference an
entity or attribute that doesn't exist in the request.public BatchIsAuthorizedWithTokenOutputItem withErrors(Collection<EvaluationErrorItem> 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.
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.public String toString()
toString
in class Object
Object.toString()
public BatchIsAuthorizedWithTokenOutputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.