Class VirtualNetworkAppliancePropertiesFormatInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.VirtualNetworkAppliancePropertiesFormatInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>

public final class VirtualNetworkAppliancePropertiesFormatInner extends Object implements com.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>
VirtualNetworkAppliance properties.
  • Constructor Details

    • VirtualNetworkAppliancePropertiesFormatInner

      public VirtualNetworkAppliancePropertiesFormatInner()
      Creates an instance of VirtualNetworkAppliancePropertiesFormatInner class.
  • Method Details

    • bandwidthInGbps

      public String bandwidthInGbps()
      Get the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.
      Returns:
      the bandwidthInGbps value.
    • withBandwidthInGbps

      public VirtualNetworkAppliancePropertiesFormatInner withBandwidthInGbps(String bandwidthInGbps)
      Set the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.
      Parameters:
      bandwidthInGbps - the bandwidthInGbps value to set.
      Returns:
      the VirtualNetworkAppliancePropertiesFormatInner object itself.
    • ipConfigurations

      public List<VirtualNetworkApplianceIpConfiguration> ipConfigurations()
      Get the ipConfigurations property: A list of IPConfigurations of the virtual network appliance.
      Returns:
      the ipConfigurations value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the virtual network appliance resource.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resource GUID property of the virtual network appliance resource.
      Returns:
      the resourceGuid value.
    • subnet

      public SubnetInner subnet()
      Get the subnet property: The reference to the subnet resource.
      Returns:
      the subnet value.
    • withSubnet

      Set the subnet property: The reference to the subnet resource.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the VirtualNetworkAppliancePropertiesFormatInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>
      Throws:
      IOException
    • fromJson

      public static VirtualNetworkAppliancePropertiesFormatInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VirtualNetworkAppliancePropertiesFormatInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VirtualNetworkAppliancePropertiesFormatInner 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 VirtualNetworkAppliancePropertiesFormatInner.