public DescribeFeatureGroupResult withFeatureDefinitions(FeatureDefinition... featureDefinitions) {
        if (this.featureDefinitions == null) {
            setFeatureDefinitions(new java.util.ArrayList<FeatureDefinition>(featureDefinitions.length));
        }
        for (FeatureDefinition ele : featureDefinitions) {
            this.featureDefinitions.add(ele);
        }
        return this;
    }
<p>
A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a
<code>FeatureName</code> and <code>FeatureType</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFeatureDefinitions(java.util.Collection)} or {@link #withFeatureDefinitions(java.util.Collection)} if
you want to override the existing values.
</p>

@param featureDefinitions
       A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a
       <code>FeatureName</code> and <code>FeatureType</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DescribeFeatureGroupResult.java