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

package com.azure.resourcemanager.resourceconnector.models;

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

/** Contains infrastructure information about the Appliance. */
@Fluent
public final class AppliancePropertiesInfrastructureConfig {
    /*
     * Information about the connected appliance.
     */
    @JsonProperty(value = "provider")
    private Provider provider;

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

    /**
     * Get the provider property: Information about the connected appliance.
     *
     * @return the provider value.
     */
    public Provider provider() {
        return this.provider;
    }

    /**
     * Set the provider property: Information about the connected appliance.
     *
     * @param provider the provider value to set.
     * @return the AppliancePropertiesInfrastructureConfig object itself.
     */
    public AppliancePropertiesInfrastructureConfig withProvider(Provider provider) {
        this.provider = provider;
        return this;
    }

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