// 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 Extension for a particular node in HCI Cluster. */
@Immutable
public final class PerNodeExtensionState {
    /*
     * Name of the node in HCI Cluster.
     */
    @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * Fully qualified resource ID for the particular Arc Extension on this
     * node.
     */
    @JsonProperty(value = "extension", access = JsonProperty.Access.WRITE_ONLY)
    private String extension;

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

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

    /**
     * Get the extension property: Fully qualified resource ID for the particular Arc Extension on this node.
     *
     * @return the extension value.
     */
    public String extension() {
        return this.extension;
    }

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

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