public GetManagedResourceResult withZonalShifts(ZonalShiftInResource... zonalShifts) {
        if (this.zonalShifts == null) {
            setZonalShifts(new java.util.ArrayList<ZonalShiftInResource>(zonalShifts.length));
        }
        for (ZonalShiftInResource ele : zonalShifts) {
            this.zonalShifts.add(ele);
        }
        return this;
    }
<p>
The zonal shifts that are currently active for a resource.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setZonalShifts(java.util.Collection)} or {@link #withZonalShifts(java.util.Collection)} if you want to
override the existing values.
</p>

@param zonalShifts
       The zonal shifts that are currently active for a resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-arczonalshift/src/main/java/com/amazonaws/services/arczonalshift/model/GetManagedResourceResult.java