@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationFailure extends Object implements Serializable, Cloneable, StructuredPojo
A validation failure that occurred as the result of a pre-update validation check (verbose dry run) on a domain.
| Constructor and Description |
|---|
ValidationFailure() |
| Modifier and Type | Method and Description |
|---|---|
ValidationFailure |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code of the failure.
|
String |
getMessage()
A message corresponding to the failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The error code of the failure.
|
void |
setMessage(String message)
A message corresponding to the failure.
|
String |
toString()
Returns a string representation of this object.
|
ValidationFailure |
withCode(String code)
The error code of the failure.
|
ValidationFailure |
withMessage(String message)
A message corresponding to the failure.
|
public void setCode(String code)
The error code of the failure.
code - The error code of the failure.public String getCode()
The error code of the failure.
public ValidationFailure withCode(String code)
The error code of the failure.
code - The error code of the failure.public void setMessage(String message)
A message corresponding to the failure.
message - A message corresponding to the failure.public String getMessage()
A message corresponding to the failure.
public ValidationFailure withMessage(String message)
A message corresponding to the failure.
message - A message corresponding to the failure.public String toString()
toString in class ObjectObject.toString()public ValidationFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.