Class V1VolumeNodeResources
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeNodeResources
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1VolumeNodeResources
extends Object
VolumeNodeResources is a set of resource limits for scheduling of volumes.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1VolumeNodeResources
Create an instance of V1VolumeNodeResources given an JSON stringgetCount()
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node.int
hashCode()
void
toJson()
Convert an instance of V1VolumeNodeResources to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1VolumeNodeResources
public V1VolumeNodeResources()
-
-
Method Details
-
count
-
getCount
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.- Returns:
- count
-
setCount
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1VolumeNodeResources
-
fromJson
Create an instance of V1VolumeNodeResources given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1VolumeNodeResources
- Throws:
IOException
- if the JSON string is invalid with respect to V1VolumeNodeResources
-
toJson
Convert an instance of V1VolumeNodeResources to an JSON string- Returns:
- JSON string
-