annotations.io.alauda.kubernetes.api.model.PersistentVolumeSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.lang.String;
import java.lang.Boolean;
import javax.validation.Valid;
import java.lang.Object;
import java.util.Map;
import java.lang.Deprecated;
import io.alauda.kubernetes.api.builder.Predicate;
import java.util.List;
import io.alauda.kubernetes.api.builder.Fluent;
import java.util.Collection;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.Integer;
public interface PersistentVolumeSpecFluent> extends Fluent{
public A addToAccessModes(int index,String item);
public A setToAccessModes(int index,String item);
public A addToAccessModes(String... items);
public A addAllToAccessModes(Collection items);
public A removeFromAccessModes(String... items);
public A removeAllFromAccessModes(Collection items);
public List getAccessModes();
public String getAccessMode(int index);
public String getFirstAccessMode();
public String getLastAccessMode();
public String getMatchingAccessMode(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withAccessModes(List accessModes);
public A withAccessModes(String... accessModes);
public Boolean hasAccessModes();
/**
* This method has been deprecated, please use method buildAwsElasticBlockStore instead.
*/
@Deprecated public AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore();
public AWSElasticBlockStoreVolumeSource buildAwsElasticBlockStore();
public A withAwsElasticBlockStore(AWSElasticBlockStoreVolumeSource awsElasticBlockStore);
public Boolean hasAwsElasticBlockStore();
public PersistentVolumeSpecFluent.AwsElasticBlockStoreNested withNewAwsElasticBlockStore();
public PersistentVolumeSpecFluent.AwsElasticBlockStoreNested withNewAwsElasticBlockStoreLike(AWSElasticBlockStoreVolumeSource item);
public PersistentVolumeSpecFluent.AwsElasticBlockStoreNested editAwsElasticBlockStore();
public PersistentVolumeSpecFluent.AwsElasticBlockStoreNested editOrNewAwsElasticBlockStore();
public PersistentVolumeSpecFluent.AwsElasticBlockStoreNested editOrNewAwsElasticBlockStoreLike(AWSElasticBlockStoreVolumeSource item);
public A withNewAwsElasticBlockStore(String fsType,Integer partition,Boolean readOnly,String volumeID);
/**
* This method has been deprecated, please use method buildAzureDisk instead.
*/
@Deprecated public AzureDiskVolumeSource getAzureDisk();
public AzureDiskVolumeSource buildAzureDisk();
public A withAzureDisk(AzureDiskVolumeSource azureDisk);
public Boolean hasAzureDisk();
public PersistentVolumeSpecFluent.AzureDiskNested withNewAzureDisk();
public PersistentVolumeSpecFluent.AzureDiskNested withNewAzureDiskLike(AzureDiskVolumeSource item);
public PersistentVolumeSpecFluent.AzureDiskNested editAzureDisk();
public PersistentVolumeSpecFluent.AzureDiskNested editOrNewAzureDisk();
public PersistentVolumeSpecFluent.AzureDiskNested editOrNewAzureDiskLike(AzureDiskVolumeSource item);
/**
* This method has been deprecated, please use method buildAzureFile instead.
*/
@Deprecated public AzureFileVolumeSource getAzureFile();
public AzureFileVolumeSource buildAzureFile();
public A withAzureFile(AzureFileVolumeSource azureFile);
public Boolean hasAzureFile();
public PersistentVolumeSpecFluent.AzureFileNested withNewAzureFile();
public PersistentVolumeSpecFluent.AzureFileNested withNewAzureFileLike(AzureFileVolumeSource item);
public PersistentVolumeSpecFluent.AzureFileNested editAzureFile();
public PersistentVolumeSpecFluent.AzureFileNested editOrNewAzureFile();
public PersistentVolumeSpecFluent.AzureFileNested editOrNewAzureFileLike(AzureFileVolumeSource item);
public A withNewAzureFile(Boolean readOnly,String secretName,String shareName);
public A addToCapacity(String key,Quantity value);
public A addToCapacity(Map map);
public A removeFromCapacity(String key);
public A removeFromCapacity(Map map);
public Map getCapacity();
public A withCapacity(Map capacity);
public Boolean hasCapacity();
/**
* This method has been deprecated, please use method buildCephfs instead.
*/
@Deprecated public CephFSVolumeSource getCephfs();
public CephFSVolumeSource buildCephfs();
public A withCephfs(CephFSVolumeSource cephfs);
public Boolean hasCephfs();
public PersistentVolumeSpecFluent.CephfsNested withNewCephfs();
public PersistentVolumeSpecFluent.CephfsNested withNewCephfsLike(CephFSVolumeSource item);
public PersistentVolumeSpecFluent.CephfsNested editCephfs();
public PersistentVolumeSpecFluent.CephfsNested editOrNewCephfs();
public PersistentVolumeSpecFluent.CephfsNested editOrNewCephfsLike(CephFSVolumeSource item);
/**
* This method has been deprecated, please use method buildCinder instead.
*/
@Deprecated public CinderVolumeSource getCinder();
public CinderVolumeSource buildCinder();
public A withCinder(CinderVolumeSource cinder);
public Boolean hasCinder();
public PersistentVolumeSpecFluent.CinderNested withNewCinder();
public PersistentVolumeSpecFluent.CinderNested withNewCinderLike(CinderVolumeSource item);
public PersistentVolumeSpecFluent.CinderNested editCinder();
public PersistentVolumeSpecFluent.CinderNested editOrNewCinder();
public PersistentVolumeSpecFluent.CinderNested editOrNewCinderLike(CinderVolumeSource item);
public A withNewCinder(String fsType,Boolean readOnly,String volumeID);
/**
* This method has been deprecated, please use method buildClaimRef instead.
*/
@Deprecated public ObjectReference getClaimRef();
public ObjectReference buildClaimRef();
public A withClaimRef(ObjectReference claimRef);
public Boolean hasClaimRef();
public PersistentVolumeSpecFluent.ClaimRefNested withNewClaimRef();
public PersistentVolumeSpecFluent.ClaimRefNested withNewClaimRefLike(ObjectReference item);
public PersistentVolumeSpecFluent.ClaimRefNested editClaimRef();
public PersistentVolumeSpecFluent.ClaimRefNested editOrNewClaimRef();
public PersistentVolumeSpecFluent.ClaimRefNested editOrNewClaimRefLike(ObjectReference item);
/**
* This method has been deprecated, please use method buildFc instead.
*/
@Deprecated public FCVolumeSource getFc();
public FCVolumeSource buildFc();
public A withFc(FCVolumeSource fc);
public Boolean hasFc();
public PersistentVolumeSpecFluent.FcNested withNewFc();
public PersistentVolumeSpecFluent.FcNested withNewFcLike(FCVolumeSource item);
public PersistentVolumeSpecFluent.FcNested editFc();
public PersistentVolumeSpecFluent.FcNested editOrNewFc();
public PersistentVolumeSpecFluent.FcNested editOrNewFcLike(FCVolumeSource item);
/**
* This method has been deprecated, please use method buildFlexVolume instead.
*/
@Deprecated public FlexVolumeSource getFlexVolume();
public FlexVolumeSource buildFlexVolume();
public A withFlexVolume(FlexVolumeSource flexVolume);
public Boolean hasFlexVolume();
public PersistentVolumeSpecFluent.FlexVolumeNested withNewFlexVolume();
public PersistentVolumeSpecFluent.FlexVolumeNested withNewFlexVolumeLike(FlexVolumeSource item);
public PersistentVolumeSpecFluent.FlexVolumeNested editFlexVolume();
public PersistentVolumeSpecFluent.FlexVolumeNested editOrNewFlexVolume();
public PersistentVolumeSpecFluent.FlexVolumeNested editOrNewFlexVolumeLike(FlexVolumeSource item);
/**
* This method has been deprecated, please use method buildFlocker instead.
*/
@Deprecated public FlockerVolumeSource getFlocker();
public FlockerVolumeSource buildFlocker();
public A withFlocker(FlockerVolumeSource flocker);
public Boolean hasFlocker();
public PersistentVolumeSpecFluent.FlockerNested withNewFlocker();
public PersistentVolumeSpecFluent.FlockerNested withNewFlockerLike(FlockerVolumeSource item);
public PersistentVolumeSpecFluent.FlockerNested editFlocker();
public PersistentVolumeSpecFluent.FlockerNested editOrNewFlocker();
public PersistentVolumeSpecFluent.FlockerNested editOrNewFlockerLike(FlockerVolumeSource item);
public A withNewFlocker(String datasetName,String datasetUUID);
/**
* This method has been deprecated, please use method buildGcePersistentDisk instead.
*/
@Deprecated public GCEPersistentDiskVolumeSource getGcePersistentDisk();
public GCEPersistentDiskVolumeSource buildGcePersistentDisk();
public A withGcePersistentDisk(GCEPersistentDiskVolumeSource gcePersistentDisk);
public Boolean hasGcePersistentDisk();
public PersistentVolumeSpecFluent.GcePersistentDiskNested withNewGcePersistentDisk();
public PersistentVolumeSpecFluent.GcePersistentDiskNested withNewGcePersistentDiskLike(GCEPersistentDiskVolumeSource item);
public PersistentVolumeSpecFluent.GcePersistentDiskNested editGcePersistentDisk();
public PersistentVolumeSpecFluent.GcePersistentDiskNested editOrNewGcePersistentDisk();
public PersistentVolumeSpecFluent.GcePersistentDiskNested editOrNewGcePersistentDiskLike(GCEPersistentDiskVolumeSource item);
public A withNewGcePersistentDisk(String fsType,Integer partition,String pdName,Boolean readOnly);
/**
* This method has been deprecated, please use method buildGlusterfs instead.
*/
@Deprecated public GlusterfsVolumeSource getGlusterfs();
public GlusterfsVolumeSource buildGlusterfs();
public A withGlusterfs(GlusterfsVolumeSource glusterfs);
public Boolean hasGlusterfs();
public PersistentVolumeSpecFluent.GlusterfsNested withNewGlusterfs();
public PersistentVolumeSpecFluent.GlusterfsNested withNewGlusterfsLike(GlusterfsVolumeSource item);
public PersistentVolumeSpecFluent.GlusterfsNested editGlusterfs();
public PersistentVolumeSpecFluent.GlusterfsNested editOrNewGlusterfs();
public PersistentVolumeSpecFluent.GlusterfsNested editOrNewGlusterfsLike(GlusterfsVolumeSource item);
public A withNewGlusterfs(String endpoints,String path,Boolean readOnly);
/**
* This method has been deprecated, please use method buildHostPath instead.
*/
@Deprecated public HostPathVolumeSource getHostPath();
public HostPathVolumeSource buildHostPath();
public A withHostPath(HostPathVolumeSource hostPath);
public Boolean hasHostPath();
public PersistentVolumeSpecFluent.HostPathNested withNewHostPath();
public PersistentVolumeSpecFluent.HostPathNested withNewHostPathLike(HostPathVolumeSource item);
public PersistentVolumeSpecFluent.HostPathNested editHostPath();
public PersistentVolumeSpecFluent.HostPathNested editOrNewHostPath();
public PersistentVolumeSpecFluent.HostPathNested editOrNewHostPathLike(HostPathVolumeSource item);
public A withNewHostPath(String path);
/**
* This method has been deprecated, please use method buildIscsi instead.
*/
@Deprecated public ISCSIVolumeSource getIscsi();
public ISCSIVolumeSource buildIscsi();
public A withIscsi(ISCSIVolumeSource iscsi);
public Boolean hasIscsi();
public PersistentVolumeSpecFluent.IscsiNested withNewIscsi();
public PersistentVolumeSpecFluent.IscsiNested withNewIscsiLike(ISCSIVolumeSource item);
public PersistentVolumeSpecFluent.IscsiNested editIscsi();
public PersistentVolumeSpecFluent.IscsiNested editOrNewIscsi();
public PersistentVolumeSpecFluent.IscsiNested editOrNewIscsiLike(ISCSIVolumeSource item);
/**
* This method has been deprecated, please use method buildLocal instead.
*/
@Deprecated public LocalVolumeSource getLocal();
public LocalVolumeSource buildLocal();
public A withLocal(LocalVolumeSource local);
public Boolean hasLocal();
public PersistentVolumeSpecFluent.LocalNested withNewLocal();
public PersistentVolumeSpecFluent.LocalNested withNewLocalLike(LocalVolumeSource item);
public PersistentVolumeSpecFluent.LocalNested editLocal();
public PersistentVolumeSpecFluent.LocalNested editOrNewLocal();
public PersistentVolumeSpecFluent.LocalNested editOrNewLocalLike(LocalVolumeSource item);
public A withNewLocal(String path);
/**
* This method has been deprecated, please use method buildNfs instead.
*/
@Deprecated public NFSVolumeSource getNfs();
public NFSVolumeSource buildNfs();
public A withNfs(NFSVolumeSource nfs);
public Boolean hasNfs();
public PersistentVolumeSpecFluent.NfsNested withNewNfs();
public PersistentVolumeSpecFluent.NfsNested withNewNfsLike(NFSVolumeSource item);
public PersistentVolumeSpecFluent.NfsNested editNfs();
public PersistentVolumeSpecFluent.NfsNested editOrNewNfs();
public PersistentVolumeSpecFluent.NfsNested editOrNewNfsLike(NFSVolumeSource item);
public A withNewNfs(String path,Boolean readOnly,String server);
public String getPersistentVolumeReclaimPolicy();
public A withPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy);
public Boolean hasPersistentVolumeReclaimPolicy();
/**
* This method has been deprecated, please use method buildPhotonPersistentDisk instead.
*/
@Deprecated public PhotonPersistentDiskVolumeSource getPhotonPersistentDisk();
public PhotonPersistentDiskVolumeSource buildPhotonPersistentDisk();
public A withPhotonPersistentDisk(PhotonPersistentDiskVolumeSource photonPersistentDisk);
public Boolean hasPhotonPersistentDisk();
public PersistentVolumeSpecFluent.PhotonPersistentDiskNested withNewPhotonPersistentDisk();
public PersistentVolumeSpecFluent.PhotonPersistentDiskNested withNewPhotonPersistentDiskLike(PhotonPersistentDiskVolumeSource item);
public PersistentVolumeSpecFluent.PhotonPersistentDiskNested editPhotonPersistentDisk();
public PersistentVolumeSpecFluent.PhotonPersistentDiskNested editOrNewPhotonPersistentDisk();
public PersistentVolumeSpecFluent.PhotonPersistentDiskNested editOrNewPhotonPersistentDiskLike(PhotonPersistentDiskVolumeSource item);
public A withNewPhotonPersistentDisk(String fsType,String pdID);
/**
* This method has been deprecated, please use method buildPortworxVolume instead.
*/
@Deprecated public PortworxVolumeSource getPortworxVolume();
public PortworxVolumeSource buildPortworxVolume();
public A withPortworxVolume(PortworxVolumeSource portworxVolume);
public Boolean hasPortworxVolume();
public PersistentVolumeSpecFluent.PortworxVolumeNested withNewPortworxVolume();
public PersistentVolumeSpecFluent.PortworxVolumeNested withNewPortworxVolumeLike(PortworxVolumeSource item);
public PersistentVolumeSpecFluent.PortworxVolumeNested editPortworxVolume();
public PersistentVolumeSpecFluent.PortworxVolumeNested editOrNewPortworxVolume();
public PersistentVolumeSpecFluent.PortworxVolumeNested editOrNewPortworxVolumeLike(PortworxVolumeSource item);
public A withNewPortworxVolume(String fsType,Boolean readOnly,String volumeID);
/**
* This method has been deprecated, please use method buildQuobyte instead.
*/
@Deprecated public QuobyteVolumeSource getQuobyte();
public QuobyteVolumeSource buildQuobyte();
public A withQuobyte(QuobyteVolumeSource quobyte);
public Boolean hasQuobyte();
public PersistentVolumeSpecFluent.QuobyteNested withNewQuobyte();
public PersistentVolumeSpecFluent.QuobyteNested withNewQuobyteLike(QuobyteVolumeSource item);
public PersistentVolumeSpecFluent.QuobyteNested editQuobyte();
public PersistentVolumeSpecFluent.QuobyteNested editOrNewQuobyte();
public PersistentVolumeSpecFluent.QuobyteNested editOrNewQuobyteLike(QuobyteVolumeSource item);
public A withNewQuobyte(String group,Boolean readOnly,String registry,String user,String volume);
/**
* This method has been deprecated, please use method buildRbd instead.
*/
@Deprecated public RBDVolumeSource getRbd();
public RBDVolumeSource buildRbd();
public A withRbd(RBDVolumeSource rbd);
public Boolean hasRbd();
public PersistentVolumeSpecFluent.RbdNested withNewRbd();
public PersistentVolumeSpecFluent.RbdNested withNewRbdLike(RBDVolumeSource item);
public PersistentVolumeSpecFluent.RbdNested editRbd();
public PersistentVolumeSpecFluent.RbdNested editOrNewRbd();
public PersistentVolumeSpecFluent.RbdNested editOrNewRbdLike(RBDVolumeSource item);
/**
* This method has been deprecated, please use method buildScaleIO instead.
*/
@Deprecated public ScaleIOVolumeSource getScaleIO();
public ScaleIOVolumeSource buildScaleIO();
public A withScaleIO(ScaleIOVolumeSource scaleIO);
public Boolean hasScaleIO();
public PersistentVolumeSpecFluent.ScaleIONested withNewScaleIO();
public PersistentVolumeSpecFluent.ScaleIONested withNewScaleIOLike(ScaleIOVolumeSource item);
public PersistentVolumeSpecFluent.ScaleIONested editScaleIO();
public PersistentVolumeSpecFluent.ScaleIONested editOrNewScaleIO();
public PersistentVolumeSpecFluent.ScaleIONested editOrNewScaleIOLike(ScaleIOVolumeSource item);
public String getStorageClassName();
public A withStorageClassName(String storageClassName);
public Boolean hasStorageClassName();
/**
* This method has been deprecated, please use method buildStorageos instead.
*/
@Deprecated public StorageOSPersistentVolumeSource getStorageos();
public StorageOSPersistentVolumeSource buildStorageos();
public A withStorageos(StorageOSPersistentVolumeSource storageos);
public Boolean hasStorageos();
public PersistentVolumeSpecFluent.StorageosNested withNewStorageos();
public PersistentVolumeSpecFluent.StorageosNested withNewStorageosLike(StorageOSPersistentVolumeSource item);
public PersistentVolumeSpecFluent.StorageosNested editStorageos();
public PersistentVolumeSpecFluent.StorageosNested editOrNewStorageos();
public PersistentVolumeSpecFluent.StorageosNested editOrNewStorageosLike(StorageOSPersistentVolumeSource item);
/**
* This method has been deprecated, please use method buildVsphereVolume instead.
*/
@Deprecated public VsphereVirtualDiskVolumeSource getVsphereVolume();
public VsphereVirtualDiskVolumeSource buildVsphereVolume();
public A withVsphereVolume(VsphereVirtualDiskVolumeSource vsphereVolume);
public Boolean hasVsphereVolume();
public PersistentVolumeSpecFluent.VsphereVolumeNested withNewVsphereVolume();
public PersistentVolumeSpecFluent.VsphereVolumeNested withNewVsphereVolumeLike(VsphereVirtualDiskVolumeSource item);
public PersistentVolumeSpecFluent.VsphereVolumeNested editVsphereVolume();
public PersistentVolumeSpecFluent.VsphereVolumeNested editOrNewVsphereVolume();
public PersistentVolumeSpecFluent.VsphereVolumeNested editOrNewVsphereVolumeLike(VsphereVirtualDiskVolumeSource item);
public A withNewVsphereVolume(String fsType,String storagePolicyID,String storagePolicyName,String volumePath);
public interface AwsElasticBlockStoreNested extends io.alauda.kubernetes.api.builder.Nested,AWSElasticBlockStoreVolumeSourceFluent>{
public N and(); public N endAwsElasticBlockStore();
}
public interface AzureDiskNested extends io.alauda.kubernetes.api.builder.Nested,AzureDiskVolumeSourceFluent>{
public N and(); public N endAzureDisk();
}
public interface AzureFileNested extends io.alauda.kubernetes.api.builder.Nested,AzureFileVolumeSourceFluent>{
public N and(); public N endAzureFile();
}
public interface CephfsNested extends io.alauda.kubernetes.api.builder.Nested,CephFSVolumeSourceFluent>{
public N and(); public N endCephfs();
}
public interface CinderNested extends io.alauda.kubernetes.api.builder.Nested,CinderVolumeSourceFluent>{
public N and(); public N endCinder();
}
public interface ClaimRefNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endClaimRef();
}
public interface FcNested extends io.alauda.kubernetes.api.builder.Nested,FCVolumeSourceFluent>{
public N and(); public N endFc();
}
public interface FlexVolumeNested extends io.alauda.kubernetes.api.builder.Nested,FlexVolumeSourceFluent>{
public N and(); public N endFlexVolume();
}
public interface FlockerNested extends io.alauda.kubernetes.api.builder.Nested,FlockerVolumeSourceFluent>{
public N and(); public N endFlocker();
}
public interface GcePersistentDiskNested extends io.alauda.kubernetes.api.builder.Nested,GCEPersistentDiskVolumeSourceFluent>{
public N and(); public N endGcePersistentDisk();
}
public interface GlusterfsNested extends io.alauda.kubernetes.api.builder.Nested,GlusterfsVolumeSourceFluent>{
public N and(); public N endGlusterfs();
}
public interface HostPathNested extends io.alauda.kubernetes.api.builder.Nested,HostPathVolumeSourceFluent>{
public N and(); public N endHostPath();
}
public interface IscsiNested extends io.alauda.kubernetes.api.builder.Nested,ISCSIVolumeSourceFluent>{
public N and(); public N endIscsi();
}
public interface LocalNested extends io.alauda.kubernetes.api.builder.Nested,LocalVolumeSourceFluent>{
public N and(); public N endLocal();
}
public interface NfsNested extends io.alauda.kubernetes.api.builder.Nested,NFSVolumeSourceFluent>{
public N and(); public N endNfs();
}
public interface PhotonPersistentDiskNested extends io.alauda.kubernetes.api.builder.Nested,PhotonPersistentDiskVolumeSourceFluent>{
public N and(); public N endPhotonPersistentDisk();
}
public interface PortworxVolumeNested extends io.alauda.kubernetes.api.builder.Nested,PortworxVolumeSourceFluent>{
public N and(); public N endPortworxVolume();
}
public interface QuobyteNested extends io.alauda.kubernetes.api.builder.Nested,QuobyteVolumeSourceFluent>{
public N and(); public N endQuobyte();
}
public interface RbdNested extends io.alauda.kubernetes.api.builder.Nested,RBDVolumeSourceFluent>{
public N and(); public N endRbd();
}
public interface ScaleIONested extends io.alauda.kubernetes.api.builder.Nested,ScaleIOVolumeSourceFluent>{
public N and(); public N endScaleIO();
}
public interface StorageosNested extends io.alauda.kubernetes.api.builder.Nested,StorageOSPersistentVolumeSourceFluent>{
public N and(); public N endStorageos();
}
public interface VsphereVolumeNested extends io.alauda.kubernetes.api.builder.Nested,VsphereVirtualDiskVolumeSourceFluent>{
public N and(); public N endVsphereVolume();
}
}