@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldError extends Object implements Serializable, Cloneable, StructuredPojo
Object for errors on fields.
Constructor and Description |
---|
FieldError() |
Modifier and Type | Method and Description |
---|---|
FieldError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code from getting a field.
|
String |
getId()
The field identifier that caused the error.
|
String |
getMessage()
The error message from getting a field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code from getting a field.
|
void |
setId(String id)
The field identifier that caused the error.
|
void |
setMessage(String message)
The error message from getting a field.
|
String |
toString()
Returns a string representation of this object.
|
FieldError |
withErrorCode(String errorCode)
The error code from getting a field.
|
FieldError |
withId(String id)
The field identifier that caused the error.
|
FieldError |
withMessage(String message)
The error message from getting a field.
|
public void setErrorCode(String errorCode)
The error code from getting a field.
errorCode
- The error code from getting a field.public String getErrorCode()
The error code from getting a field.
public FieldError withErrorCode(String errorCode)
The error code from getting a field.
errorCode
- The error code from getting a field.public void setId(String id)
The field identifier that caused the error.
id
- The field identifier that caused the error.public String getId()
The field identifier that caused the error.
public FieldError withId(String id)
The field identifier that caused the error.
id
- The field identifier that caused the error.public void setMessage(String message)
The error message from getting a field.
message
- The error message from getting a field.public String getMessage()
The error message from getting a field.
public FieldError withMessage(String message)
The error message from getting a field.
message
- The error message from getting a field.public String toString()
toString
in class Object
Object.toString()
public FieldError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.