public GetRotationResult withRecurrence(RecurrenceSettings recurrence) {
        setRecurrence(recurrence);
        return this;
    }
<p>
Specifies how long a rotation lasts before restarting at the beginning of the shift order.
</p>

@param recurrence
       Specifies how long a rotation lasts before restarting at the beginning of the shift order.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/GetRotationResult.java