public GetResourceSyncStatusResult withDesiredState(Revision desiredState) {
        setDesiredState(desiredState);
        return this;
    }
<p>
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
</p>

@param desiredState
       The desired state of the Amazon Web Services resource for the sync status with the Git repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/GetResourceSyncStatusResult.java