StorageQoSPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. StorageQoSPolicy
- com.
public final class StorageQoSPolicy
The StorageQoSPolicy definition.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| StorageQoSPolicy() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
bandwidthLimit()
Get the bandwidth |
| String |
id()
Get the id property: The ID of the QoS policy. |
| Long |
iopsMaximum()
Get the iops |
| Long |
iopsMinimum()
Get the iops |
| String |
name()
Get the name property: The name of the policy. |
| String |
policyId()
Get the policy |
| void |
validate()
Validates the instance. |
|
Storage |
withBandwidthLimit(Long bandwidthLimit)
Set the bandwidth |
|
Storage |
withId(String id)
Set the id property: The ID of the QoS policy. |
|
Storage |
withIopsMaximum(Long iopsMaximum)
Set the iops |
|
Storage |
withIopsMinimum(Long iopsMinimum)
Set the iops |
|
Storage |
withName(String name)
Set the name property: The name of the policy. |
|
Storage |
withPolicyId(String policyId)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
StorageQoSPolicy
public StorageQoSPolicy()
Method Details
bandwidthLimit
public Long bandwidthLimit()
Get the bandwidthLimit property: The Bandwidth Limit for internet traffic.
Returns:
id
public String id()
Get the id property: The ID of the QoS policy.
Returns:
iopsMaximum
public Long iopsMaximum()
Get the iopsMaximum property: The maximum IO operations per second.
Returns:
iopsMinimum
public Long iopsMinimum()
Get the iopsMinimum property: The minimum IO operations per second.
Returns:
name
public String name()
Get the name property: The name of the policy.
Returns:
policyId
public String policyId()
Get the policyId property: The underlying policy.
Returns:
validate
public void validate()
Validates the instance.
withBandwidthLimit
public StorageQoSPolicy withBandwidthLimit(Long bandwidthLimit)
Set the bandwidthLimit property: The Bandwidth Limit for internet traffic.
Parameters:
Returns:
withId
public StorageQoSPolicy withId(String id)
Set the id property: The ID of the QoS policy.
Parameters:
Returns:
withIopsMaximum
public StorageQoSPolicy withIopsMaximum(Long iopsMaximum)
Set the iopsMaximum property: The maximum IO operations per second.
Parameters:
Returns:
withIopsMinimum
public StorageQoSPolicy withIopsMinimum(Long iopsMinimum)
Set the iopsMinimum property: The minimum IO operations per second.
Parameters:
Returns:
withName
public StorageQoSPolicy withName(String name)
Set the name property: The name of the policy.
Parameters:
Returns:
withPolicyId
public StorageQoSPolicy withPolicyId(String policyId)
Set the policyId property: The underlying policy.
Parameters:
Returns: