Class LoadBalancerSku
- java.lang.Object
-
- com.azure.resourcemanager.network.models.LoadBalancerSku
-
public final class LoadBalancerSku extends Object
SKU of a load balancer.
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancerSkuNamename()Get the name property: Name of a load balancer SKU.LoadBalancerSkuTiertier()Get the tier property: Tier of a load balancer SKU.voidvalidate()Validates the instance.LoadBalancerSkuwithName(LoadBalancerSkuName name)Set the name property: Name of a load balancer SKU.LoadBalancerSkuwithTier(LoadBalancerSkuTier tier)Set the tier property: Tier of a load balancer SKU.
-
-
-
Method Detail
-
name
public LoadBalancerSkuName name()
Get the name property: Name of a load balancer SKU.- Returns:
- the name value.
-
withName
public LoadBalancerSku withName(LoadBalancerSkuName name)
Set the name property: Name of a load balancer SKU.- Parameters:
name- the name value to set.- Returns:
- the LoadBalancerSku object itself.
-
tier
public LoadBalancerSkuTier tier()
Get the tier property: Tier of a load balancer SKU.- Returns:
- the tier value.
-
withTier
public LoadBalancerSku withTier(LoadBalancerSkuTier tier)
Set the tier property: Tier of a load balancer SKU.- Parameters:
tier- the tier value to set.- Returns:
- the LoadBalancerSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-