Class CapacityPoolPatch
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.netapp.models.CapacityPoolPatch
public final class CapacityPoolPatch
extends com.azure.core.management.Resource
Capacity pool patch resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.qosType()
Get the qosType property: The qos type of the pool.size()
Get the size property: sizevoid
validate()
Validates the instance.withCoolAccess
(Boolean coolAccess) Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.withLocation
(String location) withQosType
(QosType qosType) Set the qosType property: The qos type of the pool.Set the size property: sizeMethods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CapacityPoolPatch
public CapacityPoolPatch()
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
size
Get the size property: sizeProvisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
- Returns:
- the size value.
-
withSize
Set the size property: sizeProvisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
- Parameters:
size
- the size value to set.- Returns:
- the CapacityPoolPatch object itself.
-
qosType
Get the qosType property: The qos type of the pool.- Returns:
- the qosType value.
-
withQosType
Set the qosType property: The qos type of the pool.- Parameters:
qosType
- the qosType value to set.- Returns:
- the CapacityPoolPatch object itself.
-
coolAccess
Get the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.- Returns:
- the coolAccess value.
-
withCoolAccess
Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.- Parameters:
coolAccess
- the coolAccess value to set.- Returns:
- the CapacityPoolPatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-