annotations.io.alauda.kubernetes.api.model.PersistentVolumeClaimSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import java.lang.Boolean;
import java.util.Map;
public interface PersistentVolumeClaimSpecFluent> 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 buildResources instead.
*/
@Deprecated public ResourceRequirements getResources();
public ResourceRequirements buildResources();
public A withResources(ResourceRequirements resources);
public Boolean hasResources();
public PersistentVolumeClaimSpecFluent.ResourcesNested withNewResources();
public PersistentVolumeClaimSpecFluent.ResourcesNested withNewResourcesLike(ResourceRequirements item);
public PersistentVolumeClaimSpecFluent.ResourcesNested editResources();
public PersistentVolumeClaimSpecFluent.ResourcesNested editOrNewResources();
public PersistentVolumeClaimSpecFluent.ResourcesNested editOrNewResourcesLike(ResourceRequirements item);
/**
* This method has been deprecated, please use method buildSelector instead.
*/
@Deprecated public LabelSelector getSelector();
public LabelSelector buildSelector();
public A withSelector(LabelSelector selector);
public Boolean hasSelector();
public PersistentVolumeClaimSpecFluent.SelectorNested withNewSelector();
public PersistentVolumeClaimSpecFluent.SelectorNested withNewSelectorLike(LabelSelector item);
public PersistentVolumeClaimSpecFluent.SelectorNested editSelector();
public PersistentVolumeClaimSpecFluent.SelectorNested editOrNewSelector();
public PersistentVolumeClaimSpecFluent.SelectorNested editOrNewSelectorLike(LabelSelector item);
public String getStorageClassName();
public A withStorageClassName(String storageClassName);
public Boolean hasStorageClassName();
public String getVolumeName();
public A withVolumeName(String volumeName);
public Boolean hasVolumeName();
public interface ResourcesNested extends io.alauda.kubernetes.api.builder.Nested,ResourceRequirementsFluent>{
public N and(); public N endResources();
}
public interface SelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endSelector();
}
}