NetworkInterfaceUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. NetworkInterfaceUpdate
- com.
Implements
public final class NetworkInterfaceUpdate
implements JsonSerializable<NetworkInterfaceUpdate>
Defines the network interface update.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterfaceUpdate() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
deviceKey()
Get the device |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
name()
Get the name property: Gets or sets the name of the network interface. |
| String |
networkId()
Get the network |
|
Nic |
nicType()
Get the nic |
|
Power |
powerOnBoot()
Get the power |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withDeviceKey(Integer deviceKey)
Set the device |
|
Network |
withName(String name)
Set the name property: Gets or sets the name of the network interface. |
|
Network |
withNetworkId(String networkId)
Set the network |
|
Network |
withNicType(NicType nicType)
Set the nic |
|
Network |
withPowerOnBoot(PowerOnBootOption powerOnBoot)
Set the power |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceUpdate
public NetworkInterfaceUpdate()
Creates an instance of NetworkInterfaceUpdate class.
Method Details
deviceKey
public Integer deviceKey()
Get the deviceKey property: Gets or sets the device key value.
Returns:
fromJson
public static NetworkInterfaceUpdate fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceUpdate from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets or sets the name of the network interface.
Returns:
networkId
public String networkId()
Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.
Returns:
nicType
public NicType nicType()
Get the nicType property: NIC type.
Returns:
powerOnBoot
public PowerOnBootOption powerOnBoot()
Get the powerOnBoot property: Gets or sets the power on boot.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeviceKey
public NetworkInterfaceUpdate withDeviceKey(Integer deviceKey)
Set the deviceKey property: Gets or sets the device key value.
Parameters:
Returns:
withName
public NetworkInterfaceUpdate withName(String name)
Set the name property: Gets or sets the name of the network interface.
Parameters:
Returns:
withNetworkId
public NetworkInterfaceUpdate withNetworkId(String networkId)
Set the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.
Parameters:
Returns:
withNicType
public NetworkInterfaceUpdate withNicType(NicType nicType)
Set the nicType property: NIC type.
Parameters:
Returns:
withPowerOnBoot
public NetworkInterfaceUpdate withPowerOnBoot(PowerOnBootOption powerOnBoot)
Set the powerOnBoot property: Gets or sets the power on boot.
Parameters:
Returns: