@Generated(value="org.jsonschema2pojo") public class RollingDeploymentStrategyParams extends Object
Constructor and Description |
---|
RollingDeploymentStrategyParams()
No args constructor for use in serialization
|
RollingDeploymentStrategyParams(Long intervalSeconds,
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
|
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 |
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, LifecycleHook post, LifecycleHook pre, Long timeoutSeconds, Integer updatePercent, Long updatePeriodSeconds)
timeoutSeconds
- post
- intervalSeconds
- pre
- updatePercent
- updatePeriodSeconds
- public Long getIntervalSeconds()
public void setIntervalSeconds(Long intervalSeconds)
intervalSeconds
- The intervalSecondspublic 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.