io.dekorate.prometheus.model.ServiceMonitorSpecFluent Maven / Gradle / Ivy
package io.dekorate.prometheus.model;
import io.dekorate.deps.kubernetes.api.model.LabelSelectorBuilder;
import io.dekorate.deps.kubernetes.api.builder.VisitableBuilder;
import io.dekorate.deps.jackson.annotation.JsonProperty;
import io.dekorate.deps.kubernetes.api.builder.Fluent;
import io.dekorate.deps.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import io.dekorate.deps.kubernetes.api.model.LabelSelector;
import java.lang.String;
import io.dekorate.deps.kubernetes.api.builder.Predicate;
import io.dekorate.deps.javax.validation.Valid;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import io.dekorate.deps.kubernetes.api.model.LabelSelectorFluent;
import java.lang.Boolean;
public interface ServiceMonitorSpecFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildSelector instead.
* @return The buildable object.
*/
@Deprecated public LabelSelector getSelector();
public LabelSelector buildSelector();
public A withSelector(LabelSelector selector);
public Boolean hasSelector();
public ServiceMonitorSpecFluent.SelectorNested withNewSelector();
public ServiceMonitorSpecFluent.SelectorNested withNewSelectorLike(LabelSelector item);
public ServiceMonitorSpecFluent.SelectorNested editSelector();
public ServiceMonitorSpecFluent.SelectorNested editOrNewSelector();
public ServiceMonitorSpecFluent.SelectorNested editOrNewSelectorLike(LabelSelector item);
public A addToEndpoints(int index,Endpoint item);
public A setToEndpoints(int index,Endpoint item);
public A addToEndpoints(Endpoint... items);
public A addAllToEndpoints(Collection items);
public A removeFromEndpoints(Endpoint... items);
public A removeAllFromEndpoints(Collection items);
public A removeMatchingFromEndpoints(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildEndpoints instead.
* @return The buildable object.
*/
@Deprecated public java.util.List getEndpoints();
public java.util.List buildEndpoints();
public Endpoint buildEndpoint(int index);
public Endpoint buildFirstEndpoint();
public Endpoint buildLastEndpoint();
public Endpoint buildMatchingEndpoint(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public Boolean hasMatchingEndpoint(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public A withEndpoints(java.util.List endpoints);
public A withEndpoints(Endpoint... endpoints);
public Boolean hasEndpoints();
public A addNewEndpoint(String port,String path,String interval,boolean honorLabels);
public ServiceMonitorSpecFluent.EndpointsNested addNewEndpoint();
public ServiceMonitorSpecFluent.EndpointsNested addNewEndpointLike(Endpoint item);
public ServiceMonitorSpecFluent.EndpointsNested setNewEndpointLike(int index,Endpoint item);
public ServiceMonitorSpecFluent.EndpointsNested editEndpoint(int index);
public ServiceMonitorSpecFluent.EndpointsNested editFirstEndpoint();
public ServiceMonitorSpecFluent.EndpointsNested editLastEndpoint();
public ServiceMonitorSpecFluent.EndpointsNested editMatchingEndpoint(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
public interface SelectorNested extends io.dekorate.deps.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endSelector();
}
public interface EndpointsNested extends io.dekorate.deps.kubernetes.api.builder.Nested,EndpointFluent>{
public N and(); public N endEndpoint();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy