Class Subnet
- java.lang.Object
-
- com.azure.resourcemanager.servicebus.models.Subnet
-
public final class Subnet extends Object
Properties supplied for Subnet.
-
-
Constructor Summary
Constructors Constructor Description Subnet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource ID of Virtual Network Subnet.voidvalidate()Validates the instance.SubnetwithId(String id)Set the id property: Resource ID of Virtual Network Subnet.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource ID of Virtual Network Subnet.- Returns:
- the id value.
-
withId
public Subnet withId(String id)
Set the id property: Resource ID of Virtual Network Subnet.- Parameters:
id- the id value to set.- Returns:
- the Subnet object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-