public SourceServer withRecoveryInstanceId(String recoveryInstanceId) {
        setRecoveryInstanceId(recoveryInstanceId);
        return this;
    }
<p>
The ID of the Recovery Instance associated with this Source Server.
</p>

@param recoveryInstanceId
       The ID of the Recovery Instance associated with this Source Server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/SourceServer.java