Subnet Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. Subnet
- com.
Implements
public final class Subnet
implements JsonSerializable<Subnet>
Properties supplied for Subnet.
Constructor Summary
Constructor | Description |
---|---|
Subnet() |
Creates an instance of Subnet class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Subnet |
fromJson(JsonReader jsonReader)
Reads an instance of Subnet from the Json |
String |
id()
Get the id property: Resource ID of Virtual Network Subnet. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Subnet |
withId(String id)
Set the id property: Resource ID of Virtual Network Subnet. |
Methods inherited from java.lang.Object
Constructor Details
Subnet
public Subnet()
Creates an instance of Subnet class.
Method Details
fromJson
public static Subnet fromJson(JsonReader jsonReader)
Reads an instance of Subnet from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID of Virtual Network Subnet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public Subnet withId(String id)
Set the id property: Resource ID of Virtual Network Subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java