@Generated(value="org.jsonschema2pojo") public class RollingDeploymentStrategyParams extends Object implements KubernetesResource
Constructor and Description |
---|
RollingDeploymentStrategyParams()
No args constructor for use in serialization
|
RollingDeploymentStrategyParams(Long intervalSeconds,
IntOrString maxSurge,
IntOrString maxUnavailable,
LifecycleHook post,
LifecycleHook pre,
Long timeoutSeconds,
Long updatePeriodSeconds) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Long |
getIntervalSeconds() |
IntOrString |
getMaxSurge() |
IntOrString |
getMaxUnavailable() |
LifecycleHook |
getPost() |
LifecycleHook |
getPre() |
Long |
getTimeoutSeconds() |
Long |
getUpdatePeriodSeconds() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setIntervalSeconds(Long intervalSeconds) |
void |
setMaxSurge(IntOrString maxSurge) |
void |
setMaxUnavailable(IntOrString maxUnavailable) |
void |
setPost(LifecycleHook post) |
void |
setPre(LifecycleHook pre) |
void |
setTimeoutSeconds(Long timeoutSeconds) |
void |
setUpdatePeriodSeconds(Long updatePeriodSeconds) |
public RollingDeploymentStrategyParams()
public RollingDeploymentStrategyParams(Long intervalSeconds, IntOrString maxSurge, IntOrString maxUnavailable, LifecycleHook post, LifecycleHook pre, Long timeoutSeconds, Long updatePeriodSeconds)
maxSurge
- 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 Long getUpdatePeriodSeconds()
public void setUpdatePeriodSeconds(Long updatePeriodSeconds)
updatePeriodSeconds
- The updatePeriodSecondsCopyright © 2011–2018 Red Hat. All rights reserved.