@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeterminingPolicyItem extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about one of the policies that determined an authorization decision.
This data type is used as an element in a response parameter for the IsAuthorized, BatchIsAuthorized , and IsAuthorizedWithToken operations.
Example: "determiningPolicies":[{"policyId":"SPEXAMPLEabcdefg111111"}]
Constructor and Description |
---|
DeterminingPolicyItem() |
Modifier and Type | Method and Description |
---|---|
DeterminingPolicyItem |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyId()
The Id of a policy that determined to an authorization decision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicyId(String policyId)
The Id of a policy that determined to an authorization decision.
|
String |
toString()
Returns a string representation of this object.
|
DeterminingPolicyItem |
withPolicyId(String policyId)
The Id of a policy that determined to an authorization decision.
|
public void setPolicyId(String policyId)
The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
policyId
- The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
public String getPolicyId()
The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
Example: "policyId":"SPEXAMPLEabcdefg111111"
public DeterminingPolicyItem withPolicyId(String policyId)
The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
policyId
- The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
public String toString()
toString
in class Object
Object.toString()
public DeterminingPolicyItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.