다음을 통해 공유


Sku Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.Sku

public class Sku

SKU for the resource.

Constructor Summary

Constructor Description
Sku()

Method Summary

Modifier and Type Method and Description
java.lang.Integer capacity()

Get the SKU capacity.

java.lang.String family()

Get the SKU family.

java.lang.String model()

Get the SKU model.

java.lang.String name()

Get the SKU name.

java.lang.String size()

Get the SKU size.

java.lang.String tier()

Get the SKU tier.

Sku withCapacity(Integer capacity)

Set the SKU capacity.

Sku withFamily(String family)

Set the SKU family.

Sku withModel(String model)

Set the SKU model.

Sku withName(String name)

Set the SKU name.

Sku withSize(String size)

Set the SKU size.

Sku withTier(String tier)

Set the SKU tier.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Sku

public Sku()

Method Details

capacity

public Integer capacity()

Get the SKU capacity.

Returns:

the capacity value

family

public String family()

Get the SKU family.

Returns:

the family value

model

public String model()

Get the SKU model.

Returns:

the model value

name

public String name()

Get the SKU name.

Returns:

the name value

size

public String size()

Get the SKU size.

Returns:

the size value

tier

public String tier()

Get the SKU tier.

Returns:

the tier value

withCapacity

public Sku withCapacity(Integer capacity)

Set the SKU capacity.

Parameters:

capacity - the capacity value to set

Returns:

the Sku object itself.

withFamily

public Sku withFamily(String family)

Set the SKU family.

Parameters:

family - the family value to set

Returns:

the Sku object itself.

withModel

public Sku withModel(String model)

Set the SKU model.

Parameters:

model - the model value to set

Returns:

the Sku object itself.

withName

public Sku withName(String name)

Set the SKU name.

Parameters:

name - the name value to set

Returns:

the Sku object itself.

withSize

public Sku withSize(String size)

Set the SKU size.

Parameters:

size - the size value to set

Returns:

the Sku object itself.

withTier

public Sku withTier(String tier)

Set the SKU tier.

Parameters:

tier - the tier value to set

Returns:

the Sku object itself.

Applies to