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

package com.azure.resourcemanager.avs.fluent.models;

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

/** The properties of a cluster that may be updated. */
@Fluent
public final class ClusterUpdateProperties {
    /*
     * The cluster size
     */
    @JsonProperty(value = "clusterSize")
    private Integer clusterSize;

    /*
     * The hosts
     */
    @JsonProperty(value = "hosts")
    private List<String> hosts;

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

    /**
     * Get the clusterSize property: The cluster size.
     *
     * @return the clusterSize value.
     */
    public Integer clusterSize() {
        return this.clusterSize;
    }

    /**
     * Set the clusterSize property: The cluster size.
     *
     * @param clusterSize the clusterSize value to set.
     * @return the ClusterUpdateProperties object itself.
     */
    public ClusterUpdateProperties withClusterSize(Integer clusterSize) {
        this.clusterSize = clusterSize;
        return this;
    }

    /**
     * Get the hosts property: The hosts.
     *
     * @return the hosts value.
     */
    public List<String> hosts() {
        return this.hosts;
    }

    /**
     * Set the hosts property: The hosts.
     *
     * @param hosts the hosts value to set.
     * @return the ClusterUpdateProperties object itself.
     */
    public ClusterUpdateProperties withHosts(List<String> hosts) {
        this.hosts = hosts;
        return this;
    }

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