public TerminateInstancesRequest withInstanceIds(java.util.Collection<String> instanceIds) {
        setInstanceIds(instanceIds);
        return this;
    }
<p>
The IDs of the instances.
</p>
<p>
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
</p>

@param instanceIds
       The IDs of the instances.</p>
       <p>
       Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
@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/TerminateInstancesRequest.java