@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EffectivePolicy extends Object implements Serializable, Cloneable, StructuredPojo
The policy that has the effect on the authorization results.
Constructor and Description |
---|
EffectivePolicy() |
Modifier and Type | Method and Description |
---|---|
EffectivePolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyArn()
The policy ARN.
|
String |
getPolicyDocument()
The IAM policy document.
|
String |
getPolicyName()
The policy name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicyArn(String policyArn)
The policy ARN.
|
void |
setPolicyDocument(String policyDocument)
The IAM policy document.
|
void |
setPolicyName(String policyName)
The policy name.
|
String |
toString()
Returns a string representation of this object.
|
EffectivePolicy |
withPolicyArn(String policyArn)
The policy ARN.
|
EffectivePolicy |
withPolicyDocument(String policyDocument)
The IAM policy document.
|
EffectivePolicy |
withPolicyName(String policyName)
The policy name.
|
public void setPolicyName(String policyName)
The policy name.
policyName
- The policy name.public String getPolicyName()
The policy name.
public EffectivePolicy withPolicyName(String policyName)
The policy name.
policyName
- The policy name.public void setPolicyArn(String policyArn)
The policy ARN.
policyArn
- The policy ARN.public String getPolicyArn()
The policy ARN.
public EffectivePolicy withPolicyArn(String policyArn)
The policy ARN.
policyArn
- The policy ARN.public void setPolicyDocument(String policyDocument)
The IAM policy document.
policyDocument
- The IAM policy document.public String getPolicyDocument()
The IAM policy document.
public EffectivePolicy withPolicyDocument(String policyDocument)
The IAM policy document.
policyDocument
- The IAM policy document.public String toString()
toString
in class Object
Object.toString()
public EffectivePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.