LoadBalancerSku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. LoadBalancerSku
- com.
Implements
public final class LoadBalancerSku
implements JsonSerializable<LoadBalancerSku>
SKU of a load balancer.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancerSku() |
Creates an instance of Load |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
Load |
name()
Get the name property: Name of a load balancer SKU. |
Load |
tier()
Get the tier property: Tier of a load balancer SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Load |
withName(LoadBalancerSkuName name)
Set the name property: Name of a load balancer SKU. |
Load |
withTier(LoadBalancerSkuTier tier)
Set the tier property: Tier of a load balancer SKU. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerSku
public LoadBalancerSku()
Creates an instance of LoadBalancerSku class.
Method Details
fromJson
public static LoadBalancerSku fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public LoadBalancerSkuName name()
Get the name property: Name of a load balancer SKU.
Returns:
tier
public LoadBalancerSkuTier tier()
Get the tier property: Tier of a load balancer SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public LoadBalancerSku withName(LoadBalancerSkuName name)
Set the name property: Name of a load balancer SKU.
Parameters:
Returns:
withTier
public LoadBalancerSku withTier(LoadBalancerSkuTier tier)
Set the tier property: Tier of a load balancer SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java