Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1PersistentVolumeSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1PersistentVolumeSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1PersistentVolumeSpec extends Object
PersistentVolumeSpec is the specification of a persistent volume.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1PersistentVolumeSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCESS_MODES
public static final String JSON_PROPERTY_ACCESS_MODES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AWS_ELASTIC_BLOCK_STORE
public static final String JSON_PROPERTY_AWS_ELASTIC_BLOCK_STORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AZURE_DISK
public static final String JSON_PROPERTY_AZURE_DISK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AZURE_FILE
public static final String JSON_PROPERTY_AZURE_FILE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAPACITY
public static final String JSON_PROPERTY_CAPACITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CEPHFS
public static final String JSON_PROPERTY_CEPHFS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CINDER
public static final String JSON_PROPERTY_CINDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLAIM_REF
public static final String JSON_PROPERTY_CLAIM_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CSI
public static final String JSON_PROPERTY_CSI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FC
public static final String JSON_PROPERTY_FC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FLEX_VOLUME
public static final String JSON_PROPERTY_FLEX_VOLUME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FLOCKER
public static final String JSON_PROPERTY_FLOCKER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GCE_PERSISTENT_DISK
public static final String JSON_PROPERTY_GCE_PERSISTENT_DISK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GLUSTERFS
public static final String JSON_PROPERTY_GLUSTERFS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOST_PATH
public static final String JSON_PROPERTY_HOST_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISCSI
public static final String JSON_PROPERTY_ISCSI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCAL
public static final String JSON_PROPERTY_LOCAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOUNT_OPTIONS
public static final String JSON_PROPERTY_MOUNT_OPTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NFS
public static final String JSON_PROPERTY_NFS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_AFFINITY
public static final String JSON_PROPERTY_NODE_AFFINITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERSISTENT_VOLUME_RECLAIM_POLICY
public static final String JSON_PROPERTY_PERSISTENT_VOLUME_RECLAIM_POLICY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHOTON_PERSISTENT_DISK
public static final String JSON_PROPERTY_PHOTON_PERSISTENT_DISK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORTWORX_VOLUME
public static final String JSON_PROPERTY_PORTWORX_VOLUME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_QUOBYTE
public static final String JSON_PROPERTY_QUOBYTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RBD
public static final String JSON_PROPERTY_RBD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCALE_I_O
public static final String JSON_PROPERTY_SCALE_I_O
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORAGE_CLASS_NAME
public static final String JSON_PROPERTY_STORAGE_CLASS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORAGEOS
public static final String JSON_PROPERTY_STORAGEOS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_MODE
public static final String JSON_PROPERTY_VOLUME_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VSPHERE_VOLUME
public static final String JSON_PROPERTY_VSPHERE_VOLUME
- See Also:
- Constant Field Values
-
-
Method Detail
-
accessModes
public IoK8sApiCoreV1PersistentVolumeSpec accessModes(List<String> accessModes)
-
addAccessModesItem
public IoK8sApiCoreV1PersistentVolumeSpec addAccessModesItem(String accessModesItem)
-
getAccessModes
@Nullable public List<String> getAccessModes()
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes- Returns:
- accessModes
-
awsElasticBlockStore
public IoK8sApiCoreV1PersistentVolumeSpec awsElasticBlockStore(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
-
getAwsElasticBlockStore
@Nullable public IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
Get awsElasticBlockStore- Returns:
- awsElasticBlockStore
-
setAwsElasticBlockStore
public void setAwsElasticBlockStore(IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
-
azureDisk
public IoK8sApiCoreV1PersistentVolumeSpec azureDisk(IoK8sApiCoreV1AzureDiskVolumeSource azureDisk)
-
getAzureDisk
@Nullable public IoK8sApiCoreV1AzureDiskVolumeSource getAzureDisk()
Get azureDisk- Returns:
- azureDisk
-
setAzureDisk
public void setAzureDisk(IoK8sApiCoreV1AzureDiskVolumeSource azureDisk)
-
azureFile
public IoK8sApiCoreV1PersistentVolumeSpec azureFile(IoK8sApiCoreV1AzureFilePersistentVolumeSource azureFile)
-
getAzureFile
@Nullable public IoK8sApiCoreV1AzureFilePersistentVolumeSource getAzureFile()
Get azureFile- Returns:
- azureFile
-
setAzureFile
public void setAzureFile(IoK8sApiCoreV1AzureFilePersistentVolumeSource azureFile)
-
capacity
public IoK8sApiCoreV1PersistentVolumeSpec capacity(Map<String,String> capacity)
-
putCapacityItem
public IoK8sApiCoreV1PersistentVolumeSpec putCapacityItem(String key, String capacityItem)
-
getCapacity
@Nullable public Map<String,String> getCapacity()
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity- Returns:
- capacity
-
cephfs
public IoK8sApiCoreV1PersistentVolumeSpec cephfs(IoK8sApiCoreV1CephFSPersistentVolumeSource cephfs)
-
getCephfs
@Nullable public IoK8sApiCoreV1CephFSPersistentVolumeSource getCephfs()
Get cephfs- Returns:
- cephfs
-
setCephfs
public void setCephfs(IoK8sApiCoreV1CephFSPersistentVolumeSource cephfs)
-
cinder
public IoK8sApiCoreV1PersistentVolumeSpec cinder(IoK8sApiCoreV1CinderPersistentVolumeSource cinder)
-
getCinder
@Nullable public IoK8sApiCoreV1CinderPersistentVolumeSource getCinder()
Get cinder- Returns:
- cinder
-
setCinder
public void setCinder(IoK8sApiCoreV1CinderPersistentVolumeSource cinder)
-
claimRef
public IoK8sApiCoreV1PersistentVolumeSpec claimRef(IoK8sApiCoreV1ObjectReference claimRef)
-
getClaimRef
@Nullable public IoK8sApiCoreV1ObjectReference getClaimRef()
Get claimRef- Returns:
- claimRef
-
setClaimRef
public void setClaimRef(IoK8sApiCoreV1ObjectReference claimRef)
-
csi
public IoK8sApiCoreV1PersistentVolumeSpec csi(IoK8sApiCoreV1CSIPersistentVolumeSource csi)
-
getCsi
@Nullable public IoK8sApiCoreV1CSIPersistentVolumeSource getCsi()
Get csi- Returns:
- csi
-
setCsi
public void setCsi(IoK8sApiCoreV1CSIPersistentVolumeSource csi)
-
fc
public IoK8sApiCoreV1PersistentVolumeSpec fc(IoK8sApiCoreV1FCVolumeSource fc)
-
getFc
@Nullable public IoK8sApiCoreV1FCVolumeSource getFc()
Get fc- Returns:
- fc
-
setFc
public void setFc(IoK8sApiCoreV1FCVolumeSource fc)
-
flexVolume
public IoK8sApiCoreV1PersistentVolumeSpec flexVolume(IoK8sApiCoreV1FlexPersistentVolumeSource flexVolume)
-
getFlexVolume
@Nullable public IoK8sApiCoreV1FlexPersistentVolumeSource getFlexVolume()
Get flexVolume- Returns:
- flexVolume
-
setFlexVolume
public void setFlexVolume(IoK8sApiCoreV1FlexPersistentVolumeSource flexVolume)
-
flocker
public IoK8sApiCoreV1PersistentVolumeSpec flocker(IoK8sApiCoreV1FlockerVolumeSource flocker)
-
getFlocker
@Nullable public IoK8sApiCoreV1FlockerVolumeSource getFlocker()
Get flocker- Returns:
- flocker
-
setFlocker
public void setFlocker(IoK8sApiCoreV1FlockerVolumeSource flocker)
-
gcePersistentDisk
public IoK8sApiCoreV1PersistentVolumeSpec gcePersistentDisk(IoK8sApiCoreV1GCEPersistentDiskVolumeSource gcePersistentDisk)
-
getGcePersistentDisk
@Nullable public IoK8sApiCoreV1GCEPersistentDiskVolumeSource getGcePersistentDisk()
Get gcePersistentDisk- Returns:
- gcePersistentDisk
-
setGcePersistentDisk
public void setGcePersistentDisk(IoK8sApiCoreV1GCEPersistentDiskVolumeSource gcePersistentDisk)
-
glusterfs
public IoK8sApiCoreV1PersistentVolumeSpec glusterfs(IoK8sApiCoreV1GlusterfsPersistentVolumeSource glusterfs)
-
getGlusterfs
@Nullable public IoK8sApiCoreV1GlusterfsPersistentVolumeSource getGlusterfs()
Get glusterfs- Returns:
- glusterfs
-
setGlusterfs
public void setGlusterfs(IoK8sApiCoreV1GlusterfsPersistentVolumeSource glusterfs)
-
hostPath
public IoK8sApiCoreV1PersistentVolumeSpec hostPath(IoK8sApiCoreV1HostPathVolumeSource hostPath)
-
getHostPath
@Nullable public IoK8sApiCoreV1HostPathVolumeSource getHostPath()
Get hostPath- Returns:
- hostPath
-
setHostPath
public void setHostPath(IoK8sApiCoreV1HostPathVolumeSource hostPath)
-
iscsi
public IoK8sApiCoreV1PersistentVolumeSpec iscsi(IoK8sApiCoreV1ISCSIPersistentVolumeSource iscsi)
-
getIscsi
@Nullable public IoK8sApiCoreV1ISCSIPersistentVolumeSource getIscsi()
Get iscsi- Returns:
- iscsi
-
setIscsi
public void setIscsi(IoK8sApiCoreV1ISCSIPersistentVolumeSource iscsi)
-
local
public IoK8sApiCoreV1PersistentVolumeSpec local(IoK8sApiCoreV1LocalVolumeSource local)
-
getLocal
@Nullable public IoK8sApiCoreV1LocalVolumeSource getLocal()
Get local- Returns:
- local
-
setLocal
public void setLocal(IoK8sApiCoreV1LocalVolumeSource local)
-
mountOptions
public IoK8sApiCoreV1PersistentVolumeSpec mountOptions(List<String> mountOptions)
-
addMountOptionsItem
public IoK8sApiCoreV1PersistentVolumeSpec addMountOptionsItem(String mountOptionsItem)
-
getMountOptions
@Nullable public List<String> getMountOptions()
A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options- Returns:
- mountOptions
-
nfs
public IoK8sApiCoreV1PersistentVolumeSpec nfs(IoK8sApiCoreV1NFSVolumeSource nfs)
-
getNfs
@Nullable public IoK8sApiCoreV1NFSVolumeSource getNfs()
Get nfs- Returns:
- nfs
-
setNfs
public void setNfs(IoK8sApiCoreV1NFSVolumeSource nfs)
-
nodeAffinity
public IoK8sApiCoreV1PersistentVolumeSpec nodeAffinity(IoK8sApiCoreV1VolumeNodeAffinity nodeAffinity)
-
getNodeAffinity
@Nullable public IoK8sApiCoreV1VolumeNodeAffinity getNodeAffinity()
Get nodeAffinity- Returns:
- nodeAffinity
-
setNodeAffinity
public void setNodeAffinity(IoK8sApiCoreV1VolumeNodeAffinity nodeAffinity)
-
persistentVolumeReclaimPolicy
public IoK8sApiCoreV1PersistentVolumeSpec persistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
-
getPersistentVolumeReclaimPolicy
@Nullable public String getPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming- Returns:
- persistentVolumeReclaimPolicy
-
setPersistentVolumeReclaimPolicy
public void setPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
-
photonPersistentDisk
public IoK8sApiCoreV1PersistentVolumeSpec photonPersistentDisk(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource photonPersistentDisk)
-
getPhotonPersistentDisk
@Nullable public IoK8sApiCoreV1PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
Get photonPersistentDisk- Returns:
- photonPersistentDisk
-
setPhotonPersistentDisk
public void setPhotonPersistentDisk(IoK8sApiCoreV1PhotonPersistentDiskVolumeSource photonPersistentDisk)
-
portworxVolume
public IoK8sApiCoreV1PersistentVolumeSpec portworxVolume(IoK8sApiCoreV1PortworxVolumeSource portworxVolume)
-
getPortworxVolume
@Nullable public IoK8sApiCoreV1PortworxVolumeSource getPortworxVolume()
Get portworxVolume- Returns:
- portworxVolume
-
setPortworxVolume
public void setPortworxVolume(IoK8sApiCoreV1PortworxVolumeSource portworxVolume)
-
quobyte
public IoK8sApiCoreV1PersistentVolumeSpec quobyte(IoK8sApiCoreV1QuobyteVolumeSource quobyte)
-
getQuobyte
@Nullable public IoK8sApiCoreV1QuobyteVolumeSource getQuobyte()
Get quobyte- Returns:
- quobyte
-
setQuobyte
public void setQuobyte(IoK8sApiCoreV1QuobyteVolumeSource quobyte)
-
rbd
public IoK8sApiCoreV1PersistentVolumeSpec rbd(IoK8sApiCoreV1RBDPersistentVolumeSource rbd)
-
getRbd
@Nullable public IoK8sApiCoreV1RBDPersistentVolumeSource getRbd()
Get rbd- Returns:
- rbd
-
setRbd
public void setRbd(IoK8sApiCoreV1RBDPersistentVolumeSource rbd)
-
scaleIO
public IoK8sApiCoreV1PersistentVolumeSpec scaleIO(IoK8sApiCoreV1ScaleIOPersistentVolumeSource scaleIO)
-
getScaleIO
@Nullable public IoK8sApiCoreV1ScaleIOPersistentVolumeSource getScaleIO()
Get scaleIO- Returns:
- scaleIO
-
setScaleIO
public void setScaleIO(IoK8sApiCoreV1ScaleIOPersistentVolumeSource scaleIO)
-
storageClassName
public IoK8sApiCoreV1PersistentVolumeSpec storageClassName(String storageClassName)
-
getStorageClassName
@Nullable public String getStorageClassName()
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.- Returns:
- storageClassName
-
setStorageClassName
public void setStorageClassName(String storageClassName)
-
storageos
public IoK8sApiCoreV1PersistentVolumeSpec storageos(IoK8sApiCoreV1StorageOSPersistentVolumeSource storageos)
-
getStorageos
@Nullable public IoK8sApiCoreV1StorageOSPersistentVolumeSource getStorageos()
Get storageos- Returns:
- storageos
-
setStorageos
public void setStorageos(IoK8sApiCoreV1StorageOSPersistentVolumeSource storageos)
-
volumeMode
public IoK8sApiCoreV1PersistentVolumeSpec volumeMode(String volumeMode)
-
getVolumeMode
@Nullable public String getVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.- Returns:
- volumeMode
-
setVolumeMode
public void setVolumeMode(String volumeMode)
-
vsphereVolume
public IoK8sApiCoreV1PersistentVolumeSpec vsphereVolume(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource vsphereVolume)
-
getVsphereVolume
@Nullable public IoK8sApiCoreV1VsphereVirtualDiskVolumeSource getVsphereVolume()
Get vsphereVolume- Returns:
- vsphereVolume
-
setVsphereVolume
public void setVsphereVolume(IoK8sApiCoreV1VsphereVirtualDiskVolumeSource vsphereVolume)
-
-