Share via


NvaInVnetSubnetReferenceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NvaInVnetSubnetReferenceProperties

Implements

public final class NvaInVnetSubnetReferenceProperties
implements JsonSerializable<NvaInVnetSubnetReferenceProperties>

Subnet references where the NVA NICS will be deployed The resource URI of the subnets where the NVA NICS will be deployed.

Constructor Summary

Constructor Description
NvaInVnetSubnetReferenceProperties()

Creates an instance of NvaInVnetSubnetReferenceProperties class.

Method Summary

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

Reads an instance of NvaInVnetSubnetReferenceProperties from the JsonReader.

String id()

Get the id property: Resource Uri of Subnet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NvaInVnetSubnetReferenceProperties withId(String id)

Set the id property: Resource Uri of Subnet.

Methods inherited from java.lang.Object

Constructor Details

NvaInVnetSubnetReferenceProperties

public NvaInVnetSubnetReferenceProperties()

Creates an instance of NvaInVnetSubnetReferenceProperties class.

Method Details

fromJson

public static NvaInVnetSubnetReferenceProperties fromJson(JsonReader jsonReader)

Reads an instance of NvaInVnetSubnetReferenceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NvaInVnetSubnetReferenceProperties 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 NvaInVnetSubnetReferenceProperties.

id

public String id()

Get the id property: Resource Uri of Subnet.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public NvaInVnetSubnetReferenceProperties withId(String id)

Set the id property: Resource Uri of Subnet.

Parameters:

id - the id value to set.

Returns:

the NvaInVnetSubnetReferenceProperties object itself.

Applies to