Class RuleFluentImpl<A extends RuleFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- me.snowdrop.istio.api.security.v1beta1.RuleFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,RuleFluent<A>
- Direct Known Subclasses:
AuthorizationPolicySpecFluentImpl.RulesNestedImpl,RuleBuilder
public class RuleFluentImpl<A extends RuleFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements RuleFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRuleFluentImpl.FromNestedImpl<N>classRuleFluentImpl.ToNestedImpl<N>classRuleFluentImpl.WhenNestedImpl<N>-
Nested classes/interfaces inherited from interface me.snowdrop.istio.api.security.v1beta1.RuleFluent
RuleFluent.FromNested<N>, RuleFluent.ToNested<N>, RuleFluent.WhenNested<N>
-
-
Constructor Summary
Constructors Constructor Description RuleFluentImpl()RuleFluentImpl(Rule instance)
-
Method Summary
-
-
-
Constructor Detail
-
RuleFluentImpl
public RuleFluentImpl()
-
RuleFluentImpl
public RuleFluentImpl(Rule instance)
-
-
Method Detail
-
addToFrom
public A addToFrom(int index, From item)
- Specified by:
addToFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
setToFrom
public A setToFrom(int index, From item)
- Specified by:
setToFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
addToFrom
public A addToFrom(From... items)
- Specified by:
addToFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
addAllToFrom
public A addAllToFrom(Collection<From> items)
- Specified by:
addAllToFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeFromFrom
public A removeFromFrom(From... items)
- Specified by:
removeFromFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeAllFromFrom
public A removeAllFromFrom(Collection<From> items)
- Specified by:
removeAllFromFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeMatchingFromFrom
public A removeMatchingFromFrom(Predicate<FromBuilder> predicate)
- Specified by:
removeMatchingFromFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
getFrom
@Deprecated public List<From> getFrom()
Deprecated.This method has been deprecated, please use method buildFrom instead.- Specified by:
getFromin interfaceRuleFluent<A extends RuleFluent<A>>- Returns:
- The buildable object.
-
buildFrom
public List<From> buildFrom()
- Specified by:
buildFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildFrom
public From buildFrom(int index)
- Specified by:
buildFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildFirstFrom
public From buildFirstFrom()
- Specified by:
buildFirstFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildLastFrom
public From buildLastFrom()
- Specified by:
buildLastFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildMatchingFrom
public From buildMatchingFrom(Predicate<FromBuilder> predicate)
- Specified by:
buildMatchingFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasMatchingFrom
public Boolean hasMatchingFrom(Predicate<FromBuilder> predicate)
- Specified by:
hasMatchingFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
withFrom
public A withFrom(List<From> from)
- Specified by:
withFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
withFrom
public A withFrom(From... from)
- Specified by:
withFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasFrom
public Boolean hasFrom()
- Specified by:
hasFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewFrom
public RuleFluent.FromNested<A> addNewFrom()
- Specified by:
addNewFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewFromLike
public RuleFluent.FromNested<A> addNewFromLike(From item)
- Specified by:
addNewFromLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
setNewFromLike
public RuleFluent.FromNested<A> setNewFromLike(int index, From item)
- Specified by:
setNewFromLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
editFrom
public RuleFluent.FromNested<A> editFrom(int index)
- Specified by:
editFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
editFirstFrom
public RuleFluent.FromNested<A> editFirstFrom()
- Specified by:
editFirstFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
editLastFrom
public RuleFluent.FromNested<A> editLastFrom()
- Specified by:
editLastFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
editMatchingFrom
public RuleFluent.FromNested<A> editMatchingFrom(Predicate<FromBuilder> predicate)
- Specified by:
editMatchingFromin interfaceRuleFluent<A extends RuleFluent<A>>
-
addToTo
public A addToTo(int index, To item)
- Specified by:
addToToin interfaceRuleFluent<A extends RuleFluent<A>>
-
setToTo
public A setToTo(int index, To item)
- Specified by:
setToToin interfaceRuleFluent<A extends RuleFluent<A>>
-
addToTo
public A addToTo(To... items)
- Specified by:
addToToin interfaceRuleFluent<A extends RuleFluent<A>>
-
addAllToTo
public A addAllToTo(Collection<To> items)
- Specified by:
addAllToToin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeFromTo
public A removeFromTo(To... items)
- Specified by:
removeFromToin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeAllFromTo
public A removeAllFromTo(Collection<To> items)
- Specified by:
removeAllFromToin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeMatchingFromTo
public A removeMatchingFromTo(Predicate<ToBuilder> predicate)
- Specified by:
removeMatchingFromToin interfaceRuleFluent<A extends RuleFluent<A>>
-
getTo
@Deprecated public List<To> getTo()
Deprecated.This method has been deprecated, please use method buildTo instead.- Specified by:
getToin interfaceRuleFluent<A extends RuleFluent<A>>- Returns:
- The buildable object.
-
buildTo
public List<To> buildTo()
- Specified by:
buildToin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildTo
public To buildTo(int index)
- Specified by:
buildToin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildFirstTo
public To buildFirstTo()
- Specified by:
buildFirstToin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildLastTo
public To buildLastTo()
- Specified by:
buildLastToin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildMatchingTo
public To buildMatchingTo(Predicate<ToBuilder> predicate)
- Specified by:
buildMatchingToin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasMatchingTo
public Boolean hasMatchingTo(Predicate<ToBuilder> predicate)
- Specified by:
hasMatchingToin interfaceRuleFluent<A extends RuleFluent<A>>
-
withTo
public A withTo(List<To> to)
- Specified by:
withToin interfaceRuleFluent<A extends RuleFluent<A>>
-
withTo
public A withTo(To... to)
- Specified by:
withToin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasTo
public Boolean hasTo()
- Specified by:
hasToin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewTo
public RuleFluent.ToNested<A> addNewTo()
- Specified by:
addNewToin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewToLike
public RuleFluent.ToNested<A> addNewToLike(To item)
- Specified by:
addNewToLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
setNewToLike
public RuleFluent.ToNested<A> setNewToLike(int index, To item)
- Specified by:
setNewToLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
editTo
public RuleFluent.ToNested<A> editTo(int index)
- Specified by:
editToin interfaceRuleFluent<A extends RuleFluent<A>>
-
editFirstTo
public RuleFluent.ToNested<A> editFirstTo()
- Specified by:
editFirstToin interfaceRuleFluent<A extends RuleFluent<A>>
-
editLastTo
public RuleFluent.ToNested<A> editLastTo()
- Specified by:
editLastToin interfaceRuleFluent<A extends RuleFluent<A>>
-
editMatchingTo
public RuleFluent.ToNested<A> editMatchingTo(Predicate<ToBuilder> predicate)
- Specified by:
editMatchingToin interfaceRuleFluent<A extends RuleFluent<A>>
-
addToWhen
public A addToWhen(int index, Condition item)
- Specified by:
addToWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
setToWhen
public A setToWhen(int index, Condition item)
- Specified by:
setToWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
addToWhen
public A addToWhen(Condition... items)
- Specified by:
addToWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
addAllToWhen
public A addAllToWhen(Collection<Condition> items)
- Specified by:
addAllToWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeFromWhen
public A removeFromWhen(Condition... items)
- Specified by:
removeFromWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeAllFromWhen
public A removeAllFromWhen(Collection<Condition> items)
- Specified by:
removeAllFromWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
removeMatchingFromWhen
public A removeMatchingFromWhen(Predicate<ConditionBuilder> predicate)
- Specified by:
removeMatchingFromWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
getWhen
@Deprecated public List<Condition> getWhen()
Deprecated.This method has been deprecated, please use method buildWhen instead.- Specified by:
getWhenin interfaceRuleFluent<A extends RuleFluent<A>>- Returns:
- The buildable object.
-
buildWhen
public List<Condition> buildWhen()
- Specified by:
buildWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildWhen
public Condition buildWhen(int index)
- Specified by:
buildWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildFirstWhen
public Condition buildFirstWhen()
- Specified by:
buildFirstWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildLastWhen
public Condition buildLastWhen()
- Specified by:
buildLastWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
buildMatchingWhen
public Condition buildMatchingWhen(Predicate<ConditionBuilder> predicate)
- Specified by:
buildMatchingWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasMatchingWhen
public Boolean hasMatchingWhen(Predicate<ConditionBuilder> predicate)
- Specified by:
hasMatchingWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
withWhen
public A withWhen(List<Condition> when)
- Specified by:
withWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
withWhen
public A withWhen(Condition... when)
- Specified by:
withWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
hasWhen
public Boolean hasWhen()
- Specified by:
hasWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewWhen
public RuleFluent.WhenNested<A> addNewWhen()
- Specified by:
addNewWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
addNewWhenLike
public RuleFluent.WhenNested<A> addNewWhenLike(Condition item)
- Specified by:
addNewWhenLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
setNewWhenLike
public RuleFluent.WhenNested<A> setNewWhenLike(int index, Condition item)
- Specified by:
setNewWhenLikein interfaceRuleFluent<A extends RuleFluent<A>>
-
editWhen
public RuleFluent.WhenNested<A> editWhen(int index)
- Specified by:
editWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
editFirstWhen
public RuleFluent.WhenNested<A> editFirstWhen()
- Specified by:
editFirstWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
editLastWhen
public RuleFluent.WhenNested<A> editLastWhen()
- Specified by:
editLastWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
editMatchingWhen
public RuleFluent.WhenNested<A> editMatchingWhen(Predicate<ConditionBuilder> predicate)
- Specified by:
editMatchingWhenin interfaceRuleFluent<A extends RuleFluent<A>>
-
-