Class NetworkInterfaceUpdate

java.lang.Object
com.azure.resourcemanager.connectedvmware.models.NetworkInterfaceUpdate

public final class NetworkInterfaceUpdate extends Object
Defines the network interface update.
  • Constructor Details

    • NetworkInterfaceUpdate

      public NetworkInterfaceUpdate()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the network interface.
      Returns:
      the name value.
    • withName

      public NetworkInterfaceUpdate withName(String name)
      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

      public String 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

      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:
      networkId - the networkId value to set.
      Returns:
      the NetworkInterfaceUpdate object itself.
    • nicType

      public NicType nicType()
      Get the nicType property: NIC type.
      Returns:
      the nicType value.
    • withNicType

      public NetworkInterfaceUpdate withNicType(NicType nicType)
      Set the nicType property: NIC type.
      Parameters:
      nicType - the nicType value to set.
      Returns:
      the NetworkInterfaceUpdate object itself.
    • powerOnBoot

      public PowerOnBootOption powerOnBoot()
      Get the powerOnBoot property: Gets or sets the power on boot.
      Returns:
      the powerOnBoot value.
    • withPowerOnBoot

      public NetworkInterfaceUpdate withPowerOnBoot(PowerOnBootOption powerOnBoot)
      Set the powerOnBoot property: Gets or sets the power on boot.
      Parameters:
      powerOnBoot - the powerOnBoot value to set.
      Returns:
      the NetworkInterfaceUpdate object itself.
    • deviceKey

      public Integer deviceKey()
      Get the deviceKey property: Gets or sets the device key value.
      Returns:
      the deviceKey value.
    • withDeviceKey

      public NetworkInterfaceUpdate withDeviceKey(Integer deviceKey)
      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.