@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Status extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the status of an entity, component, component type, or workspace.
| Constructor and Description |
|---|
Status() |
| Modifier and Type | Method and Description |
|---|---|
Status |
clone() |
boolean |
equals(Object obj) |
ErrorDetails |
getError()
The error message.
|
String |
getState()
The current state of the entity, component, component type, or workspace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(ErrorDetails error)
The error message.
|
void |
setState(String state)
The current state of the entity, component, component type, or workspace.
|
String |
toString()
Returns a string representation of this object.
|
Status |
withError(ErrorDetails error)
The error message.
|
Status |
withState(State state)
The current state of the entity, component, component type, or workspace.
|
Status |
withState(String state)
The current state of the entity, component, component type, or workspace.
|
public void setState(String state)
The current state of the entity, component, component type, or workspace.
state - The current state of the entity, component, component type, or workspace.Statepublic String getState()
The current state of the entity, component, component type, or workspace.
Statepublic Status withState(String state)
The current state of the entity, component, component type, or workspace.
state - The current state of the entity, component, component type, or workspace.Statepublic Status withState(State state)
The current state of the entity, component, component type, or workspace.
state - The current state of the entity, component, component type, or workspace.Statepublic void setError(ErrorDetails error)
The error message.
error - The error message.public ErrorDetails getError()
The error message.
public Status withError(ErrorDetails error)
The error message.
error - The error message.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.