Class DaemonSetSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1.DaemonSetSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class DaemonSetSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
DaemonSetSpec is the specification of a daemon set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DaemonSetSpec.Builder
-
Constructor Summary
Constructors Constructor Description DaemonSetSpec()
DaemonSetSpec(java.lang.Number minReadySeconds, java.lang.Number revisionHistoryLimit, @NonNull LabelSelector selector, @NonNull PodTemplateSpec template, DaemonSetUpdateStrategy updateStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DaemonSetSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
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.java.lang.Number
getRevisionHistoryLimit()
The number of old history to retain to allow rollback.@NonNull LabelSelector
getSelector()
@NonNull PodTemplateSpec
getTemplate()
DaemonSetUpdateStrategy
getUpdateStrategy()
int
hashCode()
void
setMinReadySeconds(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.void
setRevisionHistoryLimit(java.lang.Number revisionHistoryLimit)
The number of old history to retain to allow rollback.void
setSelector(@NonNull LabelSelector selector)
void
setTemplate(@NonNull PodTemplateSpec template)
void
setUpdateStrategy(DaemonSetUpdateStrategy updateStrategy)
DaemonSetSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DaemonSetSpec
public DaemonSetSpec(java.lang.Number minReadySeconds, java.lang.Number revisionHistoryLimit, @NonNull @NonNull LabelSelector selector, @NonNull @NonNull PodTemplateSpec template, DaemonSetUpdateStrategy updateStrategy)
-
DaemonSetSpec
public DaemonSetSpec()
-
-
Method Detail
-
builder
public static DaemonSetSpec.Builder builder()
-
toBuilder
public DaemonSetSpec.Builder toBuilder()
-
getMinReadySeconds
public java.lang.Number 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).
-
getRevisionHistoryLimit
public java.lang.Number 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.
-
getSelector
@NonNull public @NonNull LabelSelector getSelector()
-
getTemplate
@NonNull public @NonNull PodTemplateSpec getTemplate()
-
getUpdateStrategy
public DaemonSetUpdateStrategy getUpdateStrategy()
-
setMinReadySeconds
public void setMinReadySeconds(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).
-
setRevisionHistoryLimit
public void setRevisionHistoryLimit(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.
-
setSelector
public void setSelector(@NonNull @NonNull LabelSelector selector)
-
setTemplate
public void setTemplate(@NonNull @NonNull PodTemplateSpec template)
-
setUpdateStrategy
public void setUpdateStrategy(DaemonSetUpdateStrategy updateStrategy)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-