public StackSet withRegions(java.util.Collection<String> regions) {
        setRegions(regions);
        return this;
    }
<p>
Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The Amazon
Web Services Regions list output is in no particular order.
</p>

@param regions
       Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The
       Amazon Web Services Regions list output is in no particular order.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/StackSet.java