LabPlanNetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. labservices. models. LabPlanNetworkProfile
- com.
Implements
public final class LabPlanNetworkProfile
implements JsonSerializable<LabPlanNetworkProfile>
Profile for how to handle networking for Lab Plans.
Constructor Summary
| Constructor | Description |
|---|---|
| LabPlanNetworkProfile() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Lab |
fromJson(JsonReader jsonReader)
Reads an instance of Lab |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Lab |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
LabPlanNetworkProfile
public LabPlanNetworkProfile()
Creates an instance of LabPlanNetworkProfile class.
Method Details
fromJson
public static LabPlanNetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of LabPlanNetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
subnetId
public String subnetId()
Get the subnetId property: The external subnet resource id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSubnetId
public LabPlanNetworkProfile withSubnetId(String subnetId)
Set the subnetId property: The external subnet resource id.
Parameters:
Returns: