public class ConstraintFluentImpl<A extends ConstraintFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ConstraintFluent<A>
| Constructor and Description |
|---|
ConstraintFluentImpl() |
ConstraintFluentImpl(Constraint instance) |
| Modifier and Type | Method and Description |
|---|---|
A |
addAllToValues(Collection<String> items) |
A |
addToValues(int index,
String item) |
A |
addToValues(String... items) |
boolean |
equals(Object o) |
String |
getFirstValue() |
String |
getKey() |
String |
getLastValue() |
String |
getMatchingValue(io.fabric8.kubernetes.api.builder.Predicate<String> predicate) |
String |
getValue(int index) |
List<String> |
getValues() |
Boolean |
hasKey() |
Boolean |
hasValues() |
A |
removeAllFromValues(Collection<String> items) |
A |
removeFromValues(String... items) |
A |
setToValues(int index,
String item) |
A |
withKey(String key) |
A |
withValues(List<String> values) |
A |
withValues(String... values) |
public ConstraintFluentImpl()
public ConstraintFluentImpl(Constraint instance)
public String getKey()
getKey in interface ConstraintFluent<A extends ConstraintFluent<A>>public A withKey(String key)
withKey in interface ConstraintFluent<A extends ConstraintFluent<A>>public Boolean hasKey()
hasKey in interface ConstraintFluent<A extends ConstraintFluent<A>>public A addToValues(int index, String item)
addToValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A setToValues(int index, String item)
setToValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A addToValues(String... items)
addToValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A addAllToValues(Collection<String> items)
addAllToValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A removeFromValues(String... items)
removeFromValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A removeAllFromValues(Collection<String> items)
removeAllFromValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public List<String> getValues()
getValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public String getValue(int index)
getValue in interface ConstraintFluent<A extends ConstraintFluent<A>>public String getFirstValue()
getFirstValue in interface ConstraintFluent<A extends ConstraintFluent<A>>public String getLastValue()
getLastValue in interface ConstraintFluent<A extends ConstraintFluent<A>>public String getMatchingValue(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
getMatchingValue in interface ConstraintFluent<A extends ConstraintFluent<A>>public A withValues(List<String> values)
withValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public A withValues(String... values)
withValues in interface ConstraintFluent<A extends ConstraintFluent<A>>public Boolean hasValues()
hasValues in interface ConstraintFluent<A extends ConstraintFluent<A>>Copyright © 2017–2018 Red Hat. All rights reserved.