AccountSku Class
- java.
lang. Object - com.
azure. resourcemanager. purview. models. AccountSkuAutoGenerated - com.
azure. resourcemanager. purview. models. AccountSku
- com.
- com.
public final class AccountSku
extends AccountSkuAutoGenerated
Gets or sets the Sku.
Constructor Summary
| Constructor | Description |
|---|---|
| AccountSku() |
Creates an instance of Account |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Account |
fromJson(JsonReader jsonReader)
Reads an instance of Account |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Account |
withCapacity(Integer capacity)
Set the capacity property: Gets or sets the sku capacity. |
|
Account |
withName(Name name)
Set the name property: Gets or sets the sku name. |
Methods inherited from AccountSkuAutoGenerated
Methods inherited from java.lang.Object
Constructor Details
AccountSku
public AccountSku()
Creates an instance of AccountSku class.
Method Details
fromJson
public static AccountSku fromJson(JsonReader jsonReader)
Reads an instance of AccountSku from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AccountSku.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AccountSku.validate()withCapacity
public AccountSku withCapacity(Integer capacity)
Set the capacity property: Gets or sets the sku capacity.
Overrides:
AccountSku.withCapacity(Integer capacity)Parameters:
withName
public AccountSku withName(Name name)
Set the name property: Gets or sets the sku name.
Overrides:
AccountSku.withName(Name name)Parameters: