@Generated(value="org.jsonschema2pojo") public class RollingDeploymentStrategyParams extends Object
Constructor and Description |
---|
RollingDeploymentStrategyParams()
No args constructor for use in serialization
|
RollingDeploymentStrategyParams(Long intervalSeconds,
IntOrString maxSurge,
IntOrString maxUnavailable,
LifecycleHook post,
LifecycleHook pre,
Long timeoutSeconds,
Integer updatePercent,
Long updatePeriodSeconds) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Long |
getIntervalSeconds()
the time to wait between polling deployment status after update
|
IntOrString |
getMaxSurge() |
IntOrString |
getMaxUnavailable() |
LifecycleHook |
getPost() |
LifecycleHook |
getPre() |
Long |
getTimeoutSeconds()
the time to wait for updates before giving up
|
Integer |
getUpdatePercent()
the percentage of replicas to scale up or down each interval (negative value switches scale order to down/up instead of up/down)
|
Long |
getUpdatePeriodSeconds()
the time to wait between individual pod updates
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setIntervalSeconds(Long intervalSeconds)
the time to wait between polling deployment status after update
|
void |
setMaxSurge(IntOrString maxSurge) |
void |
setMaxUnavailable(IntOrString maxUnavailable) |
void |
setPost(LifecycleHook post) |
void |
setPre(LifecycleHook pre) |
void |
setTimeoutSeconds(Long timeoutSeconds)
the time to wait for updates before giving up
|
void |
setUpdatePercent(Integer updatePercent)
the percentage of replicas to scale up or down each interval (negative value switches scale order to down/up instead of up/down)
|
void |
setUpdatePeriodSeconds(Long updatePeriodSeconds)
the time to wait between individual pod updates
|
public RollingDeploymentStrategyParams()
public RollingDeploymentStrategyParams(Long intervalSeconds, IntOrString maxSurge, IntOrString maxUnavailable, LifecycleHook post, LifecycleHook pre, Long timeoutSeconds, Integer updatePercent, Long updatePeriodSeconds)
maxSurge
- updatePercent
- updatePeriodSeconds
- pre
- post
- maxUnavailable
- timeoutSeconds
- intervalSeconds
- public Long getIntervalSeconds()
public void setIntervalSeconds(Long intervalSeconds)
intervalSeconds
- The intervalSecondspublic IntOrString getMaxSurge()
public void setMaxSurge(IntOrString maxSurge)
maxSurge
- The maxSurgepublic IntOrString getMaxUnavailable()
public void setMaxUnavailable(IntOrString maxUnavailable)
maxUnavailable
- The maxUnavailablepublic LifecycleHook getPost()
public void setPost(LifecycleHook post)
post
- The postpublic LifecycleHook getPre()
public void setPre(LifecycleHook pre)
pre
- The prepublic Long getTimeoutSeconds()
public void setTimeoutSeconds(Long timeoutSeconds)
timeoutSeconds
- The timeoutSecondspublic Integer getUpdatePercent()
public void setUpdatePercent(Integer updatePercent)
updatePercent
- The updatePercentpublic Long getUpdatePeriodSeconds()
public void setUpdatePeriodSeconds(Long updatePeriodSeconds)
updatePeriodSeconds
- The updatePeriodSecondsCopyright © 2011–2015 Red Hat. All rights reserved.