public BatchGetViewRequest withViewArns(String... viewArns) {
        if (this.viewArns == null) {
            setViewArns(new java.util.ArrayList<String>(viewArns.length));
        }
        for (String ele : viewArns) {
            this.viewArns.add(ele);
        }
        return this;
    }
<p>
A list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource
names (ARNs)</a> that identify the views you want details for.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setViewArns(java.util.Collection)} or {@link #withViewArns(java.util.Collection)} if you want to override
the existing values.
</p>

@param viewArns
       A list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
       resource names (ARNs)</a> that identify the views you want details for.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/BatchGetViewRequest.java