Class VnetParametersProperties

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

public final class VnetParametersProperties extends Object implements com.azure.json.JsonSerializable<VnetParametersProperties>
VnetParameters resource specific properties.
  • Constructor Details

    • VnetParametersProperties

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

    • vnetResourceGroup

      public String vnetResourceGroup()
      Get the vnetResourceGroup property: The Resource Group of the VNET to be validated.
      Returns:
      the vnetResourceGroup value.
    • withVnetResourceGroup

      public VnetParametersProperties withVnetResourceGroup(String vnetResourceGroup)
      Set the vnetResourceGroup property: The Resource Group of the VNET to be validated.
      Parameters:
      vnetResourceGroup - the vnetResourceGroup value to set.
      Returns:
      the VnetParametersProperties object itself.
    • vnetName

      public String vnetName()
      Get the vnetName property: The name of the VNET to be validated.
      Returns:
      the vnetName value.
    • withVnetName

      public VnetParametersProperties withVnetName(String vnetName)
      Set the vnetName property: The name of the VNET to be validated.
      Parameters:
      vnetName - the vnetName value to set.
      Returns:
      the VnetParametersProperties object itself.
    • vnetSubnetName

      public String vnetSubnetName()
      Get the vnetSubnetName property: The subnet name to be validated.
      Returns:
      the vnetSubnetName value.
    • withVnetSubnetName

      public VnetParametersProperties withVnetSubnetName(String vnetSubnetName)
      Set the vnetSubnetName property: The subnet name to be validated.
      Parameters:
      vnetSubnetName - the vnetSubnetName value to set.
      Returns:
      the VnetParametersProperties object itself.
    • subnetResourceId

      public String subnetResourceId()
      Get the subnetResourceId property: The ARM Resource ID of the subnet to validate.
      Returns:
      the subnetResourceId value.
    • withSubnetResourceId

      public VnetParametersProperties withSubnetResourceId(String subnetResourceId)
      Set the subnetResourceId property: The ARM Resource ID of the subnet to validate.
      Parameters:
      subnetResourceId - the subnetResourceId value to set.
      Returns:
      the VnetParametersProperties 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<VnetParametersProperties>
      Throws:
      IOException
    • fromJson

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