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