@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationExceptionField extends Object implements Serializable, Cloneable, StructuredPojo
The resource passed is invalid.
| Constructor and Description |
|---|
ValidationExceptionField() |
| Modifier and Type | Method and Description |
|---|---|
ValidationExceptionField |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The
ValidationException message. |
String |
getName()
The name of the field that triggered the
ValidationException. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
The
ValidationException message. |
void |
setName(String name)
The name of the field that triggered the
ValidationException. |
String |
toString()
Returns a string representation of this object.
|
ValidationExceptionField |
withMessage(String message)
The
ValidationException message. |
ValidationExceptionField |
withName(String name)
The name of the field that triggered the
ValidationException. |
public void setName(String name)
The name of the field that triggered the ValidationException.
name - The name of the field that triggered the ValidationException.public String getName()
The name of the field that triggered the ValidationException.
ValidationException.public ValidationExceptionField withName(String name)
The name of the field that triggered the ValidationException.
name - The name of the field that triggered the ValidationException.public void setMessage(String message)
The ValidationException message.
message - The ValidationException message.public String getMessage()
The ValidationException message.
ValidationException message.public ValidationExceptionField withMessage(String message)
The ValidationException message.
message - The ValidationException message.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.