@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationExceptionField extends Object implements Serializable, Cloneable, StructuredPojo
A specific field in which a given validation exception occurred.
| Constructor and Description |
|---|
ValidationExceptionField() |
| Modifier and Type | Method and Description |
|---|---|
ValidationExceptionField |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
An error message describing the validation exception in this field.
|
String |
getName()
The name of the field where the validation exception occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
An error message describing the validation exception in this field.
|
void |
setName(String name)
The name of the field where the validation exception occurred.
|
String |
toString()
Returns a string representation of this object.
|
ValidationExceptionField |
withMessage(String message)
An error message describing the validation exception in this field.
|
ValidationExceptionField |
withName(String name)
The name of the field where the validation exception occurred.
|
public void setMessage(String message)
An error message describing the validation exception in this field.
message - An error message describing the validation exception in this field.public String getMessage()
An error message describing the validation exception in this field.
public ValidationExceptionField withMessage(String message)
An error message describing the validation exception in this field.
message - An error message describing the validation exception in this field.public void setName(String name)
The name of the field where the validation exception occurred.
name - The name of the field where the validation exception occurred.public String getName()
The name of the field where the validation exception occurred.
public ValidationExceptionField withName(String name)
The name of the field where the validation exception occurred.
name - The name of the field where the validation exception occurred.public String toString()
toString in class ObjectObject.toString()public ValidationExceptionField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.