io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.policy;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.model.IntOrString;
import io.alauda.kubernetes.api.builder.Nested;
import com.fasterxml.jackson.databind.JsonSerializer;
import java.lang.String;
import com.fasterxml.jackson.databind.JsonDeserializer;
import io.alauda.kubernetes.api.model.IntOrStringBuilder;
import java.lang.Deprecated;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.SerializerProvider;
import java.lang.Boolean;
import java.lang.Override;
import com.fasterxml.jackson.core.JsonParser;
import io.alauda.kubernetes.api.model.LabelSelectorBuilder;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.LabelSelector;
import io.alauda.kubernetes.api.model.IntOrStringFluent;
import java.lang.Integer;
import javax.validation.Valid;
import java.lang.Object;
import io.alauda.kubernetes.api.model.LabelSelectorFluent;
import java.util.Map;
public interface PodDisruptionBudgetSpecFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildMaxUnavailable instead.
*/
@Deprecated public IntOrString getMaxUnavailable();
public IntOrString buildMaxUnavailable();
public A withMaxUnavailable(IntOrString maxUnavailable);
public Boolean hasMaxUnavailable();
public PodDisruptionBudgetSpecFluent.MaxUnavailableNested withNewMaxUnavailable();
public PodDisruptionBudgetSpecFluent.MaxUnavailableNested withNewMaxUnavailableLike(IntOrString item);
public PodDisruptionBudgetSpecFluent.MaxUnavailableNested editMaxUnavailable();
public PodDisruptionBudgetSpecFluent.MaxUnavailableNested editOrNewMaxUnavailable();
public PodDisruptionBudgetSpecFluent.MaxUnavailableNested editOrNewMaxUnavailableLike(IntOrString item);
public A withNewMaxUnavailable(Integer intVal);
public A withNewMaxUnavailable(String strVal);
/**
* This method has been deprecated, please use method buildMinAvailable instead.
*/
@Deprecated public IntOrString getMinAvailable();
public IntOrString buildMinAvailable();
public A withMinAvailable(IntOrString minAvailable);
public Boolean hasMinAvailable();
public PodDisruptionBudgetSpecFluent.MinAvailableNested withNewMinAvailable();
public PodDisruptionBudgetSpecFluent.MinAvailableNested withNewMinAvailableLike(IntOrString item);
public PodDisruptionBudgetSpecFluent.MinAvailableNested editMinAvailable();
public PodDisruptionBudgetSpecFluent.MinAvailableNested editOrNewMinAvailable();
public PodDisruptionBudgetSpecFluent.MinAvailableNested editOrNewMinAvailableLike(IntOrString item);
public A withNewMinAvailable(Integer intVal);
public A withNewMinAvailable(String strVal);
/**
* 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 PodDisruptionBudgetSpecFluent.SelectorNested withNewSelector();
public PodDisruptionBudgetSpecFluent.SelectorNested withNewSelectorLike(LabelSelector item);
public PodDisruptionBudgetSpecFluent.SelectorNested editSelector();
public PodDisruptionBudgetSpecFluent.SelectorNested editOrNewSelector();
public PodDisruptionBudgetSpecFluent.SelectorNested editOrNewSelectorLike(LabelSelector item);
public interface MaxUnavailableNested extends io.alauda.kubernetes.api.builder.Nested,IntOrStringFluent>{
public N and(); public N endMaxUnavailable();
}
public interface MinAvailableNested extends io.alauda.kubernetes.api.builder.Nested,IntOrStringFluent>{
public N and(); public N endMinAvailable();
}
public interface SelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endSelector();
}
}