// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.dataprotection.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Elements class for feature request. */
@Fluent
public final class SupportedFeature {
    /*
     * support feature type.
     */
    @JsonProperty(value = "featureName")
    private String featureName;

    /*
     * feature support status
     */
    @JsonProperty(value = "supportStatus")
    private FeatureSupportStatus supportStatus;

    /*
     * support feature type.
     */
    @JsonProperty(value = "exposureControlledFeatures")
    private List<String> exposureControlledFeatures;

    /** Creates an instance of SupportedFeature class. */
    public SupportedFeature() {
    }

    /**
     * Get the featureName property: support feature type.
     *
     * @return the featureName value.
     */
    public String featureName() {
        return this.featureName;
    }

    /**
     * Set the featureName property: support feature type.
     *
     * @param featureName the featureName value to set.
     * @return the SupportedFeature object itself.
     */
    public SupportedFeature withFeatureName(String featureName) {
        this.featureName = featureName;
        return this;
    }

    /**
     * Get the supportStatus property: feature support status.
     *
     * @return the supportStatus value.
     */
    public FeatureSupportStatus supportStatus() {
        return this.supportStatus;
    }

    /**
     * Set the supportStatus property: feature support status.
     *
     * @param supportStatus the supportStatus value to set.
     * @return the SupportedFeature object itself.
     */
    public SupportedFeature withSupportStatus(FeatureSupportStatus supportStatus) {
        this.supportStatus = supportStatus;
        return this;
    }

    /**
     * Get the exposureControlledFeatures property: support feature type.
     *
     * @return the exposureControlledFeatures value.
     */
    public List<String> exposureControlledFeatures() {
        return this.exposureControlledFeatures;
    }

    /**
     * Set the exposureControlledFeatures property: support feature type.
     *
     * @param exposureControlledFeatures the exposureControlledFeatures value to set.
     * @return the SupportedFeature object itself.
     */
    public SupportedFeature withExposureControlledFeatures(List<String> exposureControlledFeatures) {
        this.exposureControlledFeatures = exposureControlledFeatures;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
