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

package com.azure.resourcemanager.hybridcontainerservice.models;

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

/** Additional features status like Arc Agent Onboarding. */
@Fluent
public final class ProvisionedClustersCommonPropertiesStatusFeaturesStatus {
    /*
     * Defines the observed Arc Agent status that is resourceSynced back to the ARM resource.
     */
    @JsonProperty(value = "arcAgentStatus")
    private ArcAgentStatus arcAgentStatus;

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

    /**
     * Get the arcAgentStatus property: Defines the observed Arc Agent status that is resourceSynced back to the ARM
     * resource.
     *
     * @return the arcAgentStatus value.
     */
    public ArcAgentStatus arcAgentStatus() {
        return this.arcAgentStatus;
    }

    /**
     * Set the arcAgentStatus property: Defines the observed Arc Agent status that is resourceSynced back to the ARM
     * resource.
     *
     * @param arcAgentStatus the arcAgentStatus value to set.
     * @return the ProvisionedClustersCommonPropertiesStatusFeaturesStatus object itself.
     */
    public ProvisionedClustersCommonPropertiesStatusFeaturesStatus withArcAgentStatus(ArcAgentStatus arcAgentStatus) {
        this.arcAgentStatus = arcAgentStatus;
        return this;
    }

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