@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationErrorsEntry extends Object implements Serializable, Cloneable, StructuredPojo
Displays errors that occurred during validation of the resource policy.
Constructor and Description |
---|
ValidationErrorsEntry() |
Modifier and Type | Method and Description |
---|---|
ValidationErrorsEntry |
clone() |
boolean |
equals(Object obj) |
String |
getCheckName()
Checks the name of the policy.
|
String |
getErrorMessage()
Displays error messages if validation encounters problems during validation of the resource policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckName(String checkName)
Checks the name of the policy.
|
void |
setErrorMessage(String errorMessage)
Displays error messages if validation encounters problems during validation of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
ValidationErrorsEntry |
withCheckName(String checkName)
Checks the name of the policy.
|
ValidationErrorsEntry |
withErrorMessage(String errorMessage)
Displays error messages if validation encounters problems during validation of the resource policy.
|
public void setCheckName(String checkName)
Checks the name of the policy.
checkName
- Checks the name of the policy.public String getCheckName()
Checks the name of the policy.
public ValidationErrorsEntry withCheckName(String checkName)
Checks the name of the policy.
checkName
- Checks the name of the policy.public void setErrorMessage(String errorMessage)
Displays error messages if validation encounters problems during validation of the resource policy.
errorMessage
- Displays error messages if validation encounters problems during validation of the resource policy.public String getErrorMessage()
Displays error messages if validation encounters problems during validation of the resource policy.
public ValidationErrorsEntry withErrorMessage(String errorMessage)
Displays error messages if validation encounters problems during validation of the resource policy.
errorMessage
- Displays error messages if validation encounters problems during validation of the resource policy.public String toString()
toString
in class Object
Object.toString()
public ValidationErrorsEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.