Class LoadBalancerSku

java.lang.Object
com.azure.resourcemanager.network.models.LoadBalancerSku

public final class LoadBalancerSku extends Object
SKU of a load balancer.
  • Constructor Details

    • LoadBalancerSku

      public LoadBalancerSku()
      Creates an instance of LoadBalancerSku class.
  • Method Details

    • 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.