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 Summary
ConstructorsConstructorDescriptionCreates an instance of VnetParametersProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VnetParametersProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of VnetParametersProperties from the JsonReader.Get the subnetResourceId property: The ARM Resource ID of the subnet to validate.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.vnetName()
Get the vnetName property: The name of the VNET to be validated.Get the vnetResourceGroup property: The Resource Group of the VNET to be validated.Get the vnetSubnetName property: The subnet name to be validated.withSubnetResourceId
(String subnetResourceId) Set the subnetResourceId property: The ARM Resource ID of the subnet to validate.withVnetName
(String vnetName) Set the vnetName property: The name of the VNET to be validated.withVnetResourceGroup
(String vnetResourceGroup) Set the vnetResourceGroup property: The Resource Group of the VNET to be validated.withVnetSubnetName
(String vnetSubnetName) Set the vnetSubnetName property: The subnet name to be validated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VnetParametersProperties
public VnetParametersProperties()Creates an instance of VnetParametersProperties class.
-
-
Method Details
-
vnetResourceGroup
Get the vnetResourceGroup property: The Resource Group of the VNET to be validated.- Returns:
- the vnetResourceGroup value.
-
withVnetResourceGroup
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
Get the vnetName property: The name of the VNET to be validated.- Returns:
- the vnetName value.
-
withVnetName
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
Get the vnetSubnetName property: The subnet name to be validated.- Returns:
- the vnetSubnetName value.
-
withVnetSubnetName
Set the vnetSubnetName property: The subnet name to be validated.- Parameters:
vnetSubnetName
- the vnetSubnetName value to set.- Returns:
- the VnetParametersProperties object itself.
-
subnetResourceId
Get the subnetResourceId property: The ARM Resource ID of the subnet to validate.- Returns:
- the subnetResourceId value.
-
withSubnetResourceId
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
- Specified by:
toJson
in interfacecom.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.
-