@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaStatusReason extends Object implements Serializable, Cloneable, StructuredPojo
A reason why the schema status is set to its current value.
| Constructor and Description |
|---|
SchemaStatusReason() |
| Modifier and Type | Method and Description |
|---|---|
SchemaStatusReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The schema status reason code.
|
String |
getMessage()
An explanation of the schema status reason code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The schema status reason code.
|
void |
setMessage(String message)
An explanation of the schema status reason code.
|
String |
toString()
Returns a string representation of this object.
|
SchemaStatusReason |
withCode(SchemaStatusReasonCode code)
The schema status reason code.
|
SchemaStatusReason |
withCode(String code)
The schema status reason code.
|
SchemaStatusReason |
withMessage(String message)
An explanation of the schema status reason code.
|
public void setCode(String code)
The schema status reason code.
code - The schema status reason code.SchemaStatusReasonCodepublic String getCode()
The schema status reason code.
SchemaStatusReasonCodepublic SchemaStatusReason withCode(String code)
The schema status reason code.
code - The schema status reason code.SchemaStatusReasonCodepublic SchemaStatusReason withCode(SchemaStatusReasonCode code)
The schema status reason code.
code - The schema status reason code.SchemaStatusReasonCodepublic void setMessage(String message)
An explanation of the schema status reason code.
message - An explanation of the schema status reason code.public String getMessage()
An explanation of the schema status reason code.
public SchemaStatusReason withMessage(String message)
An explanation of the schema status reason code.
message - An explanation of the schema status reason code.public String toString()
toString in class ObjectObject.toString()public SchemaStatusReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.