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.resources;
import com.fasterxml.jackson.annotation.JsonProperty;
SKU for the resource.
/**
* SKU for the resource.
*/
public class Sku {
The SKU name.
/**
* The SKU name.
*/
@JsonProperty(value = "name")
private String name;
The SKU tier.
/**
* The SKU tier.
*/
@JsonProperty(value = "tier")
private String tier;
The SKU size.
/**
* The SKU size.
*/
@JsonProperty(value = "size")
private String size;
The SKU family.
/**
* The SKU family.
*/
@JsonProperty(value = "family")
private String family;
The SKU model.
/**
* The SKU model.
*/
@JsonProperty(value = "model")
private String model;
The SKU capacity.
/**
* The SKU capacity.
*/
@JsonProperty(value = "capacity")
private Integer capacity;
Get the SKU name.
Returns: the name value
/**
* Get the SKU name.
*
* @return the name value
*/
public String name() {
return this.name;
}
Set the SKU name.
Params: - name – the name value to set
Returns: the Sku object itself.
/**
* Set the SKU name.
*
* @param name the name value to set
* @return the Sku object itself.
*/
public Sku withName(String name) {
this.name = name;
return this;
}
Get the SKU tier.
Returns: the tier value
/**
* Get the SKU tier.
*
* @return the tier value
*/
public String tier() {
return this.tier;
}
Set the SKU tier.
Params: - tier – the tier value to set
Returns: the Sku object itself.
/**
* Set the SKU tier.
*
* @param tier the tier value to set
* @return the Sku object itself.
*/
public Sku withTier(String tier) {
this.tier = tier;
return this;
}
Get the SKU size.
Returns: the size value
/**
* Get the SKU size.
*
* @return the size value
*/
public String size() {
return this.size;
}
Set the SKU size.
Params: - size – the size value to set
Returns: the Sku object itself.
/**
* Set the SKU size.
*
* @param size the size value to set
* @return the Sku object itself.
*/
public Sku withSize(String size) {
this.size = size;
return this;
}
Get the SKU family.
Returns: the family value
/**
* Get the SKU family.
*
* @return the family value
*/
public String family() {
return this.family;
}
Set the SKU family.
Params: - family – the family value to set
Returns: the Sku object itself.
/**
* Set the SKU family.
*
* @param family the family value to set
* @return the Sku object itself.
*/
public Sku withFamily(String family) {
this.family = family;
return this;
}
Get the SKU model.
Returns: the model value
/**
* Get the SKU model.
*
* @return the model value
*/
public String model() {
return this.model;
}
Set the SKU model.
Params: - model – the model value to set
Returns: the Sku object itself.
/**
* Set the SKU model.
*
* @param model the model value to set
* @return the Sku object itself.
*/
public Sku withModel(String model) {
this.model = model;
return this;
}
Get the SKU capacity.
Returns: the capacity value
/**
* Get the SKU capacity.
*
* @return the capacity value
*/
public Integer capacity() {
return this.capacity;
}
Set the SKU capacity.
Params: - capacity – the capacity value to set
Returns: the Sku object itself.
/**
* Set the SKU capacity.
*
* @param capacity the capacity value to set
* @return the Sku object itself.
*/
public Sku withCapacity(Integer capacity) {
this.capacity = capacity;
return this;
}
}