public ListSessionsResult withIds(String... ids) {
        if (this.ids == null) {
            setIds(new java.util.ArrayList<String>(ids.length));
        }
        for (String ele : ids) {
            this.ids.add(ele);
        }
        return this;
    }
<p>
Returns the ID of the session.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIds(java.util.Collection)} or {@link #withIds(java.util.Collection)} if you want to override the
existing values.
</p>

@param ids
       Returns the ID of the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ListSessionsResult.java