Class HPAScalingRulesFluentImpl<A extends HPAScalingRulesFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta2.HPAScalingRulesFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,HPAScalingRulesFluent<A>
- Direct Known Subclasses:
HorizontalPodAutoscalerBehaviorFluentImpl.ScaleDownNestedImpl,HorizontalPodAutoscalerBehaviorFluentImpl.ScaleUpNestedImpl,HPAScalingRulesBuilder
public class HPAScalingRulesFluentImpl<A extends HPAScalingRulesFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements HPAScalingRulesFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classHPAScalingRulesFluentImpl.PoliciesNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.autoscaling.v2beta2.HPAScalingRulesFluent
HPAScalingRulesFluent.PoliciesNested<N>
-
-
Constructor Summary
Constructors Constructor Description HPAScalingRulesFluentImpl()HPAScalingRulesFluentImpl(HPAScalingRules instance)
-
Method Summary
-
-
-
Constructor Detail
-
HPAScalingRulesFluentImpl
public HPAScalingRulesFluentImpl()
-
HPAScalingRulesFluentImpl
public HPAScalingRulesFluentImpl(HPAScalingRules instance)
-
-
Method Detail
-
addToPolicies
public A addToPolicies(int index, HPAScalingPolicy item)
- Specified by:
addToPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
setToPolicies
public A setToPolicies(int index, HPAScalingPolicy item)
- Specified by:
setToPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
addToPolicies
public A addToPolicies(HPAScalingPolicy... items)
- Specified by:
addToPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
addAllToPolicies
public A addAllToPolicies(Collection<HPAScalingPolicy> items)
- Specified by:
addAllToPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
removeFromPolicies
public A removeFromPolicies(HPAScalingPolicy... items)
- Specified by:
removeFromPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
removeAllFromPolicies
public A removeAllFromPolicies(Collection<HPAScalingPolicy> items)
- Specified by:
removeAllFromPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
removeMatchingFromPolicies
public A removeMatchingFromPolicies(Predicate<HPAScalingPolicyBuilder> predicate)
- Specified by:
removeMatchingFromPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
getPolicies
@Deprecated public List<HPAScalingPolicy> getPolicies()
Deprecated.This method has been deprecated, please use method buildPolicies instead.- Specified by:
getPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>- Returns:
- The buildable object.
-
buildPolicies
public List<HPAScalingPolicy> buildPolicies()
- Specified by:
buildPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
buildPolicy
public HPAScalingPolicy buildPolicy(int index)
- Specified by:
buildPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
buildFirstPolicy
public HPAScalingPolicy buildFirstPolicy()
- Specified by:
buildFirstPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
buildLastPolicy
public HPAScalingPolicy buildLastPolicy()
- Specified by:
buildLastPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
buildMatchingPolicy
public HPAScalingPolicy buildMatchingPolicy(Predicate<HPAScalingPolicyBuilder> predicate)
- Specified by:
buildMatchingPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
hasMatchingPolicy
public Boolean hasMatchingPolicy(Predicate<HPAScalingPolicyBuilder> predicate)
- Specified by:
hasMatchingPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withPolicies
public A withPolicies(List<HPAScalingPolicy> policies)
- Specified by:
withPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withPolicies
public A withPolicies(HPAScalingPolicy... policies)
- Specified by:
withPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
hasPolicies
public Boolean hasPolicies()
- Specified by:
hasPoliciesin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
addNewPolicy
public A addNewPolicy(Integer periodSeconds, String type, Integer value)
- Specified by:
addNewPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
addNewPolicy
public HPAScalingRulesFluent.PoliciesNested<A> addNewPolicy()
- Specified by:
addNewPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
addNewPolicyLike
public HPAScalingRulesFluent.PoliciesNested<A> addNewPolicyLike(HPAScalingPolicy item)
- Specified by:
addNewPolicyLikein interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
setNewPolicyLike
public HPAScalingRulesFluent.PoliciesNested<A> setNewPolicyLike(int index, HPAScalingPolicy item)
- Specified by:
setNewPolicyLikein interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
editPolicy
public HPAScalingRulesFluent.PoliciesNested<A> editPolicy(int index)
- Specified by:
editPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
editFirstPolicy
public HPAScalingRulesFluent.PoliciesNested<A> editFirstPolicy()
- Specified by:
editFirstPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
editLastPolicy
public HPAScalingRulesFluent.PoliciesNested<A> editLastPolicy()
- Specified by:
editLastPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
editMatchingPolicy
public HPAScalingRulesFluent.PoliciesNested<A> editMatchingPolicy(Predicate<HPAScalingPolicyBuilder> predicate)
- Specified by:
editMatchingPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
getSelectPolicy
public String getSelectPolicy()
- Specified by:
getSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withSelectPolicy
public A withSelectPolicy(String selectPolicy)
- Specified by:
withSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
hasSelectPolicy
public Boolean hasSelectPolicy()
- Specified by:
hasSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withNewSelectPolicy
public A withNewSelectPolicy(String arg1)
- Specified by:
withNewSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withNewSelectPolicy
public A withNewSelectPolicy(StringBuilder arg1)
- Specified by:
withNewSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withNewSelectPolicy
public A withNewSelectPolicy(StringBuffer arg1)
- Specified by:
withNewSelectPolicyin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
getStabilizationWindowSeconds
public Integer getStabilizationWindowSeconds()
- Specified by:
getStabilizationWindowSecondsin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
withStabilizationWindowSeconds
public A withStabilizationWindowSeconds(Integer stabilizationWindowSeconds)
- Specified by:
withStabilizationWindowSecondsin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
hasStabilizationWindowSeconds
public Boolean hasStabilizationWindowSeconds()
- Specified by:
hasStabilizationWindowSecondsin interfaceHPAScalingRulesFluent<A extends HPAScalingRulesFluent<A>>
-
-