Class StorageQoSPolicyDetails
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.StorageQoSPolicyDetails
-
public final class StorageQoSPolicyDetails extends Object
The StorageQoSPolicyDetails definition.
-
-
Constructor Summary
Constructors Constructor Description StorageQoSPolicyDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: The ID of the QoS policy.String
name()
Get the name property: The name of the policy.void
validate()
Validates the instance.StorageQoSPolicyDetails
withId(String id)
Set the id property: The ID of the QoS policy.StorageQoSPolicyDetails
withName(String name)
Set the name property: The name of the policy.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the policy.- Returns:
- the name value.
-
withName
public StorageQoSPolicyDetails withName(String name)
Set the name property: The name of the policy.- Parameters:
name
- the name value to set.- Returns:
- the StorageQoSPolicyDetails object itself.
-
id
public String id()
Get the id property: The ID of the QoS policy.- Returns:
- the id value.
-
withId
public StorageQoSPolicyDetails withId(String id)
Set the id property: The ID of the QoS policy.- Parameters:
id
- the id value to set.- Returns:
- the StorageQoSPolicyDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-