VirtualNetworkProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.VirtualNetworkProfile

Implements

public final class VirtualNetworkProfile
implements JsonSerializable<VirtualNetworkProfile>

Virtual Network Profile.

Constructor Summary

Constructor Description
VirtualNetworkProfile()

Creates an instance of VirtualNetworkProfile class.

Method Summary

Modifier and Type Method and Description
String computeSubnetId()

Get the computeSubnetId property: Subnet ID used for computes in workspace.

static VirtualNetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualNetworkProfile withComputeSubnetId(String computeSubnetId)

Set the computeSubnetId property: Subnet ID used for computes in workspace.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkProfile

public VirtualNetworkProfile()

Creates an instance of VirtualNetworkProfile class.

Method Details

computeSubnetId

public String computeSubnetId()

Get the computeSubnetId property: Subnet ID used for computes in workspace.

Returns:

the computeSubnetId value.

fromJson

public static VirtualNetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the VirtualNetworkProfile.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withComputeSubnetId

public VirtualNetworkProfile withComputeSubnetId(String computeSubnetId)

Set the computeSubnetId property: Subnet ID used for computes in workspace.

Parameters:

computeSubnetId - the computeSubnetId value to set.

Returns:

the VirtualNetworkProfile object itself.

Applies to