public InstanceEventWindowDisassociationRequest withDedicatedHostIds(String... dedicatedHostIds) {
        if (this.dedicatedHostIds == null) {
            setDedicatedHostIds(new com.amazonaws.internal.SdkInternalList<String>(dedicatedHostIds.length));
        }
        for (String ele : dedicatedHostIds) {
            this.dedicatedHostIds.add(ele);
        }
        return this;
    }
<p>
The IDs of the Dedicated Hosts to disassociate from the event window.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDedicatedHostIds(java.util.Collection)} or {@link #withDedicatedHostIds(java.util.Collection)} if you
want to override the existing values.
</p>

@param dedicatedHostIds
       The IDs of the Dedicated Hosts to disassociate from the event window.
@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/InstanceEventWindowDisassociationRequest.java