@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ValidateResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
ValidateResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getPolicyValidationPassed()
True if your policy passes validation, otherwise false.
|
List<ValidationErrorsEntry> |
getValidationErrors()
Validation errors if your policy didn't pass validation.
|
int |
hashCode() |
Boolean |
isPolicyValidationPassed()
True if your policy passes validation, otherwise false.
|
void |
setPolicyValidationPassed(Boolean policyValidationPassed)
True if your policy passes validation, otherwise false.
|
void |
setValidationErrors(Collection<ValidationErrorsEntry> validationErrors)
Validation errors if your policy didn't pass validation.
|
String |
toString()
Returns a string representation of this object.
|
ValidateResourcePolicyResult |
withPolicyValidationPassed(Boolean policyValidationPassed)
True if your policy passes validation, otherwise false.
|
ValidateResourcePolicyResult |
withValidationErrors(Collection<ValidationErrorsEntry> validationErrors)
Validation errors if your policy didn't pass validation.
|
ValidateResourcePolicyResult |
withValidationErrors(ValidationErrorsEntry... validationErrors)
Validation errors if your policy didn't pass validation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyValidationPassed(Boolean policyValidationPassed)
True if your policy passes validation, otherwise false.
policyValidationPassed
- True if your policy passes validation, otherwise false.public Boolean getPolicyValidationPassed()
True if your policy passes validation, otherwise false.
public ValidateResourcePolicyResult withPolicyValidationPassed(Boolean policyValidationPassed)
True if your policy passes validation, otherwise false.
policyValidationPassed
- True if your policy passes validation, otherwise false.public Boolean isPolicyValidationPassed()
True if your policy passes validation, otherwise false.
public List<ValidationErrorsEntry> getValidationErrors()
Validation errors if your policy didn't pass validation.
public void setValidationErrors(Collection<ValidationErrorsEntry> validationErrors)
Validation errors if your policy didn't pass validation.
validationErrors
- Validation errors if your policy didn't pass validation.public ValidateResourcePolicyResult withValidationErrors(ValidationErrorsEntry... validationErrors)
Validation errors if your policy didn't pass validation.
NOTE: This method appends the values to the existing list (if any). Use
setValidationErrors(java.util.Collection)
or withValidationErrors(java.util.Collection)
if you
want to override the existing values.
validationErrors
- Validation errors if your policy didn't pass validation.public ValidateResourcePolicyResult withValidationErrors(Collection<ValidationErrorsEntry> validationErrors)
Validation errors if your policy didn't pass validation.
validationErrors
- Validation errors if your policy didn't pass validation.public String toString()
toString
in class Object
Object.toString()
public ValidateResourcePolicyResult clone()