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