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