Class NetworkInterfaceUpdate
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.NetworkInterfaceUpdate
Defines the network interface update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deviceKey property: Gets or sets the device key value.name()
Get the name property: Gets or sets the name of the network interface.Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.nicType()
Get the nicType property: NIC type.Get the powerOnBoot property: Gets or sets the power on boot.void
validate()
Validates the instance.withDeviceKey
(Integer deviceKey) Set the deviceKey property: Gets or sets the device key value.Set the name property: Gets or sets the name of the network interface.withNetworkId
(String networkId) Set the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.withNicType
(NicType nicType) Set the nicType property: NIC type.withPowerOnBoot
(PowerOnBootOption powerOnBoot) Set the powerOnBoot property: Gets or sets the power on boot.
-
Constructor Details
-
NetworkInterfaceUpdate
public NetworkInterfaceUpdate()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the network interface.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the network interface.- Parameters:
name
- the name value to set.- Returns:
- the NetworkInterfaceUpdate object itself.
-
networkId
Get the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.- Returns:
- the networkId value.
-
withNetworkId
Set the networkId property: Gets or sets the ARM Id of the network resource to connect the virtual machine.- Parameters:
networkId
- the networkId value to set.- Returns:
- the NetworkInterfaceUpdate object itself.
-
nicType
Get the nicType property: NIC type.- Returns:
- the nicType value.
-
withNicType
Set the nicType property: NIC type.- Parameters:
nicType
- the nicType value to set.- Returns:
- the NetworkInterfaceUpdate object itself.
-
powerOnBoot
Get the powerOnBoot property: Gets or sets the power on boot.- Returns:
- the powerOnBoot value.
-
withPowerOnBoot
Set the powerOnBoot property: Gets or sets the power on boot.- Parameters:
powerOnBoot
- the powerOnBoot value to set.- Returns:
- the NetworkInterfaceUpdate object itself.
-
deviceKey
Get the deviceKey property: Gets or sets the device key value.- Returns:
- the deviceKey value.
-
withDeviceKey
Set the deviceKey property: Gets or sets the device key value.- Parameters:
deviceKey
- the deviceKey value to set.- Returns:
- the NetworkInterfaceUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-