io.alauda.kubernetes.api.model.EndpointsFluent 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 io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
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 EndpointsFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
/**
* This method has been deprecated, please use method buildMetadata instead.
*/
@Deprecated public ObjectMeta getMetadata();
public ObjectMeta buildMetadata();
public A withMetadata(ObjectMeta metadata);
public Boolean hasMetadata();
public EndpointsFluent.MetadataNested withNewMetadata();
public EndpointsFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public EndpointsFluent.MetadataNested editMetadata();
public EndpointsFluent.MetadataNested editOrNewMetadata();
public EndpointsFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToSubsets(int index,EndpointSubset item);
public A setToSubsets(int index,EndpointSubset item);
public A addToSubsets(EndpointSubset... items);
public A addAllToSubsets(Collection items);
public A removeFromSubsets(EndpointSubset... items);
public A removeAllFromSubsets(Collection items);
/**
* This method has been deprecated, please use method buildSubsets instead.
*/
@Deprecated public List getSubsets();
public List buildSubsets();
public EndpointSubset buildSubset(int index);
public EndpointSubset buildFirstSubset();
public EndpointSubset buildLastSubset();
public EndpointSubset buildMatchingSubset(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withSubsets(List subsets);
public A withSubsets(EndpointSubset... subsets);
public Boolean hasSubsets();
public EndpointsFluent.SubsetsNested addNewSubset();
public EndpointsFluent.SubsetsNested addNewSubsetLike(EndpointSubset item);
public EndpointsFluent.SubsetsNested setNewSubsetLike(int index,EndpointSubset item);
public EndpointsFluent.SubsetsNested editSubset(int index);
public EndpointsFluent.SubsetsNested editFirstSubset();
public EndpointsFluent.SubsetsNested editLastSubset();
public EndpointsFluent.SubsetsNested editMatchingSubset(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface SubsetsNested extends io.alauda.kubernetes.api.builder.Nested,EndpointSubsetFluent>{
public N and(); public N endSubset();
}
}