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