@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidatePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ValidatePolicyResult () |
| Modifier and Type | Method and Description |
|---|---|
ValidatePolicyResult |
clone () |
boolean |
equals (Object obj) |
List<ValidatePolicyFinding> |
getFindings ()
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
|
String |
getNextToken ()
A token used for pagination of results returned.
|
int |
hashCode () |
void |
setFindings (Collection<ValidatePolicyFinding> findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
|
void |
setNextToken (String nextToken)
A token used for pagination of results returned.
|
String |
toString ()
Returns a string representation of this object.
|
ValidatePolicyResult |
withFindings (Collection<ValidatePolicyFinding> findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
|
ValidatePolicyResult |
withFindings (ValidatePolicyFinding... findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
|
ValidatePolicyResult |
withNextToken (String nextToken)
A token used for pagination of results returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public ValidatePolicyResult()
public List<ValidatePolicyFinding> getFindings()
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
public void setFindings(Collection<ValidatePolicyFinding> findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
findings - The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.public ValidatePolicyResult withFindings(ValidatePolicyFinding... findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
NOTE: This method appends the values to the existing list (if any). Use
setFindings(java.util.Collection) or withFindings(java.util.Collection) if you want to override
the existing values.
findings - The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.public ValidatePolicyResult withFindings(Collection<ValidatePolicyFinding> findings)
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
findings - The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken - A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public ValidatePolicyResult withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken - A token used for pagination of results returned.public String toString()
toString in class Object Object.toString() public ValidatePolicyResult clone()