
com.azure.resourcemanager.netapp.models.CapacityPoolPatch 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.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.Resource;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/** Capacity pool patch resource. */
@JsonFlatten
@Fluent
public class CapacityPoolPatch extends Resource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(CapacityPoolPatch.class);
/*
* Provisioned size of the pool (in bytes). Allowed values are in 4TiB
* chunks (value must be multiply of 4398046511104).
*/
@JsonProperty(value = "properties.size")
private Long size;
/*
* The qos type of the pool
*/
@JsonProperty(value = "properties.qosType")
private QosType qosType;
/**
* Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be
* multiply of 4398046511104).
*
* @return the size value.
*/
public Long size() {
return this.size;
}
/**
* Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be
* multiply of 4398046511104).
*
* @param size the size value to set.
* @return the CapacityPoolPatch object itself.
*/
public CapacityPoolPatch 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 CapacityPoolPatch object itself.
*/
public CapacityPoolPatch withQosType(QosType qosType) {
this.qosType = qosType;
return this;
}
/** {@inheritDoc} */
@Override
public CapacityPoolPatch withLocation(String location) {
super.withLocation(location);
return this;
}
/** {@inheritDoc} */
@Override
public CapacityPoolPatch withTags(Map tags) {
super.withTags(tags);
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy