Package io.fabric8.openshift.api.model
Class UserRestrictionFluent<A extends UserRestrictionFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.UserRestrictionFluent<A>
-
- Direct Known Subclasses:
RoleBindingRestrictionSpecFluent.UserrestrictionNested,UserRestrictionBuilder
public class UserRestrictionFluent<A extends UserRestrictionFluent<A>> extends BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classUserRestrictionFluent.LabelsNested<N>
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables, VISIT
-
-
Constructor Summary
Constructors Constructor Description UserRestrictionFluent()UserRestrictionFluent(UserRestriction instance)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
-
-
-
Constructor Detail
-
UserRestrictionFluent
public UserRestrictionFluent()
-
UserRestrictionFluent
public UserRestrictionFluent(UserRestriction instance)
-
-
Method Detail
-
addAllToGroups
public A addAllToGroups(Collection<String> items)
-
addAllToLabels
public A addAllToLabels(Collection<LabelSelector> items)
-
addAllToUsers
public A addAllToUsers(Collection<String> items)
-
addNewLabel
public UserRestrictionFluent.LabelsNested<A> addNewLabel()
-
addNewLabelLike
public UserRestrictionFluent.LabelsNested<A> addNewLabelLike(LabelSelector item)
-
addToLabels
public A addToLabels(LabelSelector... items)
-
addToLabels
public A addToLabels(int index, LabelSelector item)
-
buildFirstLabel
public LabelSelector buildFirstLabel()
-
buildLabel
public LabelSelector buildLabel(int index)
-
buildLabels
public List<LabelSelector> buildLabels()
-
buildLastLabel
public LabelSelector buildLastLabel()
-
buildMatchingLabel
public LabelSelector buildMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
-
copyInstance
protected void copyInstance(UserRestriction instance)
-
editFirstLabel
public UserRestrictionFluent.LabelsNested<A> editFirstLabel()
-
editLabel
public UserRestrictionFluent.LabelsNested<A> editLabel(int index)
-
editLastLabel
public UserRestrictionFluent.LabelsNested<A> editLastLabel()
-
editMatchingLabel
public UserRestrictionFluent.LabelsNested<A> editMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseFluent<A extends UserRestrictionFluent<A>>
-
getFirstGroup
public String getFirstGroup()
-
getFirstUser
public String getFirstUser()
-
getGroup
public String getGroup(int index)
-
getLastGroup
public String getLastGroup()
-
getLastUser
public String getLastUser()
-
getUser
public String getUser(int index)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
hasGroups
public boolean hasGroups()
-
hasLabels
public boolean hasLabels()
-
hasMatchingLabel
public boolean hasMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
-
hasUsers
public boolean hasUsers()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseFluent<A extends UserRestrictionFluent<A>>
-
removeAllFromGroups
public A removeAllFromGroups(Collection<String> items)
-
removeAllFromLabels
public A removeAllFromLabels(Collection<LabelSelector> items)
-
removeAllFromUsers
public A removeAllFromUsers(Collection<String> items)
-
removeFromLabels
public A removeFromLabels(LabelSelector... items)
-
removeMatchingFromLabels
public A removeMatchingFromLabels(Predicate<LabelSelectorBuilder> predicate)
-
setNewLabelLike
public UserRestrictionFluent.LabelsNested<A> setNewLabelLike(int index, LabelSelector item)
-
setToLabels
public A setToLabels(int index, LabelSelector item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
withLabels
public A withLabels(List<LabelSelector> labels)
-
withLabels
public A withLabels(LabelSelector... labels)
-
-