Class V1DaemonSetSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DaemonSetSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DaemonSetSpec
extends Object
DaemonSetSpec is the specification of a daemon set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available.The number of old history to retain to allow rollback.inthashCode()minReadySeconds(Integer minReadySeconds) Set minReadySeconds in a chainable fashion.revisionHistoryLimit(Integer revisionHistoryLimit) Set revisionHistoryLimit in a chainable fashion.selector(V1LabelSelector selector) Set selector in a chainable fashion.voidsetMinReadySeconds(Integer minReadySeconds) Set the minReadySeconds property valuevoidsetRevisionHistoryLimit(Integer revisionHistoryLimit) Set the revisionHistoryLimit property valuevoidsetSelector(V1LabelSelector selector) Set the selector property valuevoidsetTemplate(V1PodTemplateSpec template) Set the template property valuevoidsetUpdateStrategy(V1DaemonSetUpdateStrategy updateStrategy) Set the updateStrategy property valuetemplate(V1PodTemplateSpec template) Set template in a chainable fashion.toString()updateStrategy(V1DaemonSetUpdateStrategy updateStrategy) Set updateStrategy in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_SELECTOR
- See Also:
-
JSON_PROPERTY_TEMPLATE
- See Also:
-
JSON_PROPERTY_MIN_READY_SECONDS
- See Also:
-
JSON_PROPERTY_REVISION_HISTORY_LIMIT
- See Also:
-
JSON_PROPERTY_UPDATE_STRATEGY
- See Also:
-
-
Constructor Details
-
V1DaemonSetSpec
-
-
Method Details
-
getSelector
- Returns:
- the selector property value
-
setSelector
Set the selector property value- Parameters:
selector- property value to set
-
selector
Set selector in a chainable fashion.- Returns:
- The same instance of V1DaemonSetSpec for chaining.
-
getTemplate
- Returns:
- the template property value
-
setTemplate
Set the template property value- Parameters:
template- property value to set
-
template
Set template in a chainable fashion.- Returns:
- The same instance of V1DaemonSetSpec for chaining.
-
getMinReadySeconds
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).- Returns:
- the minReadySeconds property value
-
setMinReadySeconds
Set the minReadySeconds property value- Parameters:
minReadySeconds- property value to set
-
minReadySeconds
Set minReadySeconds in a chainable fashion.- Returns:
- The same instance of V1DaemonSetSpec for chaining.
-
getRevisionHistoryLimit
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.- Returns:
- the revisionHistoryLimit property value
-
setRevisionHistoryLimit
Set the revisionHistoryLimit property value- Parameters:
revisionHistoryLimit- property value to set
-
revisionHistoryLimit
Set revisionHistoryLimit in a chainable fashion.- Returns:
- The same instance of V1DaemonSetSpec for chaining.
-
getUpdateStrategy
- Returns:
- the updateStrategy property value
-
setUpdateStrategy
Set the updateStrategy property value- Parameters:
updateStrategy- property value to set
-
updateStrategy
Set updateStrategy in a chainable fashion.- Returns:
- The same instance of V1DaemonSetSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-