public BatchGetStreamKeyRequest withArns(String... arns) {
        if (this.arns == null) {
            setArns(new java.util.ArrayList<String>(arns.length));
        }
        for (String ele : arns) {
            this.arns.add(ele);
        }
        return this;
    }
<p>
Array of ARNs, one per stream key.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setArns(java.util.Collection)} or {@link #withArns(java.util.Collection)} if you want to override the
existing values.
</p>

@param arns
       Array of ARNs, one per stream key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ivs/src/main/java/com/amazonaws/services/ivs/model/BatchGetStreamKeyRequest.java