public class EffectivePolicy extends Object implements Serializable
The policy that has the effect on the authorization results.
| Constructor and Description |
|---|
EffectivePolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyArn()
The policy ARN.
|
String |
getPolicyDocument()
The IAM policy document.
|
String |
getPolicyName()
The policy name.
|
int |
hashCode() |
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; useful for testing and
debugging.
|
EffectivePolicy |
withPolicyArn(String policyArn)
The policy ARN.
|
EffectivePolicy |
withPolicyDocument(String policyDocument)
The IAM policy document.
|
EffectivePolicy |
withPolicyName(String policyName)
The policy name.
|
public String getPolicyName()
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The policy name.
public void setPolicyName(String policyName)
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
public EffectivePolicy withPolicyName(String policyName)
The policy name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
public String getPolicyArn()
The policy ARN.
The policy ARN.
public void setPolicyArn(String policyArn)
The policy ARN.
policyArn - The policy ARN.
public EffectivePolicy withPolicyArn(String policyArn)
The policy ARN.
Returns a reference to this object so that method calls can be chained together.
policyArn - The policy ARN.
public String getPolicyDocument()
The IAM policy document.
The IAM policy document.
public void setPolicyDocument(String policyDocument)
The IAM policy document.
policyDocument - The IAM policy document.
public EffectivePolicy withPolicyDocument(String policyDocument)
The IAM policy document.
Returns a reference to this object so that method calls can be chained together.
policyDocument - The IAM policy document.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.