public void setVariations(java.util.Collection<VariationConfig> variations) {
        if (variations == null) {
            this.variations = null;
            return;
        }

        this.variations = new java.util.ArrayList<VariationConfig>(variations);
    }
<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.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/CreateFeatureRequest.java