Class LabNetworkProfile
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.LabNetworkProfile
-
public final class LabNetworkProfile extends Object
Profile for how to handle networking for Labs.
-
-
Constructor Summary
Constructors Constructor Description LabNetworkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
loadBalancerId()
Get the loadBalancerId property: The external load balancer resource id.String
publicIpId()
Get the publicIpId property: The external public IP resource id.String
subnetId()
Get the subnetId property: The external subnet resource id.void
validate()
Validates the instance.LabNetworkProfile
withLoadBalancerId(String loadBalancerId)
Set the loadBalancerId property: The external load balancer resource id.LabNetworkProfile
withPublicIpId(String publicIpId)
Set the publicIpId property: The external public IP resource id.LabNetworkProfile
withSubnetId(String subnetId)
Set the subnetId property: The external subnet resource id.
-
-
-
Method Detail
-
subnetId
public String subnetId()
Get the subnetId property: The external subnet resource id.- Returns:
- the subnetId value.
-
withSubnetId
public LabNetworkProfile withSubnetId(String subnetId)
Set the subnetId property: The external subnet resource id.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the LabNetworkProfile object itself.
-
loadBalancerId
public String loadBalancerId()
Get the loadBalancerId property: The external load balancer resource id.- Returns:
- the loadBalancerId value.
-
withLoadBalancerId
public LabNetworkProfile withLoadBalancerId(String loadBalancerId)
Set the loadBalancerId property: The external load balancer resource id.- Parameters:
loadBalancerId
- the loadBalancerId value to set.- Returns:
- the LabNetworkProfile object itself.
-
publicIpId
public String publicIpId()
Get the publicIpId property: The external public IP resource id.- Returns:
- the publicIpId value.
-
withPublicIpId
public LabNetworkProfile withPublicIpId(String publicIpId)
Set the publicIpId property: The external public IP resource id.- Parameters:
publicIpId
- the publicIpId value to set.- Returns:
- the LabNetworkProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-