public LinuxSubscriptionsDiscoverySettings withSourceRegions(String... sourceRegions) {
        if (this.sourceRegions == null) {
            setSourceRegions(new java.util.ArrayList<String>(sourceRegions.length));
        }
        for (String ele : sourceRegions) {
            this.sourceRegions.add(ele);
        }
        return this;
    }
<p>
The Regions in which to discover data for Linux subscriptions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSourceRegions(java.util.Collection)} or {@link #withSourceRegions(java.util.Collection)} if you want
to override the existing values.
</p>

@param sourceRegions
       The Regions in which to discover data for Linux subscriptions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-licensemanagerlinuxsubscriptions/src/main/java/com/amazonaws/services/licensemanagerlinuxsubscriptions/model/LinuxSubscriptionsDiscoverySettings.java