@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.SchemaStatusReasonCode
public String getCode()
The schema status reason code.
SchemaStatusReasonCode
public SchemaStatusReason withCode(String code)
The schema status reason code.
code
- The schema status reason code.SchemaStatusReasonCode
public SchemaStatusReason withCode(SchemaStatusReasonCode code)
The schema status reason code.
code
- The schema status reason code.SchemaStatusReasonCode
public 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 Object
Object.toString()
public SchemaStatusReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.