io.alauda.kubernetes.api.model.extensions.ScaleFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
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 io.alauda.kubernetes.api.model.ObjectMetaFluent;
import java.lang.Deprecated;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import java.lang.Integer;
import javax.validation.Valid;
import java.lang.Object;
import java.util.Map;
public interface ScaleFluent> 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 ScaleFluent.MetadataNested withNewMetadata();
public ScaleFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ScaleFluent.MetadataNested editMetadata();
public ScaleFluent.MetadataNested editOrNewMetadata();
public ScaleFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
/**
* This method has been deprecated, please use method buildSpec instead.
*/
@Deprecated public ScaleSpec getSpec();
public ScaleSpec buildSpec();
public A withSpec(ScaleSpec spec);
public Boolean hasSpec();
public ScaleFluent.SpecNested withNewSpec();
public ScaleFluent.SpecNested withNewSpecLike(ScaleSpec item);
public ScaleFluent.SpecNested editSpec();
public ScaleFluent.SpecNested editOrNewSpec();
public ScaleFluent.SpecNested editOrNewSpecLike(ScaleSpec item);
public A withNewSpec(Integer replicas);
/**
* This method has been deprecated, please use method buildStatus instead.
*/
@Deprecated public ScaleStatus getStatus();
public ScaleStatus buildStatus();
public A withStatus(ScaleStatus status);
public Boolean hasStatus();
public ScaleFluent.StatusNested withNewStatus();
public ScaleFluent.StatusNested withNewStatusLike(ScaleStatus item);
public ScaleFluent.StatusNested editStatus();
public ScaleFluent.StatusNested editOrNewStatus();
public ScaleFluent.StatusNested editOrNewStatusLike(ScaleStatus 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,ScaleSpecFluent>{
public N and(); public N endSpec();
}
public interface StatusNested extends io.alauda.kubernetes.api.builder.Nested,ScaleStatusFluent>{
public N and(); public N endStatus();
}
}