PoolPatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. fluent. models. PoolPatchProperties
- com.
Implements
public final class PoolPatchProperties
implements JsonSerializable<PoolPatchProperties>
Patchable pool properties.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolPatchProperties() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
coolAccess()
Get the cool |
| Integer |
customThroughputMibps()
Get the custom |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
|
Qos |
qosType()
Get the qos |
| Long |
size()
Get the size property: Provisioned size of the pool (in bytes). |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Pool |
withCoolAccess(Boolean coolAccess)
Set the cool |
|
Pool |
withCustomThroughputMibps(Integer customThroughputMibps)
Set the custom |
|
Pool |
withQosType(QosType qosType)
Set the qos |
|
Pool |
withSize(Long size)
Set the size property: Provisioned size of the pool (in bytes). |
Methods inherited from java.lang.Object
Constructor Details
PoolPatchProperties
public PoolPatchProperties()
Creates an instance of PoolPatchProperties class.
Method Details
coolAccess
public Boolean coolAccess()
Get the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.
Returns:
customThroughputMibps
public Integer customThroughputMibps()
Get the customThroughputMibps property: Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level.
Returns:
fromJson
public static PoolPatchProperties fromJson(JsonReader jsonReader)
Reads an instance of PoolPatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
qosType
public QosType qosType()
Get the qosType property: The qos type of the pool.
Returns:
size
public Long size()
Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776).
Returns:
toJson
validate
public void validate()
Validates the instance.
withCoolAccess
public PoolPatchProperties withCoolAccess(Boolean coolAccess)
Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.
Parameters:
Returns:
withCustomThroughputMibps
public PoolPatchProperties withCustomThroughputMibps(Integer customThroughputMibps)
Set the customThroughputMibps property: Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level.
Parameters:
Returns:
withQosType
public PoolPatchProperties withQosType(QosType qosType)
Set the qosType property: The qos type of the pool.
Parameters:
Returns:
withSize
public PoolPatchProperties withSize(Long size)
Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776).
Parameters:
Returns: