public void setFeatures(java.util.Collection<DetectorFeatureConfiguration> features) {
        if (features == null) {
            this.features = null;
            return;
        }

        this.features = new java.util.ArrayList<DetectorFeatureConfiguration>(features);
    }
<p>
Provides the features that will be updated for the detector.
</p>

@param features
       Provides the features that will be updated for the detector.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UpdateDetectorRequest.java