annotations.io.alauda.kubernetes.api.model.PodAffinityTermFluent 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 PodAffinityTermFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildLabelSelector instead.
*/
@Deprecated public LabelSelector getLabelSelector();
public LabelSelector buildLabelSelector();
public A withLabelSelector(LabelSelector labelSelector);
public Boolean hasLabelSelector();
public PodAffinityTermFluent.LabelSelectorNested withNewLabelSelector();
public PodAffinityTermFluent.LabelSelectorNested withNewLabelSelectorLike(LabelSelector item);
public PodAffinityTermFluent.LabelSelectorNested editLabelSelector();
public PodAffinityTermFluent.LabelSelectorNested editOrNewLabelSelector();
public PodAffinityTermFluent.LabelSelectorNested editOrNewLabelSelectorLike(LabelSelector item);
public A addToNamespaces(int index,String item);
public A setToNamespaces(int index,String item);
public A addToNamespaces(String... items);
public A addAllToNamespaces(Collection items);
public A removeFromNamespaces(String... items);
public A removeAllFromNamespaces(Collection items);
public List getNamespaces();
public String getNamespace(int index);
public String getFirstNamespace();
public String getLastNamespace();
public String getMatchingNamespace(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withNamespaces(List namespaces);
public A withNamespaces(String... namespaces);
public Boolean hasNamespaces();
public String getTopologyKey();
public A withTopologyKey(String topologyKey);
public Boolean hasTopologyKey();
public interface LabelSelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endLabelSelector();
}
}