public ObjectLambdaConfiguration withAllowedFeatures(String... allowedFeatures) {
        if (this.allowedFeatures == null) {
            setAllowedFeatures(new java.util.ArrayList<String>(allowedFeatures.length));
        }
        for (String ele : allowedFeatures) {
            this.allowedFeatures.add(ele);
        }
        return this;
    }
<p>
A container for allowed features. Valid inputs are <code>GetObject-Range</code>,
<code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and <code>HeadObject-PartNumber</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAllowedFeatures(java.util.Collection)} or {@link #withAllowedFeatures(java.util.Collection)} if you
want to override the existing values.
</p>

@param allowedFeatures
       A container for allowed features. Valid inputs are <code>GetObject-Range</code>,
       <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and <code>HeadObject-PartNumber</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ObjectLambdaAllowedFeature
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/ObjectLambdaConfiguration.java