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