public final class PrivateAccessVirtualNetwork extends Object
| Constructor and Description |
|---|
PrivateAccessVirtualNetwork() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
key()
Get the key property: The key (ID) of the Virtual Network.
|
String |
name()
Get the name property: The name of the Virtual Network.
|
String |
resourceId()
Get the resourceId property: The ARM uri of the Virtual Network.
|
List<PrivateAccessSubnet> |
subnets()
Get the subnets property: A List of subnets that access is allowed to on this Virtual Network.
|
void |
validate()
Validates the instance.
|
PrivateAccessVirtualNetwork |
withKey(Integer key)
Set the key property: The key (ID) of the Virtual Network.
|
PrivateAccessVirtualNetwork |
withName(String name)
Set the name property: The name of the Virtual Network.
|
PrivateAccessVirtualNetwork |
withResourceId(String resourceId)
Set the resourceId property: The ARM uri of the Virtual Network.
|
PrivateAccessVirtualNetwork |
withSubnets(List<PrivateAccessSubnet> subnets)
Set the subnets property: A List of subnets that access is allowed to on this Virtual Network.
|
public String name()
public PrivateAccessVirtualNetwork withName(String name)
name - the name value to set.public Integer key()
public PrivateAccessVirtualNetwork withKey(Integer key)
key - the key value to set.public String resourceId()
public PrivateAccessVirtualNetwork withResourceId(String resourceId)
resourceId - the resourceId value to set.public List<PrivateAccessSubnet> subnets()
public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets)
subnets - the subnets value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.