io.alauda.kubernetes.api.model.ServiceFluent 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.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
import java.lang.Deprecated;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Object;
import java.util.Map;
public interface ServiceFluent> 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 ServiceFluent.MetadataNested withNewMetadata();
public ServiceFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ServiceFluent.MetadataNested editMetadata();
public ServiceFluent.MetadataNested editOrNewMetadata();
public ServiceFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
/**
* This method has been deprecated, please use method buildSpec instead.
*/
@Deprecated public ServiceSpec getSpec();
public ServiceSpec buildSpec();
public A withSpec(ServiceSpec spec);
public Boolean hasSpec();
public ServiceFluent.SpecNested withNewSpec();
public ServiceFluent.SpecNested withNewSpecLike(ServiceSpec item);
public ServiceFluent.SpecNested editSpec();
public ServiceFluent.SpecNested editOrNewSpec();
public ServiceFluent.SpecNested editOrNewSpecLike(ServiceSpec item);
/**
* This method has been deprecated, please use method buildStatus instead.
*/
@Deprecated public ServiceStatus getStatus();
public ServiceStatus buildStatus();
public A withStatus(ServiceStatus status);
public Boolean hasStatus();
public ServiceFluent.StatusNested withNewStatus();
public ServiceFluent.StatusNested withNewStatusLike(ServiceStatus item);
public ServiceFluent.StatusNested editStatus();
public ServiceFluent.StatusNested editOrNewStatus();
public ServiceFluent.StatusNested editOrNewStatusLike(ServiceStatus item);
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface SpecNested extends io.alauda.kubernetes.api.builder.Nested,ServiceSpecFluent>{
public N and(); public N endSpec();
}
public interface StatusNested extends io.alauda.kubernetes.api.builder.Nested,ServiceStatusFluent>{
public N and(); public N endStatus();
}
}