public ListDistributedGrantsRequest withGrantArns(String... grantArns) {
        if (this.grantArns == null) {
            setGrantArns(new java.util.ArrayList<String>(grantArns.length));
        }
        for (String ele : grantArns) {
            this.grantArns.add(ele);
        }
        return this;
    }
<p>
Amazon Resource Names (ARNs) of the grants.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setGrantArns(java.util.Collection)} or {@link #withGrantArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param grantArns
       Amazon Resource Names (ARNs) of the grants.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/ListDistributedGrantsRequest.java