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