public class ComponentStatusFluentImpl<A extends ComponentStatusFluent<A>> extends BaseFluent<A> implements ComponentStatusFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ComponentStatusFluentImpl.ConditionsNestedImpl<N> |
class |
ComponentStatusFluentImpl.MetadataNestedImpl<N> |
ComponentStatusFluent.ConditionsNested<N>, ComponentStatusFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
ComponentStatusFluentImpl() |
ComponentStatusFluentImpl(ComponentStatus instance) |
public ComponentStatusFluentImpl()
public ComponentStatusFluentImpl(ComponentStatus instance)
public String getApiVersion()
getApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A addToConditions(int index, ComponentCondition item)
addToConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A setToConditions(int index, ComponentCondition item)
setToConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A addToConditions(ComponentCondition... items)
addToConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A addAllToConditions(Collection<ComponentCondition> items)
addAllToConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A removeFromConditions(ComponentCondition... items)
removeFromConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A removeAllFromConditions(Collection<ComponentCondition> items)
removeAllFromConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A removeMatchingFromConditions(Predicate<ComponentConditionBuilder> predicate)
removeMatchingFromConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
@Deprecated public List<ComponentCondition> getConditions()
getConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public List<ComponentCondition> buildConditions()
buildConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentCondition buildCondition(int index)
buildCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentCondition buildFirstCondition()
buildFirstCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentCondition buildLastCondition()
buildLastCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentCondition buildMatchingCondition(Predicate<ComponentConditionBuilder> predicate)
buildMatchingCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public Boolean hasMatchingCondition(Predicate<ComponentConditionBuilder> predicate)
hasMatchingCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withConditions(List<ComponentCondition> conditions)
withConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withConditions(ComponentCondition... conditions)
withConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public Boolean hasConditions()
hasConditions
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A addNewCondition(String error, String message, String status, String type)
addNewCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> addNewCondition()
addNewCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> addNewConditionLike(ComponentCondition item)
addNewConditionLike
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> setNewConditionLike(int index, ComponentCondition item)
setNewConditionLike
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> editCondition(int index)
editCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> editFirstCondition()
editFirstCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> editLastCondition()
editLastCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.ConditionsNested<A> editMatchingCondition(Predicate<ComponentConditionBuilder> predicate)
editMatchingCondition
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public String getKind()
getKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withKind(String kind)
withKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public Boolean hasKind()
hasKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
public ComponentStatusFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface ComponentStatusFluent<A extends ComponentStatusFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.