Class DaemonSetSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.extensions.v1beta1.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, LabelSelector selector, @NonNull PodTemplateSpec template, java.lang.Number templateGeneration, 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.LabelSelector
getSelector()
@NonNull PodTemplateSpec
getTemplate()
java.lang.Number
getTemplateGeneration()
DEPRECATED.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(LabelSelector selector)
void
setTemplate(@NonNull PodTemplateSpec template)
void
setTemplateGeneration(java.lang.Number templateGeneration)
DEPRECATED.void
setUpdateStrategy(DaemonSetUpdateStrategy updateStrategy)
DaemonSetSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DaemonSetSpec
public DaemonSetSpec(java.lang.Number minReadySeconds, java.lang.Number revisionHistoryLimit, LabelSelector selector, @NonNull @NonNull PodTemplateSpec template, java.lang.Number templateGeneration, 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
public LabelSelector getSelector()
-
getTemplate
@NonNull public @NonNull PodTemplateSpec getTemplate()
-
getTemplateGeneration
public java.lang.Number getTemplateGeneration()
DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
-
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(LabelSelector selector)
-
setTemplate
public void setTemplate(@NonNull @NonNull PodTemplateSpec template)
-
setTemplateGeneration
public void setTemplateGeneration(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.
-
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
-
-