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