Class VirtualNetworkProfile
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.VirtualNetworkProfile
-
public final class VirtualNetworkProfile extends Object
Specification for using a Virtual Network.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource id of the Virtual Network.Stringname()Get the name property: Name of the Virtual Network (read-only).Stringsubnet()Get the subnet property: Subnet within the Virtual Network.Stringtype()Get the type property: Resource type of the Virtual Network (read-only).voidvalidate()Validates the instance.VirtualNetworkProfilewithId(String id)Set the id property: Resource id of the Virtual Network.VirtualNetworkProfilewithSubnet(String subnet)Set the subnet property: Subnet within the Virtual Network.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource id of the Virtual Network.- Returns:
- the id value.
-
withId
public VirtualNetworkProfile withId(String id)
Set the id property: Resource id of the Virtual Network.- Parameters:
id- the id value to set.- Returns:
- the VirtualNetworkProfile object itself.
-
name
public String name()
Get the name property: Name of the Virtual Network (read-only).- Returns:
- the name value.
-
type
public String type()
Get the type property: Resource type of the Virtual Network (read-only).- Returns:
- the type value.
-
subnet
public String subnet()
Get the subnet property: Subnet within the Virtual Network.- Returns:
- the subnet value.
-
withSubnet
public VirtualNetworkProfile withSubnet(String subnet)
Set the subnet property: Subnet within the Virtual Network.- Parameters:
subnet- the subnet value to set.- Returns:
- the VirtualNetworkProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-