CapacityPoolPatch Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. CapacityPoolPatch
- com.
Implements
public final class CapacityPoolPatch
implements JsonSerializable<CapacityPoolPatch>
Capacity pool patch resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CapacityPoolPatch() |
Creates an instance of Capacity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
coolAccess()
Get the cool |
| Integer |
customThroughputMibps()
Get the custom |
|
static
Capacity |
fromJson(JsonReader jsonReader)
Reads an instance of Capacity |
| String |
id()
Get the id property: Resource Id. |
| String |
location()
Get the location property: Resource location. |
| String |
name()
Get the name property: Resource name. |
|
Qos |
qosType()
Get the qos |
| Long |
size()
Get the size property: Provisioned size of the pool (in bytes). |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Capacity |
withCoolAccess(Boolean coolAccess)
Set the cool |
|
Capacity |
withCustomThroughputMibps(Integer customThroughputMibps)
Set the custom |
|
Capacity |
withLocation(String location)
Set the location property: Resource location. |
|
Capacity |
withQosType(QosType qosType)
Set the qos |
|
Capacity |
withSize(Long size)
Set the size property: Provisioned size of the pool (in bytes). |
|
Capacity |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
CapacityPoolPatch
public CapacityPoolPatch()
Creates an instance of CapacityPoolPatch 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 CapacityPoolPatch fromJson(JsonReader jsonReader)
Reads an instance of CapacityPoolPatch from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
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:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withCoolAccess
public CapacityPoolPatch withCoolAccess(Boolean coolAccess)
Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.
Parameters:
Returns:
withCustomThroughputMibps
public CapacityPoolPatch 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:
withLocation
public CapacityPoolPatch withLocation(String location)
Set the location property: Resource location.
Parameters:
Returns:
withQosType
public CapacityPoolPatch withQosType(QosType qosType)
Set the qosType property: The qos type of the pool.
Parameters:
Returns:
withSize
public CapacityPoolPatch 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:
withTags
public CapacityPoolPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: