
com.azure.resourcemanager.netapp.fluent.models.PoolPatchProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-netapp Show documentation
Show all versions of azure-resourcemanager-netapp Show documentation
This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2024-07-01-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.netapp.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.netapp.models.QosType;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Patchable pool properties.
*/
@Fluent
public final class PoolPatchProperties {
/*
* size
*
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of
* 4398046511104).
*/
@JsonProperty(value = "size")
private Long size;
/*
* The qos type of the pool
*/
@JsonProperty(value = "qosType")
private QosType qosType;
/*
* If enabled (true) the pool can contain cool Access enabled volumes.
*/
@JsonProperty(value = "coolAccess")
private Boolean coolAccess;
/**
* Creates an instance of PoolPatchProperties class.
*/
public PoolPatchProperties() {
}
/**
* Get the size property: size
*
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of
* 4398046511104).
*
* @return the size value.
*/
public Long size() {
return this.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).
*
* @param size the size value to set.
* @return the PoolPatchProperties object itself.
*/
public PoolPatchProperties withSize(Long size) {
this.size = size;
return this;
}
/**
* Get the qosType property: The qos type of the pool.
*
* @return the qosType value.
*/
public QosType qosType() {
return this.qosType;
}
/**
* Set the qosType property: The qos type of the pool.
*
* @param qosType the qosType value to set.
* @return the PoolPatchProperties object itself.
*/
public PoolPatchProperties withQosType(QosType qosType) {
this.qosType = qosType;
return this;
}
/**
* Get the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.
*
* @return the coolAccess value.
*/
public Boolean coolAccess() {
return this.coolAccess;
}
/**
* Set the coolAccess property: If enabled (true) the pool can contain cool Access enabled volumes.
*
* @param coolAccess the coolAccess value to set.
* @return the PoolPatchProperties object itself.
*/
public PoolPatchProperties withCoolAccess(Boolean coolAccess) {
this.coolAccess = coolAccess;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy