Class ImagePrunerSpecFluentImpl<A extends ImagePrunerSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.operator.v1.ImagePrunerSpecFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,ImagePrunerSpecFluent<A>
- Direct Known Subclasses:
ImagePrunerFluentImpl.SpecNestedImpl,ImagePrunerSpecBuilder
public class ImagePrunerSpecFluentImpl<A extends ImagePrunerSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ImagePrunerSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classImagePrunerSpecFluentImpl.ResourcesNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.openshift.api.model.operator.v1.ImagePrunerSpecFluent
ImagePrunerSpecFluent.ResourcesNested<N>
-
-
Constructor Summary
Constructors Constructor Description ImagePrunerSpecFluentImpl()ImagePrunerSpecFluentImpl(ImagePrunerSpec instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AaddAllToTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)AaddNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)AaddToNodeSelector(String key, String value)AaddToNodeSelector(Map<String,String> map)AaddToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)AaddToTolerations(io.fabric8.kubernetes.api.model.Toleration... items)io.fabric8.kubernetes.api.model.ResourceRequirementsbuildResources()ImagePrunerSpecFluent.ResourcesNested<A>editOrNewResources()ImagePrunerSpecFluent.ResourcesNested<A>editOrNewResourcesLike(io.fabric8.kubernetes.api.model.ResourceRequirements item)ImagePrunerSpecFluent.ResourcesNested<A>editResources()booleanequals(Object o)io.fabric8.kubernetes.api.model.AffinitygetAffinity()IntegergetFailedJobsHistoryLimit()io.fabric8.kubernetes.api.model.TolerationgetFirstToleration()IntegergetKeepTagRevisions()LonggetKeepYoungerThan()io.fabric8.kubernetes.api.model.DurationgetKeepYoungerThanDuration()io.fabric8.kubernetes.api.model.TolerationgetLastToleration()io.fabric8.kubernetes.api.model.TolerationgetMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)Map<String,String>getNodeSelector()io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()Deprecated.StringgetSchedule()IntegergetSuccessfulJobsHistoryLimit()io.fabric8.kubernetes.api.model.TolerationgetToleration(int index)List<io.fabric8.kubernetes.api.model.Toleration>getTolerations()BooleanhasAffinity()BooleanhasFailedJobsHistoryLimit()inthashCode()BooleanhasIgnoreInvalidImageReferences()BooleanhasKeepTagRevisions()BooleanhasKeepYoungerThan()BooleanhasKeepYoungerThanDuration()BooleanhasMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)BooleanhasNodeSelector()BooleanhasResources()BooleanhasSchedule()BooleanhasSuccessfulJobsHistoryLimit()BooleanhasSuspend()BooleanhasTolerations()BooleanisIgnoreInvalidImageReferences()BooleanisSuspend()AremoveAllFromTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)AremoveFromNodeSelector(String key)AremoveFromNodeSelector(Map<String,String> map)AremoveFromTolerations(io.fabric8.kubernetes.api.model.Toleration... items)AsetToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)AwithAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)AwithFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)AwithIgnoreInvalidImageReferences(Boolean ignoreInvalidImageReferences)AwithKeepTagRevisions(Integer keepTagRevisions)AwithKeepYoungerThan(Long keepYoungerThan)AwithKeepYoungerThanDuration(io.fabric8.kubernetes.api.model.Duration keepYoungerThanDuration)AwithNewIgnoreInvalidImageReferences(boolean arg1)AwithNewIgnoreInvalidImageReferences(String arg1)ImagePrunerSpecFluent.ResourcesNested<A>withNewResources()ImagePrunerSpecFluent.ResourcesNested<A>withNewResourcesLike(io.fabric8.kubernetes.api.model.ResourceRequirements item)AwithNewSchedule(String arg1)AwithNewSchedule(StringBuffer arg1)AwithNewSchedule(StringBuilder arg1)AwithNewSuspend(boolean arg1)AwithNewSuspend(String arg1)AwithNodeSelector(Map<String,String> nodeSelector)AwithResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)AwithSchedule(String schedule)AwithSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)AwithSuspend(Boolean suspend)AwithTolerations(io.fabric8.kubernetes.api.model.Toleration... tolerations)AwithTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
-
-
-
Constructor Detail
-
ImagePrunerSpecFluentImpl
public ImagePrunerSpecFluentImpl()
-
ImagePrunerSpecFluentImpl
public ImagePrunerSpecFluentImpl(ImagePrunerSpec instance)
-
-
Method Detail
-
getAffinity
public io.fabric8.kubernetes.api.model.Affinity getAffinity()
- Specified by:
getAffinityin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withAffinity
public A withAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)
- Specified by:
withAffinityin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasAffinity
public Boolean hasAffinity()
- Specified by:
hasAffinityin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getFailedJobsHistoryLimit
public Integer getFailedJobsHistoryLimit()
- Specified by:
getFailedJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withFailedJobsHistoryLimit
public A withFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
- Specified by:
withFailedJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasFailedJobsHistoryLimit
public Boolean hasFailedJobsHistoryLimit()
- Specified by:
hasFailedJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
isIgnoreInvalidImageReferences
public Boolean isIgnoreInvalidImageReferences()
- Specified by:
isIgnoreInvalidImageReferencesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withIgnoreInvalidImageReferences
public A withIgnoreInvalidImageReferences(Boolean ignoreInvalidImageReferences)
- Specified by:
withIgnoreInvalidImageReferencesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasIgnoreInvalidImageReferences
public Boolean hasIgnoreInvalidImageReferences()
- Specified by:
hasIgnoreInvalidImageReferencesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewIgnoreInvalidImageReferences
public A withNewIgnoreInvalidImageReferences(String arg1)
- Specified by:
withNewIgnoreInvalidImageReferencesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewIgnoreInvalidImageReferences
public A withNewIgnoreInvalidImageReferences(boolean arg1)
- Specified by:
withNewIgnoreInvalidImageReferencesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getKeepTagRevisions
public Integer getKeepTagRevisions()
- Specified by:
getKeepTagRevisionsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withKeepTagRevisions
public A withKeepTagRevisions(Integer keepTagRevisions)
- Specified by:
withKeepTagRevisionsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasKeepTagRevisions
public Boolean hasKeepTagRevisions()
- Specified by:
hasKeepTagRevisionsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getKeepYoungerThan
public Long getKeepYoungerThan()
- Specified by:
getKeepYoungerThanin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withKeepYoungerThan
public A withKeepYoungerThan(Long keepYoungerThan)
- Specified by:
withKeepYoungerThanin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasKeepYoungerThan
public Boolean hasKeepYoungerThan()
- Specified by:
hasKeepYoungerThanin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getKeepYoungerThanDuration
public io.fabric8.kubernetes.api.model.Duration getKeepYoungerThanDuration()
- Specified by:
getKeepYoungerThanDurationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withKeepYoungerThanDuration
public A withKeepYoungerThanDuration(io.fabric8.kubernetes.api.model.Duration keepYoungerThanDuration)
- Specified by:
withKeepYoungerThanDurationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasKeepYoungerThanDuration
public Boolean hasKeepYoungerThanDuration()
- Specified by:
hasKeepYoungerThanDurationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addToNodeSelector
public A addToNodeSelector(String key, String value)
- Specified by:
addToNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addToNodeSelector
public A addToNodeSelector(Map<String,String> map)
- Specified by:
addToNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
removeFromNodeSelector
public A removeFromNodeSelector(String key)
- Specified by:
removeFromNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
removeFromNodeSelector
public A removeFromNodeSelector(Map<String,String> map)
- Specified by:
removeFromNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getNodeSelector
public Map<String,String> getNodeSelector()
- Specified by:
getNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNodeSelector
public A withNodeSelector(Map<String,String> nodeSelector)
- Specified by:
withNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasNodeSelector
public Boolean hasNodeSelector()
- Specified by:
hasNodeSelectorin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getResources
@Deprecated public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
Deprecated.This method has been deprecated, please use method buildResources instead.- Specified by:
getResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>- Returns:
- The buildable object.
-
buildResources
public io.fabric8.kubernetes.api.model.ResourceRequirements buildResources()
- Specified by:
buildResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withResources
public A withResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
- Specified by:
withResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasResources
public Boolean hasResources()
- Specified by:
hasResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewResources
public ImagePrunerSpecFluent.ResourcesNested<A> withNewResources()
- Specified by:
withNewResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewResourcesLike
public ImagePrunerSpecFluent.ResourcesNested<A> withNewResourcesLike(io.fabric8.kubernetes.api.model.ResourceRequirements item)
- Specified by:
withNewResourcesLikein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
editResources
public ImagePrunerSpecFluent.ResourcesNested<A> editResources()
- Specified by:
editResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
editOrNewResources
public ImagePrunerSpecFluent.ResourcesNested<A> editOrNewResources()
- Specified by:
editOrNewResourcesin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
editOrNewResourcesLike
public ImagePrunerSpecFluent.ResourcesNested<A> editOrNewResourcesLike(io.fabric8.kubernetes.api.model.ResourceRequirements item)
- Specified by:
editOrNewResourcesLikein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getSchedule
public String getSchedule()
- Specified by:
getSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withSchedule
public A withSchedule(String schedule)
- Specified by:
withSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasSchedule
public Boolean hasSchedule()
- Specified by:
hasSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewSchedule
public A withNewSchedule(String arg1)
- Specified by:
withNewSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewSchedule
public A withNewSchedule(StringBuilder arg1)
- Specified by:
withNewSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewSchedule
public A withNewSchedule(StringBuffer arg1)
- Specified by:
withNewSchedulein interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getSuccessfulJobsHistoryLimit
public Integer getSuccessfulJobsHistoryLimit()
- Specified by:
getSuccessfulJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withSuccessfulJobsHistoryLimit
public A withSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
- Specified by:
withSuccessfulJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasSuccessfulJobsHistoryLimit
public Boolean hasSuccessfulJobsHistoryLimit()
- Specified by:
hasSuccessfulJobsHistoryLimitin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
isSuspend
public Boolean isSuspend()
- Specified by:
isSuspendin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withSuspend
public A withSuspend(Boolean suspend)
- Specified by:
withSuspendin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasSuspend
public Boolean hasSuspend()
- Specified by:
hasSuspendin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewSuspend
public A withNewSuspend(String arg1)
- Specified by:
withNewSuspendin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withNewSuspend
public A withNewSuspend(boolean arg1)
- Specified by:
withNewSuspendin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addToTolerations
public A addToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
- Specified by:
addToTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
setToTolerations
public A setToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
- Specified by:
setToTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addToTolerations
public A addToTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
- Specified by:
addToTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addAllToTolerations
public A addAllToTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
- Specified by:
addAllToTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
removeFromTolerations
public A removeFromTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
- Specified by:
removeFromTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
removeAllFromTolerations
public A removeAllFromTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
- Specified by:
removeAllFromTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getTolerations
public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
- Specified by:
getTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getToleration
public io.fabric8.kubernetes.api.model.Toleration getToleration(int index)
- Specified by:
getTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getFirstToleration
public io.fabric8.kubernetes.api.model.Toleration getFirstToleration()
- Specified by:
getFirstTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getLastToleration
public io.fabric8.kubernetes.api.model.Toleration getLastToleration()
- Specified by:
getLastTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
getMatchingToleration
public io.fabric8.kubernetes.api.model.Toleration getMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
- Specified by:
getMatchingTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasMatchingToleration
public Boolean hasMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
- Specified by:
hasMatchingTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withTolerations
public A withTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
- Specified by:
withTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
withTolerations
public A withTolerations(io.fabric8.kubernetes.api.model.Toleration... tolerations)
- Specified by:
withTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
hasTolerations
public Boolean hasTolerations()
- Specified by:
hasTolerationsin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
addNewToleration
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
- Specified by:
addNewTolerationin interfaceImagePrunerSpecFluent<A extends ImagePrunerSpecFluent<A>>
-
-