Class DaemonSetSpec.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.extensions.v1beta1.DaemonSetSpec.Builder
-
- Enclosing class:
- DaemonSetSpec
public static class DaemonSetSpec.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DaemonSetSpec
build()
DaemonSetSpec.Builder
minReadySeconds(java.lang.Number minReadySeconds)
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.DaemonSetSpec.Builder
revisionHistoryLimit(java.lang.Number revisionHistoryLimit)
The number of old history to retain to allow rollback.DaemonSetSpec.Builder
selector(LabelSelector selector)
DaemonSetSpec.Builder
template(@NonNull PodTemplateSpec template)
DaemonSetSpec.Builder
templateGeneration(java.lang.Number templateGeneration)
DEPRECATED.java.lang.String
toString()
DaemonSetSpec.Builder
updateStrategy(DaemonSetUpdateStrategy updateStrategy)
-
-
-
Method Detail
-
minReadySeconds
public DaemonSetSpec.Builder minReadySeconds(java.lang.Number minReadySeconds)
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:
this
.
-
revisionHistoryLimit
public DaemonSetSpec.Builder revisionHistoryLimit(java.lang.Number revisionHistoryLimit)
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:
this
.
-
selector
public DaemonSetSpec.Builder selector(LabelSelector selector)
- Returns:
this
.
-
template
public DaemonSetSpec.Builder template(@NonNull @NonNull PodTemplateSpec template)
- Returns:
this
.
-
templateGeneration
public DaemonSetSpec.Builder templateGeneration(java.lang.Number templateGeneration)
DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.- Returns:
this
.
-
updateStrategy
public DaemonSetSpec.Builder updateStrategy(DaemonSetUpdateStrategy updateStrategy)
- Returns:
this
.
-
build
public DaemonSetSpec build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-