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