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