@Generated(value="org.jsonschema2pojo") public class PersistentVolumeSpec extends Object
| Constructor and Description |
|---|
PersistentVolumeSpec()
No args constructor for use in serialization
|
PersistentVolumeSpec(List<String> accessModes,
AWSElasticBlockStoreVolumeSource awsElasticBlockStore,
Map<String,Quantity> capacity,
ObjectReference claimRef,
GCEPersistentDiskVolumeSource gcePersistentDisk,
GlusterfsVolumeSource glusterfs,
HostPathVolumeSource hostPath,
NFSVolumeSource nfs,
RBDVolumeSource rbd) |
public PersistentVolumeSpec()
public PersistentVolumeSpec(List<String> accessModes, AWSElasticBlockStoreVolumeSource awsElasticBlockStore, Map<String,Quantity> capacity, ObjectReference claimRef, GCEPersistentDiskVolumeSource gcePersistentDisk, GlusterfsVolumeSource glusterfs, HostPathVolumeSource hostPath, NFSVolumeSource nfs, RBDVolumeSource rbd)
accessModes - gcePersistentDisk - glusterfs - nfs - hostPath - claimRef - capacity - rbd - awsElasticBlockStore - public List<String> getAccessModes()
public void setAccessModes(List<String> accessModes)
accessModes - The accessModespublic AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
public void setAwsElasticBlockStore(AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
awsElasticBlockStore - The awsElasticBlockStorepublic Map<String,Quantity> getCapacity()
public void setCapacity(Map<String,Quantity> capacity)
capacity - The capacitypublic ObjectReference getClaimRef()
public void setClaimRef(ObjectReference claimRef)
claimRef - The claimRefpublic GCEPersistentDiskVolumeSource getGcePersistentDisk()
public void setGcePersistentDisk(GCEPersistentDiskVolumeSource gcePersistentDisk)
gcePersistentDisk - The gcePersistentDiskpublic GlusterfsVolumeSource getGlusterfs()
public void setGlusterfs(GlusterfsVolumeSource glusterfs)
glusterfs - The glusterfspublic HostPathVolumeSource getHostPath()
public void setHostPath(HostPathVolumeSource hostPath)
hostPath - The hostPathpublic NFSVolumeSource getNfs()
public void setNfs(NFSVolumeSource nfs)
nfs - The nfspublic RBDVolumeSource getRbd()
public void setRbd(RBDVolumeSource rbd)
rbd - The rbdCopyright © 2011–2015 Red Hat. All rights reserved.