Package io.fabric8.openshift.api.model
Class RollingDeploymentStrategyParams
- java.lang.Object
-
- io.fabric8.openshift.api.model.RollingDeploymentStrategyParams
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RollingDeploymentStrategyParamsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RollingDeploymentStrategyParams extends Object implements io.fabric8.kubernetes.api.builder.Editable<RollingDeploymentStrategyParamsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RollingDeploymentStrategyParams()No args constructor for use in serializationRollingDeploymentStrategyParams(Long intervalSeconds, io.fabric8.kubernetes.api.model.IntOrString maxSurge, io.fabric8.kubernetes.api.model.IntOrString maxUnavailable, LifecycleHook post, LifecycleHook pre, Long timeoutSeconds, Long updatePeriodSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RollingDeploymentStrategyParamsBuilderedit()Map<String,Object>getAdditionalProperties()LonggetIntervalSeconds()intervalSeconds is the time to wait between polling deployment status after update.io.fabric8.kubernetes.api.model.IntOrStringgetMaxSurge()RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.io.fabric8.kubernetes.api.model.IntOrStringgetMaxUnavailable()RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.LifecycleHookgetPost()RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.LifecycleHookgetPre()RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.LonggetTimeoutSeconds()timeoutSeconds is the time to wait for updates before giving up.LonggetUpdatePeriodSeconds()updatePeriodSeconds is the time to wait between individual pod updates.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetIntervalSeconds(Long intervalSeconds)intervalSeconds is the time to wait between polling deployment status after update.voidsetMaxSurge(io.fabric8.kubernetes.api.model.IntOrString maxSurge)RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.voidsetMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUnavailable)RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.voidsetPost(LifecycleHook post)RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.voidsetPre(LifecycleHook pre)RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.voidsetTimeoutSeconds(Long timeoutSeconds)timeoutSeconds is the time to wait for updates before giving up.voidsetUpdatePeriodSeconds(Long updatePeriodSeconds)updatePeriodSeconds is the time to wait between individual pod updates.RollingDeploymentStrategyParamsBuildertoBuilder()
-
-
-
Constructor Detail
-
RollingDeploymentStrategyParams
public RollingDeploymentStrategyParams()
No args constructor for use in serialization
-
RollingDeploymentStrategyParams
public RollingDeploymentStrategyParams(Long intervalSeconds, io.fabric8.kubernetes.api.model.IntOrString maxSurge, io.fabric8.kubernetes.api.model.IntOrString maxUnavailable, LifecycleHook post, LifecycleHook pre, Long timeoutSeconds, Long updatePeriodSeconds)
-
-
Method Detail
-
getIntervalSeconds
public Long getIntervalSeconds()
intervalSeconds is the time to wait between polling deployment status after update. If the value is nil, a default will be used.
-
setIntervalSeconds
public void setIntervalSeconds(Long intervalSeconds)
intervalSeconds is the time to wait between polling deployment status after update. If the value is nil, a default will be used.
-
getMaxSurge
public io.fabric8.kubernetes.api.model.IntOrString getMaxSurge()
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
setMaxSurge
public void setMaxSurge(io.fabric8.kubernetes.api.model.IntOrString maxSurge)
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
getMaxUnavailable
public io.fabric8.kubernetes.api.model.IntOrString getMaxUnavailable()
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
setMaxUnavailable
public void setMaxUnavailable(io.fabric8.kubernetes.api.model.IntOrString maxUnavailable)
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
getPost
public LifecycleHook getPost()
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
setPost
public void setPost(LifecycleHook post)
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
getPre
public LifecycleHook getPre()
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
setPre
public void setPre(LifecycleHook pre)
RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.
-
getTimeoutSeconds
public Long getTimeoutSeconds()
timeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used.
-
setTimeoutSeconds
public void setTimeoutSeconds(Long timeoutSeconds)
timeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used.
-
getUpdatePeriodSeconds
public Long getUpdatePeriodSeconds()
updatePeriodSeconds is the time to wait between individual pod updates. If the value is nil, a default will be used.
-
setUpdatePeriodSeconds
public void setUpdatePeriodSeconds(Long updatePeriodSeconds)
updatePeriodSeconds is the time to wait between individual pod updates. If the value is nil, a default will be used.
-
edit
public RollingDeploymentStrategyParamsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RollingDeploymentStrategyParamsBuilder>
-
toBuilder
public RollingDeploymentStrategyParamsBuilder toBuilder()
-
-