ManagedVirtualNetworkReference Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.ManagedVirtualNetworkReference

Implements

public final class ManagedVirtualNetworkReference
implements JsonSerializable<ManagedVirtualNetworkReference>

Managed Virtual Network reference type.

Constructor Summary

Constructor Description
ManagedVirtualNetworkReference()

Creates an instance of ManagedVirtualNetworkReference class.

Method Summary

Modifier and Type Method and Description
static ManagedVirtualNetworkReference fromJson(JsonReader jsonReader)

Reads an instance of ManagedVirtualNetworkReference from the JsonReader.

String referenceName()

Get the referenceName property: Reference ManagedVirtualNetwork name.

JsonWriter toJson(JsonWriter jsonWriter)
ManagedVirtualNetworkReferenceType type()

Get the type property: Managed Virtual Network reference type.

void validate()

Validates the instance.

ManagedVirtualNetworkReference withReferenceName(String referenceName)

Set the referenceName property: Reference ManagedVirtualNetwork name.

ManagedVirtualNetworkReference withType(ManagedVirtualNetworkReferenceType type)

Set the type property: Managed Virtual Network reference type.

Methods inherited from java.lang.Object

Constructor Details

ManagedVirtualNetworkReference

public ManagedVirtualNetworkReference()

Creates an instance of ManagedVirtualNetworkReference class.

Method Details

fromJson

public static ManagedVirtualNetworkReference fromJson(JsonReader jsonReader)

Reads an instance of ManagedVirtualNetworkReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedVirtualNetworkReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

referenceName

public String referenceName()

Get the referenceName property: Reference ManagedVirtualNetwork name.

Returns:

the referenceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ManagedVirtualNetworkReferenceType type()

Get the type property: Managed Virtual Network reference type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withReferenceName

public ManagedVirtualNetworkReference withReferenceName(String referenceName)

Set the referenceName property: Reference ManagedVirtualNetwork name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the ManagedVirtualNetworkReference object itself.

withType

public ManagedVirtualNetworkReference withType(ManagedVirtualNetworkReferenceType type)

Set the type property: Managed Virtual Network reference type.

Parameters:

type - the type value to set.

Returns:

the ManagedVirtualNetworkReference object itself.

Applies to