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

package com.azure.resourcemanager.networkcloud.models;

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

/**
 * ControlPlaneNodePatchConfiguration represents the properties of the control plane that can be patched for this
 * Kubernetes cluster.
 */
@Fluent
public final class ControlPlaneNodePatchConfiguration {
    /*
     * The number of virtual machines that use this configuration.
     */
    @JsonProperty(value = "count")
    private Long count;

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

    /**
     * Get the count property: The number of virtual machines that use this configuration.
     *
     * @return the count value.
     */
    public Long count() {
        return this.count;
    }

    /**
     * Set the count property: The number of virtual machines that use this configuration.
     *
     * @param count the count value to set.
     * @return the ControlPlaneNodePatchConfiguration object itself.
     */
    public ControlPlaneNodePatchConfiguration withCount(Long count) {
        this.count = count;
        return this;
    }

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