public CreateFeatureRequest withVariations(java.util.Collection<VariationConfig> variations) {
        setVariations(variations);
        return this;
    }
<p>
An array of structures that contain the configuration of the feature's different variations.
</p>

@param variations
       An array of structures that contain the configuration of the feature's different variations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/CreateFeatureRequest.java