public ListRotationShiftsResult withRotationShifts(RotationShift... rotationShifts) {
        if (this.rotationShifts == null) {
            setRotationShifts(new java.util.ArrayList<RotationShift>(rotationShifts.length));
        }
        for (RotationShift ele : rotationShifts) {
            this.rotationShifts.add(ele);
        }
        return this;
    }
<p>
Information about shifts that meet the filter criteria.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRotationShifts(java.util.Collection)} or {@link #withRotationShifts(java.util.Collection)} if you want
to override the existing values.
</p>

@param rotationShifts
       Information about shifts that meet the filter criteria.
@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/ListRotationShiftsResult.java