public SearchHoursOfOperationsResult withHoursOfOperations(HoursOfOperation... hoursOfOperations) {
        if (this.hoursOfOperations == null) {
            setHoursOfOperations(new java.util.ArrayList<HoursOfOperation>(hoursOfOperations.length));
        }
        for (HoursOfOperation ele : hoursOfOperations) {
            this.hoursOfOperations.add(ele);
        }
        return this;
    }
<p>
Information about the hours of operations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHoursOfOperations(java.util.Collection)} or {@link #withHoursOfOperations(java.util.Collection)} if
you want to override the existing values.
</p>

@param hoursOfOperations
       Information about the hours of operations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchHoursOfOperationsResult.java