io.alauda.devops.api.model.GroupRestrictionFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import io.alauda.kubernetes.api.model.LabelSelectorBuilder;
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 io.alauda.kubernetes.api.model.LabelSelector;
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 io.alauda.kubernetes.api.model.LabelSelectorFluent;
import java.lang.Boolean;
import java.util.Map;
public interface GroupRestrictionFluent> extends Fluent{
public A addToGroups(int index,String item);
public A setToGroups(int index,String item);
public A addToGroups(String... items);
public A addAllToGroups(Collection items);
public A removeFromGroups(String... items);
public A removeAllFromGroups(Collection items);
public List getGroups();
public String getGroup(int index);
public String getFirstGroup();
public String getLastGroup();
public String getMatchingGroup(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withGroups(List groups);
public A withGroups(String... groups);
public Boolean hasGroups();
public A addToLabels(int index,LabelSelector item);
public A setToLabels(int index,LabelSelector item);
public A addToLabels(LabelSelector... items);
public A addAllToLabels(Collection items);
public A removeFromLabels(LabelSelector... items);
public A removeAllFromLabels(Collection items);
/**
* This method has been deprecated, please use method buildLabels instead.
*/
@Deprecated public List getLabels();
public List buildLabels();
public LabelSelector buildLabel(int index);
public LabelSelector buildFirstLabel();
public LabelSelector buildLastLabel();
public LabelSelector buildMatchingLabel(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withLabels(List labels);
public A withLabels(LabelSelector... labels);
public Boolean hasLabels();
public GroupRestrictionFluent.LabelsNested addNewLabel();
public GroupRestrictionFluent.LabelsNested addNewLabelLike(LabelSelector item);
public GroupRestrictionFluent.LabelsNested setNewLabelLike(int index,LabelSelector item);
public GroupRestrictionFluent.LabelsNested editLabel(int index);
public GroupRestrictionFluent.LabelsNested editFirstLabel();
public GroupRestrictionFluent.LabelsNested editLastLabel();
public GroupRestrictionFluent.LabelsNested editMatchingLabel(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface LabelsNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endLabel();
}
}