Class ServiceRoleBindingSpecFluentImpl<A extends ServiceRoleBindingSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- me.snowdrop.istio.api.rbac.v1alpha1.ServiceRoleBindingSpecFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,ServiceRoleBindingSpecFluent<A>
- Direct Known Subclasses:
DoneableServiceRoleBindingSpec,ServiceRoleBindingFluentImpl.SpecNestedImpl,ServiceRoleBindingSpecBuilder
public class ServiceRoleBindingSpecFluentImpl<A extends ServiceRoleBindingSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ServiceRoleBindingSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classServiceRoleBindingSpecFluentImpl.ActionsNestedImpl<N>classServiceRoleBindingSpecFluentImpl.RoleRefNestedImpl<N>classServiceRoleBindingSpecFluentImpl.SubjectsNestedImpl<N>-
Nested classes/interfaces inherited from interface me.snowdrop.istio.api.rbac.v1alpha1.ServiceRoleBindingSpecFluent
ServiceRoleBindingSpecFluent.ActionsNested<N>, ServiceRoleBindingSpecFluent.RoleRefNested<N>, ServiceRoleBindingSpecFluent.SubjectsNested<N>
-
-
Constructor Summary
Constructors Constructor Description ServiceRoleBindingSpecFluentImpl()ServiceRoleBindingSpecFluentImpl(ServiceRoleBindingSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceRoleBindingSpecFluentImpl
public ServiceRoleBindingSpecFluentImpl()
-
ServiceRoleBindingSpecFluentImpl
public ServiceRoleBindingSpecFluentImpl(ServiceRoleBindingSpec instance)
-
-
Method Detail
-
addToActions
public A addToActions(int index, AccessRule item)
- Specified by:
addToActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
setToActions
public A setToActions(int index, AccessRule item)
- Specified by:
setToActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addToActions
public A addToActions(AccessRule... items)
- Specified by:
addToActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addAllToActions
public A addAllToActions(Collection<AccessRule> items)
- Specified by:
addAllToActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeFromActions
public A removeFromActions(AccessRule... items)
- Specified by:
removeFromActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeAllFromActions
public A removeAllFromActions(Collection<AccessRule> items)
- Specified by:
removeAllFromActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeMatchingFromActions
public A removeMatchingFromActions(io.fabric8.kubernetes.api.builder.Predicate<AccessRuleBuilder> predicate)
- Specified by:
removeMatchingFromActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
getActions
@Deprecated public List<AccessRule> getActions()
Deprecated.This method has been deprecated, please use method buildActions instead.- Specified by:
getActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>- Returns:
- The buildable object.
-
buildActions
public List<AccessRule> buildActions()
- Specified by:
buildActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildAction
public AccessRule buildAction(int index)
- Specified by:
buildActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildFirstAction
public AccessRule buildFirstAction()
- Specified by:
buildFirstActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildLastAction
public AccessRule buildLastAction()
- Specified by:
buildLastActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildMatchingAction
public AccessRule buildMatchingAction(io.fabric8.kubernetes.api.builder.Predicate<AccessRuleBuilder> predicate)
- Specified by:
buildMatchingActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasMatchingAction
public Boolean hasMatchingAction(io.fabric8.kubernetes.api.builder.Predicate<AccessRuleBuilder> predicate)
- Specified by:
hasMatchingActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withActions
public A withActions(List<AccessRule> actions)
- Specified by:
withActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withActions
public A withActions(AccessRule... actions)
- Specified by:
withActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasActions
public Boolean hasActions()
- Specified by:
hasActionsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addNewAction
public ServiceRoleBindingSpecFluent.ActionsNested<A> addNewAction()
- Specified by:
addNewActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addNewActionLike
public ServiceRoleBindingSpecFluent.ActionsNested<A> addNewActionLike(AccessRule item)
- Specified by:
addNewActionLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
setNewActionLike
public ServiceRoleBindingSpecFluent.ActionsNested<A> setNewActionLike(int index, AccessRule item)
- Specified by:
setNewActionLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editAction
public ServiceRoleBindingSpecFluent.ActionsNested<A> editAction(int index)
- Specified by:
editActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editFirstAction
public ServiceRoleBindingSpecFluent.ActionsNested<A> editFirstAction()
- Specified by:
editFirstActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editLastAction
public ServiceRoleBindingSpecFluent.ActionsNested<A> editLastAction()
- Specified by:
editLastActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editMatchingAction
public ServiceRoleBindingSpecFluent.ActionsNested<A> editMatchingAction(io.fabric8.kubernetes.api.builder.Predicate<AccessRuleBuilder> predicate)
- Specified by:
editMatchingActionin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
getMode
public EnforcementMode getMode()
- Specified by:
getModein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withMode
public A withMode(EnforcementMode mode)
- Specified by:
withModein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasMode
public Boolean hasMode()
- Specified by:
hasModein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
getRole
public String getRole()
- Specified by:
getRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withRole
public A withRole(String role)
- Specified by:
withRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasRole
public Boolean hasRole()
- Specified by:
hasRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRole
public A withNewRole(String arg1)
- Specified by:
withNewRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRole
public A withNewRole(StringBuilder arg1)
- Specified by:
withNewRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRole
public A withNewRole(StringBuffer arg1)
- Specified by:
withNewRolein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
getRoleRef
@Deprecated public RoleRef getRoleRef()
Deprecated.This method has been deprecated, please use method buildRoleRef instead.- Specified by:
getRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>- Returns:
- The buildable object.
-
buildRoleRef
public RoleRef buildRoleRef()
- Specified by:
buildRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withRoleRef
public A withRoleRef(RoleRef roleRef)
- Specified by:
withRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasRoleRef
public Boolean hasRoleRef()
- Specified by:
hasRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRoleRef
public A withNewRoleRef(String kind, String name)
- Specified by:
withNewRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRoleRef
public ServiceRoleBindingSpecFluent.RoleRefNested<A> withNewRoleRef()
- Specified by:
withNewRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withNewRoleRefLike
public ServiceRoleBindingSpecFluent.RoleRefNested<A> withNewRoleRefLike(RoleRef item)
- Specified by:
withNewRoleRefLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editRoleRef
public ServiceRoleBindingSpecFluent.RoleRefNested<A> editRoleRef()
- Specified by:
editRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editOrNewRoleRef
public ServiceRoleBindingSpecFluent.RoleRefNested<A> editOrNewRoleRef()
- Specified by:
editOrNewRoleRefin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editOrNewRoleRefLike
public ServiceRoleBindingSpecFluent.RoleRefNested<A> editOrNewRoleRefLike(RoleRef item)
- Specified by:
editOrNewRoleRefLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addToSubjects
public A addToSubjects(int index, Subject item)
- Specified by:
addToSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
setToSubjects
public A setToSubjects(int index, Subject item)
- Specified by:
setToSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addToSubjects
public A addToSubjects(Subject... items)
- Specified by:
addToSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addAllToSubjects
public A addAllToSubjects(Collection<Subject> items)
- Specified by:
addAllToSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeFromSubjects
public A removeFromSubjects(Subject... items)
- Specified by:
removeFromSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeAllFromSubjects
public A removeAllFromSubjects(Collection<Subject> items)
- Specified by:
removeAllFromSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
removeMatchingFromSubjects
public A removeMatchingFromSubjects(io.fabric8.kubernetes.api.builder.Predicate<SubjectBuilder> predicate)
- Specified by:
removeMatchingFromSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
getSubjects
@Deprecated public List<Subject> getSubjects()
Deprecated.This method has been deprecated, please use method buildSubjects instead.- Specified by:
getSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>- Returns:
- The buildable object.
-
buildSubjects
public List<Subject> buildSubjects()
- Specified by:
buildSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildSubject
public Subject buildSubject(int index)
- Specified by:
buildSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildFirstSubject
public Subject buildFirstSubject()
- Specified by:
buildFirstSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildLastSubject
public Subject buildLastSubject()
- Specified by:
buildLastSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
buildMatchingSubject
public Subject buildMatchingSubject(io.fabric8.kubernetes.api.builder.Predicate<SubjectBuilder> predicate)
- Specified by:
buildMatchingSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasMatchingSubject
public Boolean hasMatchingSubject(io.fabric8.kubernetes.api.builder.Predicate<SubjectBuilder> predicate)
- Specified by:
hasMatchingSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withSubjects
public A withSubjects(List<Subject> subjects)
- Specified by:
withSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
withSubjects
public A withSubjects(Subject... subjects)
- Specified by:
withSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
hasSubjects
public Boolean hasSubjects()
- Specified by:
hasSubjectsin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addNewSubject
public ServiceRoleBindingSpecFluent.SubjectsNested<A> addNewSubject()
- Specified by:
addNewSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
addNewSubjectLike
public ServiceRoleBindingSpecFluent.SubjectsNested<A> addNewSubjectLike(Subject item)
- Specified by:
addNewSubjectLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
setNewSubjectLike
public ServiceRoleBindingSpecFluent.SubjectsNested<A> setNewSubjectLike(int index, Subject item)
- Specified by:
setNewSubjectLikein interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editSubject
public ServiceRoleBindingSpecFluent.SubjectsNested<A> editSubject(int index)
- Specified by:
editSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editFirstSubject
public ServiceRoleBindingSpecFluent.SubjectsNested<A> editFirstSubject()
- Specified by:
editFirstSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editLastSubject
public ServiceRoleBindingSpecFluent.SubjectsNested<A> editLastSubject()
- Specified by:
editLastSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
editMatchingSubject
public ServiceRoleBindingSpecFluent.SubjectsNested<A> editMatchingSubject(io.fabric8.kubernetes.api.builder.Predicate<SubjectBuilder> predicate)
- Specified by:
editMatchingSubjectin interfaceServiceRoleBindingSpecFluent<A extends ServiceRoleBindingSpecFluent<A>>
-
-