@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.SyncResourceState
public String getState()
The sync resource status state.
SyncResourceState
public SyncResourceStatus withState(String state)
The sync resource status state.
state
- The sync resource status state.SyncResourceState
public SyncResourceStatus withState(SyncResourceState state)
The sync resource status state.
state
- The sync resource status state.SyncResourceState
public 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 Object
Object.toString()
public SyncResourceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.