@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.State
public String getState()
The current state of the entity, component, component type, or workspace.
State
public 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.State
public 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.State
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.