StorageQosPolicyDetails Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. StorageQosPolicyDetails
- com.
Implements
public final class StorageQosPolicyDetails
implements JsonSerializable<StorageQosPolicyDetails>
The StorageQoSPolicyDetails definition.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageQosPolicyDetails() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
id()
Get the id property: The ID of the QoS policy. |
| String |
name()
Get the name property: The name of the policy. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withId(String id)
Set the id property: The ID of the QoS policy. |
|
Storage |
withName(String name)
Set the name property: The name of the policy. |
Methods inherited from java.lang.Object
Constructor Details
StorageQosPolicyDetails
public StorageQosPolicyDetails()
Creates an instance of StorageQosPolicyDetails class.
Method Details
fromJson
public static StorageQosPolicyDetails fromJson(JsonReader jsonReader)
Reads an instance of StorageQosPolicyDetails from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the QoS policy.
Returns:
name
public String name()
Get the name property: The name of the policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public StorageQosPolicyDetails withId(String id)
Set the id property: The ID of the QoS policy.
Parameters:
Returns:
withName
public StorageQosPolicyDetails withName(String name)
Set the name property: The name of the policy.
Parameters:
Returns: