public ListEnabledProductsForImportResult withProductSubscriptions(String... productSubscriptions) {
        if (this.productSubscriptions == null) {
            setProductSubscriptions(new java.util.ArrayList<String>(productSubscriptions.length));
        }
        for (String ele : productSubscriptions) {
            this.productSubscriptions.add(ele);
        }
        return this;
    }
<p>
The list of ARNs for the resources that represent your subscriptions to products.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProductSubscriptions(java.util.Collection)} or {@link #withProductSubscriptions(java.util.Collection)}
if you want to override the existing values.
</p>

@param productSubscriptions
       The list of ARNs for the resources that represent your subscriptions to products.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/ListEnabledProductsForImportResult.java