NetworkProfileUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.NetworkProfileUpdate

Implements

public final class NetworkProfileUpdate
implements JsonSerializable<NetworkProfileUpdate>

Defines the resource update properties.

Constructor Summary

Constructor Description
NetworkProfileUpdate()

Creates an instance of NetworkProfileUpdate class.

Method Summary

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

Reads an instance of NetworkProfileUpdate from the JsonReader.

List<NetworkInterfaceUpdate> networkInterfaces()

Get the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkProfileUpdate withNetworkInterfaces(List<NetworkInterfaceUpdate> networkInterfaces)

Set the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.

Methods inherited from java.lang.Object

Constructor Details

NetworkProfileUpdate

public NetworkProfileUpdate()

Creates an instance of NetworkProfileUpdate class.

Method Details

fromJson

public static NetworkProfileUpdate fromJson(JsonReader jsonReader)

Reads an instance of NetworkProfileUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkInterfaces

public List<NetworkInterfaceUpdate> networkInterfaces()

Get the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.

Returns:

the networkInterfaces value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkInterfaces

public NetworkProfileUpdate withNetworkInterfaces(List<NetworkInterfaceUpdate> networkInterfaces)

Set the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.

Parameters:

networkInterfaces - the networkInterfaces value to set.

Returns:

the NetworkProfileUpdate object itself.

Applies to