Package io.fabric8.openshift.api.model
Class GroupRestrictionFluentImpl<A extends GroupRestrictionFluent<A>>
java.lang.Object
io.fabric8.kubernetes.api.builder.BaseFluent<A>
io.fabric8.openshift.api.model.GroupRestrictionFluentImpl<A>
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>
,io.fabric8.kubernetes.api.builder.Visitable<A>
,GroupRestrictionFluent<A>
- Direct Known Subclasses:
DoneableGroupRestriction
,GroupRestrictionBuilder
,RoleBindingRestrictionSpecFluentImpl.GrouprestrictionNestedImpl
public class GroupRestrictionFluentImpl<A extends GroupRestrictionFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements GroupRestrictionFluent<A>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GroupRestrictionFluentImpl.LabelsNestedImpl<N>
Nested classes/interfaces inherited from interface io.fabric8.openshift.api.model.GroupRestrictionFluent
GroupRestrictionFluent.LabelsNested<N>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GroupRestrictionFluentImpl()
GroupRestrictionFluentImpl(GroupRestriction instance)
-
Method Summary
Modifier and Type Method Description A
addAllToGroups(Collection<String> items)
A
addAllToLabels(Collection<io.fabric8.kubernetes.api.model.LabelSelector> items)
A
addNewGroup(String arg1)
A
addNewGroup(StringBuffer arg1)
A
addNewGroup(StringBuilder arg1)
GroupRestrictionFluent.LabelsNested<A>
addNewLabel()
GroupRestrictionFluent.LabelsNested<A>
addNewLabelLike(io.fabric8.kubernetes.api.model.LabelSelector item)
A
addToGroups(int index, String item)
A
addToGroups(String... items)
A
addToLabels(int index, io.fabric8.kubernetes.api.model.LabelSelector item)
A
addToLabels(io.fabric8.kubernetes.api.model.LabelSelector... items)
io.fabric8.kubernetes.api.model.LabelSelector
buildFirstLabel()
io.fabric8.kubernetes.api.model.LabelSelector
buildLabel(int index)
List<io.fabric8.kubernetes.api.model.LabelSelector>
buildLabels()
io.fabric8.kubernetes.api.model.LabelSelector
buildLastLabel()
io.fabric8.kubernetes.api.model.LabelSelector
buildMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)
GroupRestrictionFluent.LabelsNested<A>
editFirstLabel()
GroupRestrictionFluent.LabelsNested<A>
editLabel(int index)
GroupRestrictionFluent.LabelsNested<A>
editLastLabel()
GroupRestrictionFluent.LabelsNested<A>
editMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)
boolean
equals(Object o)
String
getFirstGroup()
String
getGroup(int index)
List<String>
getGroups()
List<io.fabric8.kubernetes.api.model.LabelSelector>
getLabels()
Deprecated.String
getLastGroup()
String
getMatchingGroup(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
Boolean
hasGroups()
Boolean
hasLabels()
Boolean
hasMatchingGroup(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
Boolean
hasMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)
A
removeAllFromGroups(Collection<String> items)
A
removeAllFromLabels(Collection<io.fabric8.kubernetes.api.model.LabelSelector> items)
A
removeFromGroups(String... items)
A
removeFromLabels(io.fabric8.kubernetes.api.model.LabelSelector... items)
A
removeMatchingFromLabels(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)
GroupRestrictionFluent.LabelsNested<A>
setNewLabelLike(int index, io.fabric8.kubernetes.api.model.LabelSelector item)
A
setToGroups(int index, String item)
A
setToLabels(int index, io.fabric8.kubernetes.api.model.LabelSelector item)
A
withGroups(String... groups)
A
withGroups(List<String> groups)
A
withLabels(io.fabric8.kubernetes.api.model.LabelSelector... labels)
A
withLabels(List<io.fabric8.kubernetes.api.model.LabelSelector> labels)
-
Constructor Details
-
GroupRestrictionFluentImpl
public GroupRestrictionFluentImpl() -
GroupRestrictionFluentImpl
-
-
Method Details
-
addToGroups
- Specified by:
addToGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
setToGroups
- Specified by:
setToGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addToGroups
- Specified by:
addToGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addAllToGroups
- Specified by:
addAllToGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
removeFromGroups
- Specified by:
removeFromGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
removeAllFromGroups
- Specified by:
removeAllFromGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getGroups
- Specified by:
getGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getGroup
- Specified by:
getGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getFirstGroup
- Specified by:
getFirstGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getLastGroup
- Specified by:
getLastGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getMatchingGroup
- Specified by:
getMatchingGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
hasMatchingGroup
- Specified by:
hasMatchingGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
withGroups
- Specified by:
withGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
withGroups
- Specified by:
withGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
hasGroups
- Specified by:
hasGroups
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addNewGroup
- Specified by:
addNewGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addNewGroup
- Specified by:
addNewGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addNewGroup
- Specified by:
addNewGroup
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addToLabels
- Specified by:
addToLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
setToLabels
- Specified by:
setToLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addToLabels
- Specified by:
addToLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addAllToLabels
- Specified by:
addAllToLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
removeFromLabels
- Specified by:
removeFromLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
removeAllFromLabels
- Specified by:
removeAllFromLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
removeMatchingFromLabels
public A removeMatchingFromLabels(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)- Specified by:
removeMatchingFromLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
getLabels
Deprecated.This method has been deprecated, please use method buildLabels instead.- Specified by:
getLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
- Returns:
- The buildable object.
-
buildLabels
- Specified by:
buildLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
buildLabel
public io.fabric8.kubernetes.api.model.LabelSelector buildLabel(int index)- Specified by:
buildLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
buildFirstLabel
public io.fabric8.kubernetes.api.model.LabelSelector buildFirstLabel()- Specified by:
buildFirstLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
buildLastLabel
public io.fabric8.kubernetes.api.model.LabelSelector buildLastLabel()- Specified by:
buildLastLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
buildMatchingLabel
public io.fabric8.kubernetes.api.model.LabelSelector buildMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)- Specified by:
buildMatchingLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
hasMatchingLabel
public Boolean hasMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)- Specified by:
hasMatchingLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
withLabels
- Specified by:
withLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
withLabels
- Specified by:
withLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
hasLabels
- Specified by:
hasLabels
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addNewLabel
- Specified by:
addNewLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
addNewLabelLike
public GroupRestrictionFluent.LabelsNested<A> addNewLabelLike(io.fabric8.kubernetes.api.model.LabelSelector item)- Specified by:
addNewLabelLike
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
setNewLabelLike
public GroupRestrictionFluent.LabelsNested<A> setNewLabelLike(int index, io.fabric8.kubernetes.api.model.LabelSelector item)- Specified by:
setNewLabelLike
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
editLabel
- Specified by:
editLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
editFirstLabel
- Specified by:
editFirstLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
editLastLabel
- Specified by:
editLastLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
editMatchingLabel
public GroupRestrictionFluent.LabelsNested<A> editMatchingLabel(io.fabric8.kubernetes.api.builder.Predicate<io.fabric8.kubernetes.api.model.LabelSelectorBuilder> predicate)- Specified by:
editMatchingLabel
in interfaceGroupRestrictionFluent<A extends GroupRestrictionFluent<A>>
-
equals
-