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

package com.azure.messaging.eventgrid.systemevents;

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

/** Schema of common properties of cluster support events. */
@Fluent
public class ContainerServiceClusterSupportEventData {
    /*
     * The Kubernetes version of the ManagedCluster resource
     */
    @JsonProperty(value = "kubernetesVersion")
    private String kubernetesVersion;

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

    /**
     * Get the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.
     *
     * @return the kubernetesVersion value.
     */
    public String getKubernetesVersion() {
        return this.kubernetesVersion;
    }

    /**
     * Set the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.
     *
     * @param kubernetesVersion the kubernetesVersion value to set.
     * @return the ContainerServiceClusterSupportEventData object itself.
     */
    public ContainerServiceClusterSupportEventData setKubernetesVersion(String kubernetesVersion) {
        this.kubernetesVersion = kubernetesVersion;
        return this;
    }
}
