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