@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-10-08T15:42:34.431Z") public class ApiRollingRestartArgs extends Object
Constructor and Description |
---|
ApiRollingRestartArgs() |
Modifier and Type | Method and Description |
---|---|
ApiRollingRestartArgs |
addRestartRoleNamesItem(String restartRoleNamesItem) |
ApiRollingRestartArgs |
addRestartRoleTypesItem(String restartRoleTypesItem) |
boolean |
equals(Object o) |
List<String> |
getRestartRoleNames()
List of specific roles to restart.
|
List<String> |
getRestartRoleTypes()
Role types to restart.
|
Integer |
getSlaveBatchSize()
Number of slave roles to restart at a time.
|
Integer |
getSlaveFailCountThreshold()
The threshold for number of slave batches that are allowed to fail to restart before the entire command is considered failed.
|
Integer |
getSleepSeconds()
Number of seconds to sleep between restarts of slave role batches.
|
Boolean |
getStaleConfigsOnly()
Restart roles with stale configs only.
|
Boolean |
getUnUpgradedOnly()
Restart roles that haven't been upgraded yet.
|
int |
hashCode() |
ApiRollingRestartArgs |
restartRoleNames(List<String> restartRoleNames) |
ApiRollingRestartArgs |
restartRoleTypes(List<String> restartRoleTypes) |
void |
setRestartRoleNames(List<String> restartRoleNames) |
void |
setRestartRoleTypes(List<String> restartRoleTypes) |
void |
setSlaveBatchSize(Integer slaveBatchSize) |
void |
setSlaveFailCountThreshold(Integer slaveFailCountThreshold) |
void |
setSleepSeconds(Integer sleepSeconds) |
void |
setStaleConfigsOnly(Boolean staleConfigsOnly) |
void |
setUnUpgradedOnly(Boolean unUpgradedOnly) |
ApiRollingRestartArgs |
slaveBatchSize(Integer slaveBatchSize) |
ApiRollingRestartArgs |
slaveFailCountThreshold(Integer slaveFailCountThreshold) |
ApiRollingRestartArgs |
sleepSeconds(Integer sleepSeconds) |
ApiRollingRestartArgs |
staleConfigsOnly(Boolean staleConfigsOnly) |
String |
toString() |
ApiRollingRestartArgs |
unUpgradedOnly(Boolean unUpgradedOnly) |
public ApiRollingRestartArgs slaveBatchSize(Integer slaveBatchSize)
public Integer getSlaveBatchSize()
public void setSlaveBatchSize(Integer slaveBatchSize)
public ApiRollingRestartArgs sleepSeconds(Integer sleepSeconds)
public Integer getSleepSeconds()
public void setSleepSeconds(Integer sleepSeconds)
public ApiRollingRestartArgs slaveFailCountThreshold(Integer slaveFailCountThreshold)
public Integer getSlaveFailCountThreshold()
public void setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
public ApiRollingRestartArgs staleConfigsOnly(Boolean staleConfigsOnly)
public Boolean getStaleConfigsOnly()
public void setStaleConfigsOnly(Boolean staleConfigsOnly)
public ApiRollingRestartArgs unUpgradedOnly(Boolean unUpgradedOnly)
public Boolean getUnUpgradedOnly()
public void setUnUpgradedOnly(Boolean unUpgradedOnly)
public ApiRollingRestartArgs restartRoleTypes(List<String> restartRoleTypes)
public ApiRollingRestartArgs addRestartRoleTypesItem(String restartRoleTypesItem)
public List<String> getRestartRoleTypes()
public ApiRollingRestartArgs restartRoleNames(List<String> restartRoleNames)
public ApiRollingRestartArgs addRestartRoleNamesItem(String restartRoleNamesItem)
public List<String> getRestartRoleNames()
Copyright © 2020. All rights reserved.