Sku Class

  • java.lang.Object
    • com.azure.resourcemanager.notificationhubs.models.Sku

public final class Sku

The Sku description for a namespace.

Constructor Summary

Constructor Description
Sku()

Creates an instance of Sku class.

Method Summary

Modifier and Type Method and Description
Integer capacity()

Get the capacity property: Gets or sets the capacity of the resource.

String family()

Get the family property: Gets or sets the Sku Family.

SkuName name()

Get the name property: Namespace SKU name.

String size()

Get the size property: Gets or sets the Sku size.

String tier()

Get the tier property: Gets or sets the tier of particular sku.

void validate()

Validates the instance.

Sku withCapacity(Integer capacity)

Set the capacity property: Gets or sets the capacity of the resource.

Sku withFamily(String family)

Set the family property: Gets or sets the Sku Family.

Sku withName(SkuName name)

Set the name property: Namespace SKU name.

Sku withSize(String size)

Set the size property: Gets or sets the Sku size.

Sku withTier(String tier)

Set the tier property: Gets or sets the tier of particular sku.

Methods inherited from java.lang.Object

Constructor Details

Sku

public Sku()

Creates an instance of Sku class.

Method Details

capacity

public Integer capacity()

Get the capacity property: Gets or sets the capacity of the resource.

Returns:

the capacity value.

family

public String family()

Get the family property: Gets or sets the Sku Family.

Returns:

the family value.

name

public SkuName name()

Get the name property: Namespace SKU name.

Returns:

the name value.

size

public String size()

Get the size property: Gets or sets the Sku size.

Returns:

the size value.

tier

public String tier()

Get the tier property: Gets or sets the tier of particular sku.

Returns:

the tier value.

validate

public void validate()

Validates the instance.

withCapacity

public Sku withCapacity(Integer capacity)

Set the capacity property: Gets or sets the capacity of the resource.

Parameters:

capacity - the capacity value to set.

Returns:

the Sku object itself.

withFamily

public Sku withFamily(String family)

Set the family property: Gets or sets the Sku Family.

Parameters:

family - the family value to set.

Returns:

the Sku object itself.

withName

public Sku withName(SkuName name)

Set the name property: Namespace SKU name.

Parameters:

name - the name value to set.

Returns:

the Sku object itself.

withSize

public Sku withSize(String size)

Set the size property: Gets or sets the Sku size.

Parameters:

size - the size value to set.

Returns:

the Sku object itself.

withTier

public Sku withTier(String tier)

Set the tier property: Gets or sets the tier of particular sku.

Parameters:

tier - the tier value to set.

Returns:

the Sku object itself.

Applies to