Class ExpressRouteCircuitSku
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExpressRouteCircuitSku
-
public final class ExpressRouteCircuitSku extends Object
Contains SKU in an ExpressRouteCircuit.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressRouteCircuitSkuFamilyfamily()Get the family property: The family of the SKU.Stringname()Get the name property: The name of the SKU.ExpressRouteCircuitSkuTiertier()Get the tier property: The tier of the SKU.voidvalidate()Validates the instance.ExpressRouteCircuitSkuwithFamily(ExpressRouteCircuitSkuFamily family)Set the family property: The family of the SKU.ExpressRouteCircuitSkuwithName(String name)Set the name property: The name of the SKU.ExpressRouteCircuitSkuwithTier(ExpressRouteCircuitSkuTier tier)Set the tier property: The tier of the SKU.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the SKU.- Returns:
- the name value.
-
withName
public ExpressRouteCircuitSku withName(String name)
Set the name property: The name of the SKU.- Parameters:
name- the name value to set.- Returns:
- the ExpressRouteCircuitSku object itself.
-
tier
public ExpressRouteCircuitSkuTier tier()
Get the tier property: The tier of the SKU.- Returns:
- the tier value.
-
withTier
public ExpressRouteCircuitSku withTier(ExpressRouteCircuitSkuTier tier)
Set the tier property: The tier of the SKU.- Parameters:
tier- the tier value to set.- Returns:
- the ExpressRouteCircuitSku object itself.
-
family
public ExpressRouteCircuitSkuFamily family()
Get the family property: The family of the SKU.- Returns:
- the family value.
-
withFamily
public ExpressRouteCircuitSku withFamily(ExpressRouteCircuitSkuFamily family)
Set the family property: The family of the SKU.- Parameters:
family- the family value to set.- Returns:
- the ExpressRouteCircuitSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-