Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
Contains SKU in an ExpressRouteCircuit.
/**
* Contains SKU in an ExpressRouteCircuit.
*/
public class ExpressRouteCircuitSku {
The name of the SKU.
/**
* The name of the SKU.
*/
@JsonProperty(value = "name")
private String name;
The tier of the SKU. Possible values include: 'Standard', 'Premium',
'Basic', 'Local'.
/**
* The tier of the SKU. Possible values include: 'Standard', 'Premium',
* 'Basic', 'Local'.
*/
@JsonProperty(value = "tier")
private ExpressRouteCircuitSkuTier tier;
The family of the SKU. Possible values include: 'UnlimitedData',
'MeteredData'.
/**
* The family of the SKU. Possible values include: 'UnlimitedData',
* 'MeteredData'.
*/
@JsonProperty(value = "family")
private ExpressRouteCircuitSkuFamily family;
Get the name of the SKU.
Returns: the name value
/**
* Get the name of the SKU.
*
* @return the name value
*/
public String name() {
return this.name;
}
Set the name of the SKU.
Params: - name – the name value to set
Returns: the ExpressRouteCircuitSku object itself.
/**
* Set the name of the SKU.
*
* @param name the name value to set
* @return the ExpressRouteCircuitSku object itself.
*/
public ExpressRouteCircuitSku withName(String name) {
this.name = name;
return this;
}
Get the tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local'.
Returns: the tier value
/**
* Get the tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local'.
*
* @return the tier value
*/
public ExpressRouteCircuitSkuTier tier() {
return this.tier;
}
Set the tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local'.
Params: - tier – the tier value to set
Returns: the ExpressRouteCircuitSku object itself.
/**
* Set the tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local'.
*
* @param tier the tier value to set
* @return the ExpressRouteCircuitSku object itself.
*/
public ExpressRouteCircuitSku withTier(ExpressRouteCircuitSkuTier tier) {
this.tier = tier;
return this;
}
Get the family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'.
Returns: the family value
/**
* Get the family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'.
*
* @return the family value
*/
public ExpressRouteCircuitSkuFamily family() {
return this.family;
}
Set the family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'.
Params: - family – the family value to set
Returns: the ExpressRouteCircuitSku object itself.
/**
* Set the family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'.
*
* @param family the family value to set
* @return the ExpressRouteCircuitSku object itself.
*/
public ExpressRouteCircuitSku withFamily(ExpressRouteCircuitSkuFamily family) {
this.family = family;
return this;
}
}