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

package com.azure.resourcemanager.containerservice.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Snapshot Controller settings for the storage profile. */
@Fluent
public final class ManagedClusterStorageProfileSnapshotController {
    /*
     * Whether to enable Snapshot Controller. The default value is true.
     */
    @JsonProperty(value = "enabled")
    private Boolean enabled;

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

    /**
     * Get the enabled property: Whether to enable Snapshot Controller. The default value is true.
     *
     * @return the enabled value.
     */
    public Boolean enabled() {
        return this.enabled;
    }

    /**
     * Set the enabled property: Whether to enable Snapshot Controller. The default value is true.
     *
     * @param enabled the enabled value to set.
     * @return the ManagedClusterStorageProfileSnapshotController object itself.
     */
    public ManagedClusterStorageProfileSnapshotController withEnabled(Boolean enabled) {
        this.enabled = enabled;
        return this;
    }

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