Class VolumeNodeResources
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.storage.v1beta1.VolumeNodeResources
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class VolumeNodeResources extends java.lang.Object implements com.marcnuri.yakc.model.Model
VolumeNodeResources is a set of resource limits for scheduling of volumes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeNodeResources.Builder
-
Constructor Summary
Constructors Constructor Description VolumeNodeResources()
VolumeNodeResources(java.lang.Number count)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeNodeResources.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getCount()
Maximum number of unique volumes managed by the CSI driver that can be used on a node.int
hashCode()
void
setCount(java.lang.Number count)
Maximum number of unique volumes managed by the CSI driver that can be used on a node.VolumeNodeResources.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static VolumeNodeResources.Builder builder()
-
toBuilder
public VolumeNodeResources.Builder toBuilder()
-
getCount
public java.lang.Number getCount()
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 nil, then the supported number of volumes on this node is unbounded.
-
setCount
public void setCount(java.lang.Number count)
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 nil, then the supported number of volumes on this node is unbounded.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-