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
Constructors Constructor Description CapacityPoolPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QosType
qosType()
Get the qosType property: The qos type of the pool.Long
size()
Get the size property: size Provisioned size of the pool (in bytes).void
validate()
Validates the instance.CapacityPoolPatch
withLocation(String location)
CapacityPoolPatch
withQosType(QosType qosType)
Set the qosType property: The qos type of the pool.CapacityPoolPatch
withSize(Long size)
Set the size property: size Provisioned size of the pool (in bytes).CapacityPoolPatch
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public CapacityPoolPatch withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public CapacityPoolPatch withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
size
public Long size()
Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).- Returns:
- the size value.
-
withSize
public CapacityPoolPatch withSize(Long size)
Set the size property: size Provisioned 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
public QosType qosType()
Get the qosType property: The qos type of the pool.- Returns:
- the qosType value.
-
withQosType
public CapacityPoolPatch withQosType(QosType qosType)
Set the qosType property: The qos type of the pool.- Parameters:
qosType
- the qosType value to set.- Returns:
- the CapacityPoolPatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-