Sku Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. Sku
- com.
Implements
public final class Sku
implements JsonSerializable<Sku>
The Sku.
Constructor Summary
| Constructor | Description |
|---|---|
| Sku() |
Creates an instance of Sku class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
| String |
family()
Get the family property: The sku family. |
| static Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku from the Json |
|
Sku |
name()
Get the name property: The sku name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Sku |
withDisplayName(String displayName)
Set the display |
| Sku |
withFamily(String family)
Set the family property: The sku family. |
| Sku |
withName(SkuName name)
Set the name property: The sku name. |
Methods inherited from java.lang.Object
Constructor Details
Sku
public Sku()
Creates an instance of Sku class.
Method Details
displayName
public String displayName()
Get the displayName property: The display name of the sku.
Returns:
family
public String family()
Get the family property: The sku family.
Returns:
fromJson
public static Sku fromJson(JsonReader jsonReader)
Reads an instance of Sku from the JsonReader.
Parameters:
Returns:
Throws:
name
public SkuName name()
Get the name property: The sku name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public Sku withDisplayName(String displayName)
Set the displayName property: The display name of the sku.
Parameters:
Returns:
withFamily
public Sku withFamily(String family)
Set the family property: The sku family.
Parameters:
Returns:
withName
public Sku withName(SkuName name)
Set the name property: The sku name.
Parameters:
Returns: