PoolPatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.fluent.models.PoolPatchProperties

Implements

public final class PoolPatchProperties
implements JsonSerializable<PoolPatchProperties>

Patchable pool properties.

Constructor Summary

Constructor Description
PoolPatchProperties()

Creates an instance of PoolPatchProperties class.

Method Summary

Modifier and Type Method and Description
Boolean coolAccess()

Get the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.

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.

static PoolPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of PoolPatchProperties from the JsonReader.

QosType qosType()

Get the qosType property: The qos type of the pool.

Long size()

Get the size property: Provisioned size of the pool (in bytes).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PoolPatchProperties withCoolAccess(Boolean coolAccess)

Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.

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.

PoolPatchProperties withQosType(QosType qosType)

Set the qosType property: The qos type of the pool.

PoolPatchProperties 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:

the coolAccess value.

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:

the customThroughputMibps value.

fromJson

public static PoolPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of PoolPatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolPatchProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PoolPatchProperties.

qosType

public QosType qosType()

Get the qosType property: The qos type of the pool.

Returns:

the qosType value.

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:

the size value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

coolAccess - the coolAccess value to set.

Returns:

the PoolPatchProperties object itself.

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:

customThroughputMibps - the customThroughputMibps value to set.

Returns:

the PoolPatchProperties object itself.

withQosType

public PoolPatchProperties withQosType(QosType qosType)

Set the qosType property: The qos type of the pool.

Parameters:

qosType - the qosType value to set.

Returns:

the PoolPatchProperties object itself.

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:

size - the size value to set.

Returns:

the PoolPatchProperties object itself.

Applies to