public class VolumeFluentImpl<T extends VolumeFluent<T>> extends BaseFluent<T> implements VolumeFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
VolumeFluentImpl.AwsElasticBlockStoreNestedImpl<N> |
class |
VolumeFluentImpl.CephfsNestedImpl<N> |
class |
VolumeFluentImpl.CinderNestedImpl<N> |
class |
VolumeFluentImpl.DownwardAPINestedImpl<N> |
class |
VolumeFluentImpl.EmptyDirNestedImpl<N> |
class |
VolumeFluentImpl.FcNestedImpl<N> |
class |
VolumeFluentImpl.FlockerNestedImpl<N> |
class |
VolumeFluentImpl.GcePersistentDiskNestedImpl<N> |
class |
VolumeFluentImpl.GitRepoNestedImpl<N> |
class |
VolumeFluentImpl.GlusterfsNestedImpl<N> |
class |
VolumeFluentImpl.HostPathNestedImpl<N> |
class |
VolumeFluentImpl.IscsiNestedImpl<N> |
class |
VolumeFluentImpl.MetadataNestedImpl<N> |
class |
VolumeFluentImpl.NfsNestedImpl<N> |
class |
VolumeFluentImpl.PersistentVolumeClaimNestedImpl<N> |
class |
VolumeFluentImpl.RbdNestedImpl<N> |
class |
VolumeFluentImpl.SecretNestedImpl<N> |
VolumeFluent.AwsElasticBlockStoreNested<N>, VolumeFluent.CephfsNested<N>, VolumeFluent.CinderNested<N>, VolumeFluent.DownwardAPINested<N>, VolumeFluent.EmptyDirNested<N>, VolumeFluent.FcNested<N>, VolumeFluent.FlockerNested<N>, VolumeFluent.GcePersistentDiskNested<N>, VolumeFluent.GitRepoNested<N>, VolumeFluent.GlusterfsNested<N>, VolumeFluent.HostPathNested<N>, VolumeFluent.IscsiNested<N>, VolumeFluent.MetadataNested<N>, VolumeFluent.NfsNested<N>, VolumeFluent.PersistentVolumeClaimNested<N>, VolumeFluent.RbdNested<N>, VolumeFluent.SecretNested<N>
_visitables
Constructor and Description |
---|
VolumeFluentImpl() |
VolumeFluentImpl(Volume instance) |
public VolumeFluentImpl()
public VolumeFluentImpl(Volume instance)
public AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
getAwsElasticBlockStore
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withAwsElasticBlockStore(AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
withAwsElasticBlockStore
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.AwsElasticBlockStoreNested<T> withNewAwsElasticBlockStore()
withNewAwsElasticBlockStore
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.AwsElasticBlockStoreNested<T> withNewAwsElasticBlockStoreLike(AWSElasticBlockStoreVolumeSource item)
withNewAwsElasticBlockStoreLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.AwsElasticBlockStoreNested<T> editAwsElasticBlockStore()
editAwsElasticBlockStore
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID)
withNewAwsElasticBlockStore
in interface VolumeFluent<T extends VolumeFluent<T>>
public CephFSVolumeSource getCephfs()
getCephfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withCephfs(CephFSVolumeSource cephfs)
withCephfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CephfsNested<T> withNewCephfs()
withNewCephfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CephfsNested<T> withNewCephfsLike(CephFSVolumeSource item)
withNewCephfsLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CephfsNested<T> editCephfs()
editCephfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public CinderVolumeSource getCinder()
getCinder
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withCinder(CinderVolumeSource cinder)
withCinder
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CinderNested<T> withNewCinder()
withNewCinder
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CinderNested<T> withNewCinderLike(CinderVolumeSource item)
withNewCinderLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.CinderNested<T> editCinder()
editCinder
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewCinder(String fsType, Boolean readOnly, String volumeID)
withNewCinder
in interface VolumeFluent<T extends VolumeFluent<T>>
public DownwardAPIVolumeSource getDownwardAPI()
getDownwardAPI
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withDownwardAPI(DownwardAPIVolumeSource downwardAPI)
withDownwardAPI
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.DownwardAPINested<T> withNewDownwardAPI()
withNewDownwardAPI
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.DownwardAPINested<T> withNewDownwardAPILike(DownwardAPIVolumeSource item)
withNewDownwardAPILike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.DownwardAPINested<T> editDownwardAPI()
editDownwardAPI
in interface VolumeFluent<T extends VolumeFluent<T>>
public EmptyDirVolumeSource getEmptyDir()
getEmptyDir
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withEmptyDir(EmptyDirVolumeSource emptyDir)
withEmptyDir
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.EmptyDirNested<T> withNewEmptyDir()
withNewEmptyDir
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.EmptyDirNested<T> withNewEmptyDirLike(EmptyDirVolumeSource item)
withNewEmptyDirLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.EmptyDirNested<T> editEmptyDir()
editEmptyDir
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewEmptyDir(String medium)
withNewEmptyDir
in interface VolumeFluent<T extends VolumeFluent<T>>
public FCVolumeSource getFc()
getFc
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withFc(FCVolumeSource fc)
withFc
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FcNested<T> withNewFc()
withNewFc
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FcNested<T> withNewFcLike(FCVolumeSource item)
withNewFcLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FcNested<T> editFc()
editFc
in interface VolumeFluent<T extends VolumeFluent<T>>
public FlockerVolumeSource getFlocker()
getFlocker
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withFlocker(FlockerVolumeSource flocker)
withFlocker
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FlockerNested<T> withNewFlocker()
withNewFlocker
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FlockerNested<T> withNewFlockerLike(FlockerVolumeSource item)
withNewFlockerLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.FlockerNested<T> editFlocker()
editFlocker
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewFlocker(String datasetName)
withNewFlocker
in interface VolumeFluent<T extends VolumeFluent<T>>
public GCEPersistentDiskVolumeSource getGcePersistentDisk()
getGcePersistentDisk
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withGcePersistentDisk(GCEPersistentDiskVolumeSource gcePersistentDisk)
withGcePersistentDisk
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GcePersistentDiskNested<T> withNewGcePersistentDisk()
withNewGcePersistentDisk
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GcePersistentDiskNested<T> withNewGcePersistentDiskLike(GCEPersistentDiskVolumeSource item)
withNewGcePersistentDiskLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GcePersistentDiskNested<T> editGcePersistentDisk()
editGcePersistentDisk
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly)
withNewGcePersistentDisk
in interface VolumeFluent<T extends VolumeFluent<T>>
public GitRepoVolumeSource getGitRepo()
getGitRepo
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withGitRepo(GitRepoVolumeSource gitRepo)
withGitRepo
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GitRepoNested<T> withNewGitRepo()
withNewGitRepo
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GitRepoNested<T> withNewGitRepoLike(GitRepoVolumeSource item)
withNewGitRepoLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GitRepoNested<T> editGitRepo()
editGitRepo
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewGitRepo(String repository, String revision)
withNewGitRepo
in interface VolumeFluent<T extends VolumeFluent<T>>
public GlusterfsVolumeSource getGlusterfs()
getGlusterfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withGlusterfs(GlusterfsVolumeSource glusterfs)
withGlusterfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GlusterfsNested<T> withNewGlusterfs()
withNewGlusterfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GlusterfsNested<T> withNewGlusterfsLike(GlusterfsVolumeSource item)
withNewGlusterfsLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.GlusterfsNested<T> editGlusterfs()
editGlusterfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewGlusterfs(String endpoints, String path, Boolean readOnly)
withNewGlusterfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public HostPathVolumeSource getHostPath()
getHostPath
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withHostPath(HostPathVolumeSource hostPath)
withHostPath
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.HostPathNested<T> withNewHostPath()
withNewHostPath
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.HostPathNested<T> withNewHostPathLike(HostPathVolumeSource item)
withNewHostPathLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.HostPathNested<T> editHostPath()
editHostPath
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewHostPath(String path)
withNewHostPath
in interface VolumeFluent<T extends VolumeFluent<T>>
public ISCSIVolumeSource getIscsi()
getIscsi
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withIscsi(ISCSIVolumeSource iscsi)
withIscsi
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.IscsiNested<T> withNewIscsi()
withNewIscsi
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.IscsiNested<T> withNewIscsiLike(ISCSIVolumeSource item)
withNewIscsiLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.IscsiNested<T> editIscsi()
editIscsi
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewIscsi(String fsType, String iqn, Integer lun, Boolean readOnly, String targetPortal)
withNewIscsi
in interface VolumeFluent<T extends VolumeFluent<T>>
public MetadataVolumeSource getMetadata()
getMetadata
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withMetadata(MetadataVolumeSource metadata)
withMetadata
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.MetadataNested<T> withNewMetadata()
withNewMetadata
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.MetadataNested<T> withNewMetadataLike(MetadataVolumeSource item)
withNewMetadataLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.MetadataNested<T> editMetadata()
editMetadata
in interface VolumeFluent<T extends VolumeFluent<T>>
public String getName()
getName
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withName(String name)
withName
in interface VolumeFluent<T extends VolumeFluent<T>>
public NFSVolumeSource getNfs()
getNfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNfs(NFSVolumeSource nfs)
withNfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.NfsNested<T> withNewNfs()
withNewNfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.NfsNested<T> withNewNfsLike(NFSVolumeSource item)
withNewNfsLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.NfsNested<T> editNfs()
editNfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewNfs(String path, Boolean readOnly, String server)
withNewNfs
in interface VolumeFluent<T extends VolumeFluent<T>>
public PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
getPersistentVolumeClaim
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withPersistentVolumeClaim(PersistentVolumeClaimVolumeSource persistentVolumeClaim)
withPersistentVolumeClaim
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.PersistentVolumeClaimNested<T> withNewPersistentVolumeClaim()
withNewPersistentVolumeClaim
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.PersistentVolumeClaimNested<T> withNewPersistentVolumeClaimLike(PersistentVolumeClaimVolumeSource item)
withNewPersistentVolumeClaimLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.PersistentVolumeClaimNested<T> editPersistentVolumeClaim()
editPersistentVolumeClaim
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewPersistentVolumeClaim(String claimName, Boolean readOnly)
withNewPersistentVolumeClaim
in interface VolumeFluent<T extends VolumeFluent<T>>
public RBDVolumeSource getRbd()
getRbd
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withRbd(RBDVolumeSource rbd)
withRbd
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.RbdNested<T> withNewRbd()
withNewRbd
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.RbdNested<T> withNewRbdLike(RBDVolumeSource item)
withNewRbdLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.RbdNested<T> editRbd()
editRbd
in interface VolumeFluent<T extends VolumeFluent<T>>
public SecretVolumeSource getSecret()
getSecret
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withSecret(SecretVolumeSource secret)
withSecret
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.SecretNested<T> withNewSecret()
withNewSecret
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.SecretNested<T> withNewSecretLike(SecretVolumeSource item)
withNewSecretLike
in interface VolumeFluent<T extends VolumeFluent<T>>
public VolumeFluent.SecretNested<T> editSecret()
editSecret
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withNewSecret(String secretName)
withNewSecret
in interface VolumeFluent<T extends VolumeFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface VolumeFluent<T extends VolumeFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.