Class LoadBalancerSku
java.lang.Object
com.azure.resourcemanager.network.models.LoadBalancerSku
SKU of a load balancer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name of a load balancer SKU.tier()Get the tier property: Tier of a load balancer SKU.voidvalidate()Validates the instance.withName(LoadBalancerSkuName name) Set the name property: Name of a load balancer SKU.withTier(LoadBalancerSkuTier tier) Set the tier property: Tier of a load balancer SKU.
-
Constructor Details
-
LoadBalancerSku
public LoadBalancerSku()Creates an instance of LoadBalancerSku class.
-
-
Method Details
-
name
Get the name property: Name of a load balancer SKU.- Returns:
- the name value.
-
withName
Set the name property: Name of a load balancer SKU.- Parameters:
name- the name value to set.- Returns:
- the LoadBalancerSku object itself.
-
tier
Get the tier property: Tier of a load balancer SKU.- Returns:
- the tier value.
-
withTier
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.
-