PrivateAccessSubnet Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. PrivateAccessSubnet
- com.
Implements
public final class PrivateAccessSubnet
implements JsonSerializable<PrivateAccessSubnet>
Description of a Virtual Network subnet that is useable for private site access.
Constructor Summary
Constructor | Description |
---|---|
PrivateAccessSubnet() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
Integer |
key()
Get the key property: The key (ID) of the subnet. |
String |
name()
Get the name property: The name of the subnet. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Private |
withKey(Integer key)
Set the key property: The key (ID) of the subnet. |
Private |
withName(String name)
Set the name property: The name of the subnet. |
Methods inherited from java.lang.Object
Constructor Details
PrivateAccessSubnet
public PrivateAccessSubnet()
Creates an instance of PrivateAccessSubnet class.
Method Details
fromJson
public static PrivateAccessSubnet fromJson(JsonReader jsonReader)
Reads an instance of PrivateAccessSubnet from the JsonReader.
Parameters:
Returns:
Throws:
key
public Integer key()
Get the key property: The key (ID) of the subnet.
Returns:
name
public String name()
Get the name property: The name of the subnet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKey
public PrivateAccessSubnet withKey(Integer key)
Set the key property: The key (ID) of the subnet.
Parameters:
Returns:
withName
public PrivateAccessSubnet withName(String name)
Set the name property: The name of the subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java