ExpressRouteCircuitSku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ExpressRouteCircuitSku
- com.
Implements
public final class ExpressRouteCircuitSku
implements JsonSerializable<ExpressRouteCircuitSku>
Contains SKU in an ExpressRouteCircuit.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteCircuitSku() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
Express |
family()
Get the family property: The family of the SKU. |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
name()
Get the name property: The name of the SKU. |
Express |
tier()
Get the tier property: The tier of the SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Express |
withFamily(ExpressRouteCircuitSkuFamily family)
Set the family property: The family of the SKU. |
Express |
withName(String name)
Set the name property: The name of the SKU. |
Express |
withTier(ExpressRouteCircuitSkuTier tier)
Set the tier property: The tier of the SKU. |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCircuitSku
public ExpressRouteCircuitSku()
Creates an instance of ExpressRouteCircuitSku class.
Method Details
family
public ExpressRouteCircuitSkuFamily family()
Get the family property: The family of the SKU.
Returns:
fromJson
public static ExpressRouteCircuitSku fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteCircuitSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the SKU.
Returns:
tier
public ExpressRouteCircuitSkuTier tier()
Get the tier property: The tier of the SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFamily
public ExpressRouteCircuitSku withFamily(ExpressRouteCircuitSkuFamily family)
Set the family property: The family of the SKU.
Parameters:
Returns:
withName
public ExpressRouteCircuitSku withName(String name)
Set the name property: The name of the SKU.
Parameters:
Returns:
withTier
public ExpressRouteCircuitSku withTier(ExpressRouteCircuitSkuTier tier)
Set the tier property: The tier of the SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java