Sku Class

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

public final class Sku

The resource model definition representing SKU.

Constructor Summary

Constructor Description
Sku()

Creates an instance of Sku class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The name of the SKU.

void validate()

Validates the instance.

Sku withName(String name)

Set the name property: The name of the SKU.

Methods inherited from java.lang.Object

Constructor Details

Sku

public Sku()

Creates an instance of Sku class.

Method Details

name

public String name()

Get the name property: The name of the SKU.

Returns:

the name value.

validate

public void validate()

Validates the instance.

withName

public Sku withName(String name)

Set the name property: The name of the SKU.

Parameters:

name - the name value to set.

Returns:

the Sku object itself.

Applies to