// 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.models;

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

/** The properties of an Arc addon. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "addonType")
@JsonTypeName("Arc")
@Fluent
public final class AddonArcProperties extends AddonProperties {
    /*
     * The VMware vCenter resource ID
     */
    @JsonProperty(value = "vCenter")
    private String vCenter;

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

    /**
     * Get the vCenter property: The VMware vCenter resource ID.
     *
     * @return the vCenter value.
     */
    public String vCenter() {
        return this.vCenter;
    }

    /**
     * Set the vCenter property: The VMware vCenter resource ID.
     *
     * @param vCenter the vCenter value to set.
     * @return the AddonArcProperties object itself.
     */
    public AddonArcProperties withVCenter(String vCenter) {
        this.vCenter = vCenter;
        return this;
    }

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