public ObjectLambdaConfiguration withAllowedFeatures(ObjectLambdaAllowedFeature... allowedFeatures) {
        java.util.ArrayList<String> allowedFeaturesCopy = new java.util.ArrayList<String>(allowedFeatures.length);
        for (ObjectLambdaAllowedFeature value : allowedFeatures) {
            allowedFeaturesCopy.add(value.toString());
        }
        if (getAllowedFeatures() == null) {
            setAllowedFeatures(allowedFeaturesCopy);
        } else {
            getAllowedFeatures().addAll(allowedFeaturesCopy);
        }
        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>

@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