Class KubeSchedulerStatusFluentImpl<A extends KubeSchedulerStatusFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.operator.v1.KubeSchedulerStatusFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,KubeSchedulerStatusFluent<A>
- Direct Known Subclasses:
KubeSchedulerFluentImpl.StatusNestedImpl,KubeSchedulerStatusBuilder
public class KubeSchedulerStatusFluentImpl<A extends KubeSchedulerStatusFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements KubeSchedulerStatusFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classKubeSchedulerStatusFluentImpl.ConditionsNestedImpl<N>classKubeSchedulerStatusFluentImpl.GenerationsNestedImpl<N>classKubeSchedulerStatusFluentImpl.NodeStatusesNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.openshift.api.model.operator.v1.KubeSchedulerStatusFluent
KubeSchedulerStatusFluent.ConditionsNested<N>, KubeSchedulerStatusFluent.GenerationsNested<N>, KubeSchedulerStatusFluent.NodeStatusesNested<N>
-
-
Constructor Summary
Constructors Constructor Description KubeSchedulerStatusFluentImpl()KubeSchedulerStatusFluentImpl(KubeSchedulerStatus instance)
-
Method Summary
-
-
-
Constructor Detail
-
KubeSchedulerStatusFluentImpl
public KubeSchedulerStatusFluentImpl()
-
KubeSchedulerStatusFluentImpl
public KubeSchedulerStatusFluentImpl(KubeSchedulerStatus instance)
-
-
Method Detail
-
addToConditions
public A addToConditions(int index, OperatorCondition item)
- Specified by:
addToConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setToConditions
public A setToConditions(int index, OperatorCondition item)
- Specified by:
setToConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addToConditions
public A addToConditions(OperatorCondition... items)
- Specified by:
addToConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addAllToConditions
public A addAllToConditions(Collection<OperatorCondition> items)
- Specified by:
addAllToConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeFromConditions
public A removeFromConditions(OperatorCondition... items)
- Specified by:
removeFromConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeAllFromConditions
public A removeAllFromConditions(Collection<OperatorCondition> items)
- Specified by:
removeAllFromConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeMatchingFromConditions
public A removeMatchingFromConditions(Predicate<OperatorConditionBuilder> predicate)
- Specified by:
removeMatchingFromConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getConditions
@Deprecated public List<OperatorCondition> getConditions()
Deprecated.This method has been deprecated, please use method buildConditions instead.- Specified by:
getConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>- Returns:
- The buildable object.
-
buildConditions
public List<OperatorCondition> buildConditions()
- Specified by:
buildConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildCondition
public OperatorCondition buildCondition(int index)
- Specified by:
buildConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildFirstCondition
public OperatorCondition buildFirstCondition()
- Specified by:
buildFirstConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildLastCondition
public OperatorCondition buildLastCondition()
- Specified by:
buildLastConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildMatchingCondition
public OperatorCondition buildMatchingCondition(Predicate<OperatorConditionBuilder> predicate)
- Specified by:
buildMatchingConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasMatchingCondition
public Boolean hasMatchingCondition(Predicate<OperatorConditionBuilder> predicate)
- Specified by:
hasMatchingConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withConditions
public A withConditions(List<OperatorCondition> conditions)
- Specified by:
withConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withConditions
public A withConditions(OperatorCondition... conditions)
- Specified by:
withConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasConditions
public Boolean hasConditions()
- Specified by:
hasConditionsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewCondition
public A addNewCondition(String lastTransitionTime, String message, String reason, String status, String type)
- Specified by:
addNewConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewCondition
public KubeSchedulerStatusFluent.ConditionsNested<A> addNewCondition()
- Specified by:
addNewConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewConditionLike
public KubeSchedulerStatusFluent.ConditionsNested<A> addNewConditionLike(OperatorCondition item)
- Specified by:
addNewConditionLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setNewConditionLike
public KubeSchedulerStatusFluent.ConditionsNested<A> setNewConditionLike(int index, OperatorCondition item)
- Specified by:
setNewConditionLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editCondition
public KubeSchedulerStatusFluent.ConditionsNested<A> editCondition(int index)
- Specified by:
editConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editFirstCondition
public KubeSchedulerStatusFluent.ConditionsNested<A> editFirstCondition()
- Specified by:
editFirstConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editLastCondition
public KubeSchedulerStatusFluent.ConditionsNested<A> editLastCondition()
- Specified by:
editLastConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editMatchingCondition
public KubeSchedulerStatusFluent.ConditionsNested<A> editMatchingCondition(Predicate<OperatorConditionBuilder> predicate)
- Specified by:
editMatchingConditionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addToGenerations
public A addToGenerations(int index, GenerationStatus item)
- Specified by:
addToGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setToGenerations
public A setToGenerations(int index, GenerationStatus item)
- Specified by:
setToGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addToGenerations
public A addToGenerations(GenerationStatus... items)
- Specified by:
addToGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addAllToGenerations
public A addAllToGenerations(Collection<GenerationStatus> items)
- Specified by:
addAllToGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeFromGenerations
public A removeFromGenerations(GenerationStatus... items)
- Specified by:
removeFromGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeAllFromGenerations
public A removeAllFromGenerations(Collection<GenerationStatus> items)
- Specified by:
removeAllFromGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeMatchingFromGenerations
public A removeMatchingFromGenerations(Predicate<GenerationStatusBuilder> predicate)
- Specified by:
removeMatchingFromGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getGenerations
@Deprecated public List<GenerationStatus> getGenerations()
Deprecated.This method has been deprecated, please use method buildGenerations instead.- Specified by:
getGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>- Returns:
- The buildable object.
-
buildGenerations
public List<GenerationStatus> buildGenerations()
- Specified by:
buildGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildGeneration
public GenerationStatus buildGeneration(int index)
- Specified by:
buildGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildFirstGeneration
public GenerationStatus buildFirstGeneration()
- Specified by:
buildFirstGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildLastGeneration
public GenerationStatus buildLastGeneration()
- Specified by:
buildLastGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildMatchingGeneration
public GenerationStatus buildMatchingGeneration(Predicate<GenerationStatusBuilder> predicate)
- Specified by:
buildMatchingGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasMatchingGeneration
public Boolean hasMatchingGeneration(Predicate<GenerationStatusBuilder> predicate)
- Specified by:
hasMatchingGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withGenerations
public A withGenerations(List<GenerationStatus> generations)
- Specified by:
withGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withGenerations
public A withGenerations(GenerationStatus... generations)
- Specified by:
withGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasGenerations
public Boolean hasGenerations()
- Specified by:
hasGenerationsin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewGeneration
public KubeSchedulerStatusFluent.GenerationsNested<A> addNewGeneration()
- Specified by:
addNewGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewGenerationLike
public KubeSchedulerStatusFluent.GenerationsNested<A> addNewGenerationLike(GenerationStatus item)
- Specified by:
addNewGenerationLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setNewGenerationLike
public KubeSchedulerStatusFluent.GenerationsNested<A> setNewGenerationLike(int index, GenerationStatus item)
- Specified by:
setNewGenerationLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editGeneration
public KubeSchedulerStatusFluent.GenerationsNested<A> editGeneration(int index)
- Specified by:
editGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editFirstGeneration
public KubeSchedulerStatusFluent.GenerationsNested<A> editFirstGeneration()
- Specified by:
editFirstGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editLastGeneration
public KubeSchedulerStatusFluent.GenerationsNested<A> editLastGeneration()
- Specified by:
editLastGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editMatchingGeneration
public KubeSchedulerStatusFluent.GenerationsNested<A> editMatchingGeneration(Predicate<GenerationStatusBuilder> predicate)
- Specified by:
editMatchingGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getLatestAvailableRevision
public Integer getLatestAvailableRevision()
- Specified by:
getLatestAvailableRevisionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withLatestAvailableRevision
public A withLatestAvailableRevision(Integer latestAvailableRevision)
- Specified by:
withLatestAvailableRevisionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasLatestAvailableRevision
public Boolean hasLatestAvailableRevision()
- Specified by:
hasLatestAvailableRevisionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getLatestAvailableRevisionReason
public String getLatestAvailableRevisionReason()
- Specified by:
getLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withLatestAvailableRevisionReason
public A withLatestAvailableRevisionReason(String latestAvailableRevisionReason)
- Specified by:
withLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasLatestAvailableRevisionReason
public Boolean hasLatestAvailableRevisionReason()
- Specified by:
hasLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewLatestAvailableRevisionReason
public A withNewLatestAvailableRevisionReason(String arg1)
- Specified by:
withNewLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewLatestAvailableRevisionReason
public A withNewLatestAvailableRevisionReason(StringBuilder arg1)
- Specified by:
withNewLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewLatestAvailableRevisionReason
public A withNewLatestAvailableRevisionReason(StringBuffer arg1)
- Specified by:
withNewLatestAvailableRevisionReasonin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addToNodeStatuses
public A addToNodeStatuses(int index, NodeStatus item)
- Specified by:
addToNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setToNodeStatuses
public A setToNodeStatuses(int index, NodeStatus item)
- Specified by:
setToNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addToNodeStatuses
public A addToNodeStatuses(NodeStatus... items)
- Specified by:
addToNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addAllToNodeStatuses
public A addAllToNodeStatuses(Collection<NodeStatus> items)
- Specified by:
addAllToNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeFromNodeStatuses
public A removeFromNodeStatuses(NodeStatus... items)
- Specified by:
removeFromNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeAllFromNodeStatuses
public A removeAllFromNodeStatuses(Collection<NodeStatus> items)
- Specified by:
removeAllFromNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
removeMatchingFromNodeStatuses
public A removeMatchingFromNodeStatuses(Predicate<NodeStatusBuilder> predicate)
- Specified by:
removeMatchingFromNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getNodeStatuses
@Deprecated public List<NodeStatus> getNodeStatuses()
Deprecated.This method has been deprecated, please use method buildNodeStatuses instead.- Specified by:
getNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>- Returns:
- The buildable object.
-
buildNodeStatuses
public List<NodeStatus> buildNodeStatuses()
- Specified by:
buildNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildNodeStatus
public NodeStatus buildNodeStatus(int index)
- Specified by:
buildNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildFirstNodeStatus
public NodeStatus buildFirstNodeStatus()
- Specified by:
buildFirstNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildLastNodeStatus
public NodeStatus buildLastNodeStatus()
- Specified by:
buildLastNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
buildMatchingNodeStatus
public NodeStatus buildMatchingNodeStatus(Predicate<NodeStatusBuilder> predicate)
- Specified by:
buildMatchingNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasMatchingNodeStatus
public Boolean hasMatchingNodeStatus(Predicate<NodeStatusBuilder> predicate)
- Specified by:
hasMatchingNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNodeStatuses
public A withNodeStatuses(List<NodeStatus> nodeStatuses)
- Specified by:
withNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNodeStatuses
public A withNodeStatuses(NodeStatus... nodeStatuses)
- Specified by:
withNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasNodeStatuses
public Boolean hasNodeStatuses()
- Specified by:
hasNodeStatusesin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewNodeStatus
public KubeSchedulerStatusFluent.NodeStatusesNested<A> addNewNodeStatus()
- Specified by:
addNewNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
addNewNodeStatusLike
public KubeSchedulerStatusFluent.NodeStatusesNested<A> addNewNodeStatusLike(NodeStatus item)
- Specified by:
addNewNodeStatusLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
setNewNodeStatusLike
public KubeSchedulerStatusFluent.NodeStatusesNested<A> setNewNodeStatusLike(int index, NodeStatus item)
- Specified by:
setNewNodeStatusLikein interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editNodeStatus
public KubeSchedulerStatusFluent.NodeStatusesNested<A> editNodeStatus(int index)
- Specified by:
editNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editFirstNodeStatus
public KubeSchedulerStatusFluent.NodeStatusesNested<A> editFirstNodeStatus()
- Specified by:
editFirstNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editLastNodeStatus
public KubeSchedulerStatusFluent.NodeStatusesNested<A> editLastNodeStatus()
- Specified by:
editLastNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
editMatchingNodeStatus
public KubeSchedulerStatusFluent.NodeStatusesNested<A> editMatchingNodeStatus(Predicate<NodeStatusBuilder> predicate)
- Specified by:
editMatchingNodeStatusin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getObservedGeneration
public Long getObservedGeneration()
- Specified by:
getObservedGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withObservedGeneration
public A withObservedGeneration(Long observedGeneration)
- Specified by:
withObservedGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasObservedGeneration
public Boolean hasObservedGeneration()
- Specified by:
hasObservedGenerationin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getReadyReplicas
public Integer getReadyReplicas()
- Specified by:
getReadyReplicasin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withReadyReplicas
public A withReadyReplicas(Integer readyReplicas)
- Specified by:
withReadyReplicasin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasReadyReplicas
public Boolean hasReadyReplicas()
- Specified by:
hasReadyReplicasin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withVersion
public A withVersion(String version)
- Specified by:
withVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
hasVersion
public Boolean hasVersion()
- Specified by:
hasVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewVersion
public A withNewVersion(String arg1)
- Specified by:
withNewVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewVersion
public A withNewVersion(StringBuilder arg1)
- Specified by:
withNewVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
withNewVersion
public A withNewVersion(StringBuffer arg1)
- Specified by:
withNewVersionin interfaceKubeSchedulerStatusFluent<A extends KubeSchedulerStatusFluent<A>>
-
-