public DescribeScheduledInstancesRequest withScheduledInstanceIds(String... scheduledInstanceIds) {
        if (this.scheduledInstanceIds == null) {
            setScheduledInstanceIds(new com.amazonaws.internal.SdkInternalList<String>(scheduledInstanceIds.length));
        }
        for (String ele : scheduledInstanceIds) {
            this.scheduledInstanceIds.add(ele);
        }
        return this;
    }
<p>
The Scheduled Instance IDs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setScheduledInstanceIds(java.util.Collection)} or {@link #withScheduledInstanceIds(java.util.Collection)}
if you want to override the existing values.
</p>

@param scheduledInstanceIds
       The Scheduled Instance IDs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeScheduledInstancesRequest.java