io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface V1PersistentVolumeClaimSpecFluent> extends Fluent{
public A addToAccessModes(int index,String item);
public A setToAccessModes(int index,String item);
public A addToAccessModes(java.lang.String... items);
public A addAllToAccessModes(Collection items);
public A removeFromAccessModes(java.lang.String... items);
public A removeAllFromAccessModes(Collection items);
public List getAccessModes();
public String getAccessMode(int index);
public String getFirstAccessMode();
public String getLastAccessMode();
public String getMatchingAccessMode(Predicate predicate);
public Boolean hasMatchingAccessMode(Predicate predicate);
public A withAccessModes(List accessModes);
public A withAccessModes(java.lang.String... accessModes);
public Boolean hasAccessModes();
/**
* This method has been deprecated, please use method buildDataSource instead.
* @return The buildable object.
*/
@Deprecated
public V1TypedLocalObjectReference getDataSource();
public V1TypedLocalObjectReference buildDataSource();
public A withDataSource(V1TypedLocalObjectReference dataSource);
public Boolean hasDataSource();
public V1PersistentVolumeClaimSpecFluent.DataSourceNested withNewDataSource();
public V1PersistentVolumeClaimSpecFluent.DataSourceNested withNewDataSourceLike(V1TypedLocalObjectReference item);
public V1PersistentVolumeClaimSpecFluent.DataSourceNested editDataSource();
public V1PersistentVolumeClaimSpecFluent.DataSourceNested editOrNewDataSource();
public V1PersistentVolumeClaimSpecFluent.DataSourceNested editOrNewDataSourceLike(V1TypedLocalObjectReference item);
/**
* This method has been deprecated, please use method buildDataSourceRef instead.
* @return The buildable object.
*/
@Deprecated
public V1TypedObjectReference getDataSourceRef();
public V1TypedObjectReference buildDataSourceRef();
public A withDataSourceRef(V1TypedObjectReference dataSourceRef);
public Boolean hasDataSourceRef();
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested withNewDataSourceRef();
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested withNewDataSourceRefLike(V1TypedObjectReference item);
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested editDataSourceRef();
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested editOrNewDataSourceRef();
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested editOrNewDataSourceRefLike(V1TypedObjectReference item);
/**
* This method has been deprecated, please use method buildResources instead.
* @return The buildable object.
*/
@Deprecated
public V1ResourceRequirements getResources();
public V1ResourceRequirements buildResources();
public A withResources(V1ResourceRequirements resources);
public Boolean hasResources();
public V1PersistentVolumeClaimSpecFluent.ResourcesNested withNewResources();
public V1PersistentVolumeClaimSpecFluent.ResourcesNested withNewResourcesLike(V1ResourceRequirements item);
public V1PersistentVolumeClaimSpecFluent.ResourcesNested editResources();
public V1PersistentVolumeClaimSpecFluent.ResourcesNested editOrNewResources();
public V1PersistentVolumeClaimSpecFluent.ResourcesNested editOrNewResourcesLike(V1ResourceRequirements item);
/**
* This method has been deprecated, please use method buildSelector instead.
* @return The buildable object.
*/
@Deprecated
public V1LabelSelector getSelector();
public V1LabelSelector buildSelector();
public A withSelector(V1LabelSelector selector);
public Boolean hasSelector();
public V1PersistentVolumeClaimSpecFluent.SelectorNested withNewSelector();
public V1PersistentVolumeClaimSpecFluent.SelectorNested withNewSelectorLike(V1LabelSelector item);
public V1PersistentVolumeClaimSpecFluent.SelectorNested editSelector();
public V1PersistentVolumeClaimSpecFluent.SelectorNested editOrNewSelector();
public V1PersistentVolumeClaimSpecFluent.SelectorNested editOrNewSelectorLike(V1LabelSelector item);
public String getStorageClassName();
public A withStorageClassName(String storageClassName);
public Boolean hasStorageClassName();
public String getVolumeMode();
public A withVolumeMode(String volumeMode);
public Boolean hasVolumeMode();
public String getVolumeName();
public A withVolumeName(String volumeName);
public Boolean hasVolumeName();
public interface DataSourceNested extends Nested,V1TypedLocalObjectReferenceFluent>{
public N and();
public N endDataSource();
}
public interface DataSourceRefNested extends Nested,V1TypedObjectReferenceFluent>{
public N and();
public N endDataSourceRef();
}
public interface ResourcesNested extends Nested,V1ResourceRequirementsFluent>{
public N and();
public N endResources();
}
public interface SelectorNested extends Nested,V1LabelSelectorFluent>{
public N and();
public N endSelector();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy