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

package com.azure.resourcemanager.azurestackhci.models;

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

/** Status of Arc agent for a particular node in HCI Cluster. */
@Immutable
public final class PerNodeState {
    /*
     * Name of the Node in HCI Cluster
     */
    @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * Fully qualified resource ID for the Arc agent of this node.
     */
    @JsonProperty(value = "arcInstance", access = JsonProperty.Access.WRITE_ONLY)
    private String arcInstance;

    /*
     * State of Arc agent in this node.
     */
    @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
    private NodeArcState state;

    /**
     * Get the name property: Name of the Node in HCI Cluster.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Get the arcInstance property: Fully qualified resource ID for the Arc agent of this node.
     *
     * @return the arcInstance value.
     */
    public String arcInstance() {
        return this.arcInstance;
    }

    /**
     * Get the state property: State of Arc agent in this node.
     *
     * @return the state value.
     */
    public NodeArcState state() {
        return this.state;
    }

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