public SyncJobStatus withState(String state) {
        setState(state);
        return this;
    }
<p>
The SyncJob status state.
</p>

@param state
       The SyncJob status state.
@return Returns a reference to this object so that method calls can be chained together.
@see SyncJobState
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/SyncJobStatus.java