io.alauda.devops.api.model.DeploymentStrategyFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.model.ResourceRequirementsBuilder;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.model.ResourceRequirements;
import java.lang.Deprecated;
import io.alauda.kubernetes.api.model.ResourceRequirementsFluent;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Long;
import java.lang.Object;
import java.util.Map;
public interface DeploymentStrategyFluent> extends Fluent{
public Long getActiveDeadlineSeconds();
public A withActiveDeadlineSeconds(Long activeDeadlineSeconds);
public Boolean hasActiveDeadlineSeconds();
public A addToAnnotations(String key,String value);
public A addToAnnotations(Map map);
public A removeFromAnnotations(String key);
public A removeFromAnnotations(Map map);
public Map getAnnotations();
public A withAnnotations(Map annotations);
public Boolean hasAnnotations();
/**
* This method has been deprecated, please use method buildCustomParams instead.
*/
@Deprecated public CustomDeploymentStrategyParams getCustomParams();
public CustomDeploymentStrategyParams buildCustomParams();
public A withCustomParams(CustomDeploymentStrategyParams customParams);
public Boolean hasCustomParams();
public DeploymentStrategyFluent.CustomParamsNested withNewCustomParams();
public DeploymentStrategyFluent.CustomParamsNested withNewCustomParamsLike(CustomDeploymentStrategyParams item);
public DeploymentStrategyFluent.CustomParamsNested editCustomParams();
public DeploymentStrategyFluent.CustomParamsNested editOrNewCustomParams();
public DeploymentStrategyFluent.CustomParamsNested editOrNewCustomParamsLike(CustomDeploymentStrategyParams item);
public A addToLabels(String key,String value);
public A addToLabels(Map map);
public A removeFromLabels(String key);
public A removeFromLabels(Map map);
public Map getLabels();
public A withLabels(Map labels);
public Boolean hasLabels();
/**
* This method has been deprecated, please use method buildRecreateParams instead.
*/
@Deprecated public RecreateDeploymentStrategyParams getRecreateParams();
public RecreateDeploymentStrategyParams buildRecreateParams();
public A withRecreateParams(RecreateDeploymentStrategyParams recreateParams);
public Boolean hasRecreateParams();
public DeploymentStrategyFluent.RecreateParamsNested withNewRecreateParams();
public DeploymentStrategyFluent.RecreateParamsNested withNewRecreateParamsLike(RecreateDeploymentStrategyParams item);
public DeploymentStrategyFluent.RecreateParamsNested editRecreateParams();
public DeploymentStrategyFluent.RecreateParamsNested editOrNewRecreateParams();
public DeploymentStrategyFluent.RecreateParamsNested editOrNewRecreateParamsLike(RecreateDeploymentStrategyParams item);
/**
* This method has been deprecated, please use method buildResources instead.
*/
@Deprecated public ResourceRequirements getResources();
public ResourceRequirements buildResources();
public A withResources(ResourceRequirements resources);
public Boolean hasResources();
public DeploymentStrategyFluent.ResourcesNested withNewResources();
public DeploymentStrategyFluent.ResourcesNested withNewResourcesLike(ResourceRequirements item);
public DeploymentStrategyFluent.ResourcesNested editResources();
public DeploymentStrategyFluent.ResourcesNested editOrNewResources();
public DeploymentStrategyFluent.ResourcesNested editOrNewResourcesLike(ResourceRequirements item);
/**
* This method has been deprecated, please use method buildRollingParams instead.
*/
@Deprecated public RollingDeploymentStrategyParams getRollingParams();
public RollingDeploymentStrategyParams buildRollingParams();
public A withRollingParams(RollingDeploymentStrategyParams rollingParams);
public Boolean hasRollingParams();
public DeploymentStrategyFluent.RollingParamsNested withNewRollingParams();
public DeploymentStrategyFluent.RollingParamsNested withNewRollingParamsLike(RollingDeploymentStrategyParams item);
public DeploymentStrategyFluent.RollingParamsNested editRollingParams();
public DeploymentStrategyFluent.RollingParamsNested editOrNewRollingParams();
public DeploymentStrategyFluent.RollingParamsNested editOrNewRollingParamsLike(RollingDeploymentStrategyParams item);
public String getType();
public A withType(String type);
public Boolean hasType();
public interface CustomParamsNested extends io.alauda.kubernetes.api.builder.Nested,CustomDeploymentStrategyParamsFluent>{
public N and(); public N endCustomParams();
}
public interface RecreateParamsNested extends io.alauda.kubernetes.api.builder.Nested,RecreateDeploymentStrategyParamsFluent>{
public N and(); public N endRecreateParams();
}
public interface ResourcesNested extends io.alauda.kubernetes.api.builder.Nested,ResourceRequirementsFluent>{
public N and(); public N endResources();
}
public interface RollingParamsNested extends io.alauda.kubernetes.api.builder.Nested,RollingDeploymentStrategyParamsFluent>{
public N and(); public N endRollingParams();
}
}