public SlotNotAvailableException withSlotSuggestions(Long... slotSuggestions) {
        if (this.slotSuggestions == null) {
            setSlotSuggestions(new java.util.ArrayList<Long>(slotSuggestions.length));
        }
        for (Long ele : slotSuggestions) {
            this.slotSuggestions.add(ele);
        }
        return this;
    }
<p>
Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSlotSuggestions(java.util.Collection)} or {@link #withSlotSuggestions(java.util.Collection)} if you
want to override the existing values.
</p>

@param slotSuggestions
       Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/SlotNotAvailableException.java