public CommunicationTypeOptions withSupportedHours(SupportedHour... supportedHours) {
        if (this.supportedHours == null) {
            setSupportedHours(new com.amazonaws.internal.SdkInternalList<SupportedHour>(supportedHours.length));
        }
        for (SupportedHour ele : supportedHours) {
            this.supportedHours.add(ele);
        }
        return this;
    }
<p>
A JSON-formatted list containing time ranges when support is available.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedHours(java.util.Collection)} or {@link #withSupportedHours(java.util.Collection)} if you want
to override the existing values.
</p>

@param supportedHours
       A JSON-formatted list containing time ranges when support is available.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-support/src/main/java/com/amazonaws/services/support/model/CommunicationTypeOptions.java