@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationExceptionField extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about a request parameter that caused an error.
Constructor and Description |
---|
ValidationExceptionField() |
Modifier and Type | Method and Description |
---|---|
ValidationExceptionField |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message describing why this field couldn't be validated.
|
String |
getName()
The name of the field that caused the validation error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A message describing why this field couldn't be validated.
|
void |
setName(String name)
The name of the field that caused the validation error.
|
String |
toString()
Returns a string representation of this object.
|
ValidationExceptionField |
withMessage(String message)
A message describing why this field couldn't be validated.
|
ValidationExceptionField |
withName(String name)
The name of the field that caused the validation error.
|
public void setMessage(String message)
A message describing why this field couldn't be validated.
message
- A message describing why this field couldn't be validated.public String getMessage()
A message describing why this field couldn't be validated.
public ValidationExceptionField withMessage(String message)
A message describing why this field couldn't be validated.
message
- A message describing why this field couldn't be validated.public void setName(String name)
The name of the field that caused the validation error.
name
- The name of the field that caused the validation error.public String getName()
The name of the field that caused the validation error.
public ValidationExceptionField withName(String name)
The name of the field that caused the validation error.
name
- The name of the field that caused the validation error.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.