Class ImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.operator.imageregistry.v1.ImagePrunerSpecFluent<A>
-
- Direct Known Subclasses:
ImagePrunerFluent.SpecNested,ImagePrunerSpecBuilder
public class ImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>> extends BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classImagePrunerSpecFluent.ResourcesNested<N>
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables, VISIT
-
-
Constructor Summary
Constructors Constructor Description ImagePrunerSpecFluent()ImagePrunerSpecFluent(ImagePrunerSpec instance)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
-
-
-
Constructor Detail
-
ImagePrunerSpecFluent
public ImagePrunerSpecFluent()
-
ImagePrunerSpecFluent
public ImagePrunerSpecFluent(ImagePrunerSpec instance)
-
-
Method Detail
-
addAllToTolerations
public A addAllToTolerations(Collection<Toleration> items)
-
addNewToleration
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
-
addToTolerations
public A addToTolerations(Toleration... items)
-
addToTolerations
public A addToTolerations(int index, Toleration item)
-
buildResources
public ResourceRequirements buildResources()
-
copyInstance
protected void copyInstance(ImagePrunerSpec instance)
-
editOrNewResources
public ImagePrunerSpecFluent.ResourcesNested<A> editOrNewResources()
-
editOrNewResourcesLike
public ImagePrunerSpecFluent.ResourcesNested<A> editOrNewResourcesLike(ResourceRequirements item)
-
editResources
public ImagePrunerSpecFluent.ResourcesNested<A> editResources()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseFluent<A extends ImagePrunerSpecFluent<A>>
-
getAffinity
public Affinity getAffinity()
-
getFailedJobsHistoryLimit
public Integer getFailedJobsHistoryLimit()
-
getFirstToleration
public Toleration getFirstToleration()
-
getIgnoreInvalidImageReferences
public Boolean getIgnoreInvalidImageReferences()
-
getKeepTagRevisions
public Integer getKeepTagRevisions()
-
getKeepYoungerThan
public Long getKeepYoungerThan()
-
getKeepYoungerThanDuration
public String getKeepYoungerThanDuration()
-
getLastToleration
public Toleration getLastToleration()
-
getLogLevel
public String getLogLevel()
-
getMatchingToleration
public Toleration getMatchingToleration(Predicate<Toleration> predicate)
-
getSchedule
public String getSchedule()
-
getSuccessfulJobsHistoryLimit
public Integer getSuccessfulJobsHistoryLimit()
-
getSuspend
public Boolean getSuspend()
-
getToleration
public Toleration getToleration(int index)
-
getTolerations
public List<Toleration> getTolerations()
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
hasAffinity
public boolean hasAffinity()
-
hasFailedJobsHistoryLimit
public boolean hasFailedJobsHistoryLimit()
-
hasIgnoreInvalidImageReferences
public boolean hasIgnoreInvalidImageReferences()
-
hasKeepTagRevisions
public boolean hasKeepTagRevisions()
-
hasKeepYoungerThan
public boolean hasKeepYoungerThan()
-
hasKeepYoungerThanDuration
public boolean hasKeepYoungerThanDuration()
-
hasLogLevel
public boolean hasLogLevel()
-
hasMatchingToleration
public boolean hasMatchingToleration(Predicate<Toleration> predicate)
-
hasNodeSelector
public boolean hasNodeSelector()
-
hasResources
public boolean hasResources()
-
hasSchedule
public boolean hasSchedule()
-
hasSuccessfulJobsHistoryLimit
public boolean hasSuccessfulJobsHistoryLimit()
-
hasSuspend
public boolean hasSuspend()
-
hasTolerations
public boolean hasTolerations()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseFluent<A extends ImagePrunerSpecFluent<A>>
-
removeAllFromTolerations
public A removeAllFromTolerations(Collection<Toleration> items)
-
removeFromTolerations
public A removeFromTolerations(Toleration... items)
-
setToTolerations
public A setToTolerations(int index, Toleration item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
withIgnoreInvalidImageReferences
public A withIgnoreInvalidImageReferences()
-
withIgnoreInvalidImageReferences
public A withIgnoreInvalidImageReferences(Boolean ignoreInvalidImageReferences)
-
withNewResources
public ImagePrunerSpecFluent.ResourcesNested<A> withNewResources()
-
withNewResourcesLike
public ImagePrunerSpecFluent.ResourcesNested<A> withNewResourcesLike(ResourceRequirements item)
-
withResources
public A withResources(ResourceRequirements resources)
-
withSuccessfulJobsHistoryLimit
public A withSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
-
withSuspend
public A withSuspend()
-
withTolerations
public A withTolerations(List<Toleration> tolerations)
-
withTolerations
public A withTolerations(Toleration... tolerations)
-
-