ManagedVirtualNetworkReference.java

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

package com.azure.analytics.synapse.artifacts.models;

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

/** Managed Virtual Network reference type. */
@Fluent
public final class ManagedVirtualNetworkReference {
    /*
     * Managed Virtual Network reference type.
     */
    @JsonProperty(value = "type", required = true)
    private String type = "ManagedVirtualNetworkReference";

    /*
     * Reference ManagedVirtualNetwork name.
     */
    @JsonProperty(value = "referenceName", required = true)
    private String referenceName;

    /** Creates an instance of ManagedVirtualNetworkReference class. */
    public ManagedVirtualNetworkReference() {
        type = "ManagedVirtualNetworkReference";
    }

    /**
     * Get the type property: Managed Virtual Network reference type.
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Set the type property: Managed Virtual Network reference type.
     *
     * @param type the type value to set.
     * @return the ManagedVirtualNetworkReference object itself.
     */
    public ManagedVirtualNetworkReference setType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the referenceName property: Reference ManagedVirtualNetwork name.
     *
     * @return the referenceName value.
     */
    public String getReferenceName() {
        return this.referenceName;
    }

    /**
     * Set the referenceName property: Reference ManagedVirtualNetwork name.
     *
     * @param referenceName the referenceName value to set.
     * @return the ManagedVirtualNetworkReference object itself.
     */
    public ManagedVirtualNetworkReference setReferenceName(String referenceName) {
        this.referenceName = referenceName;
        return this;
    }
}