Partager via


Sku Class

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

public class Sku

SKU parameters supplied to the create namespace operation.

Constructor Summary

Constructor Description
Sku()

Method Summary

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

Get the Event Hubs throughput units, value should be 0 to 20 throughput units.

SkuName name()

Get name of this SKU.

SkuTier tier()

Get the billing tier of this particular SKU.

Sku withCapacity(Integer capacity)

Set the Event Hubs throughput units, value should be 0 to 20 throughput units.

Sku withName(SkuName name)

Set name of this SKU.

Sku withTier(SkuTier tier)

Set the billing tier of this particular SKU.

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 Event Hubs throughput units, value should be 0 to 20 throughput units.

Returns:

the capacity value

name

public SkuName name()

Get name of this SKU. Possible values include: 'Basic', 'Standard'.

Returns:

the name value

tier

public SkuTier tier()

Get the billing tier of this particular SKU. Possible values include: 'Basic', 'Standard'.

Returns:

the tier value

withCapacity

public Sku withCapacity(Integer capacity)

Set the Event Hubs throughput units, value should be 0 to 20 throughput units.

Parameters:

capacity - the capacity value to set

Returns:

the Sku object itself.

withName

public Sku withName(SkuName name)

Set name of this SKU. Possible values include: 'Basic', 'Standard'.

Parameters:

name - the name value to set

Returns:

the Sku object itself.

withTier

public Sku withTier(SkuTier tier)

Set the billing tier of this particular SKU. Possible values include: 'Basic', 'Standard'.

Parameters:

tier - the tier value to set

Returns:

the Sku object itself.

Applies to