io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent Maven / Gradle / Ivy
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;
/** Generated */
public interface V2HorizontalPodAutoscalerSpecFluent<
A extends V2HorizontalPodAutoscalerSpecFluent>
extends Fluent {
/**
* This method has been deprecated, please use method buildBehavior instead.
*
* @return The buildable object.
*/
@Deprecated
public V2HorizontalPodAutoscalerBehavior getBehavior();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerBehavior buildBehavior();
public A withBehavior(
io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerBehavior behavior);
public Boolean hasBehavior();
public V2HorizontalPodAutoscalerSpecFluent.BehaviorNested withNewBehavior();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.BehaviorNested
withNewBehaviorLike(
io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerBehavior item);
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.BehaviorNested
editBehavior();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.BehaviorNested
editOrNewBehavior();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.BehaviorNested
editOrNewBehaviorLike(
io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerBehavior item);
public Integer getMaxReplicas();
public A withMaxReplicas(java.lang.Integer maxReplicas);
public java.lang.Boolean hasMaxReplicas();
public A addToMetrics(java.lang.Integer index, V2MetricSpec item);
public A setToMetrics(
java.lang.Integer index, io.kubernetes.client.openapi.models.V2MetricSpec item);
public A addToMetrics(io.kubernetes.client.openapi.models.V2MetricSpec... items);
public A addAllToMetrics(Collection items);
public A removeFromMetrics(io.kubernetes.client.openapi.models.V2MetricSpec... items);
public A removeAllFromMetrics(
java.util.Collection items);
public A removeMatchingFromMetrics(Predicate predicate);
/**
* This method has been deprecated, please use method buildMetrics instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public List getMetrics();
public java.util.List buildMetrics();
public io.kubernetes.client.openapi.models.V2MetricSpec buildMetric(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V2MetricSpec buildFirstMetric();
public io.kubernetes.client.openapi.models.V2MetricSpec buildLastMetric();
public io.kubernetes.client.openapi.models.V2MetricSpec buildMatchingMetric(
java.util.function.Predicate
predicate);
public java.lang.Boolean hasMatchingMetric(
java.util.function.Predicate
predicate);
public A withMetrics(java.util.List metrics);
public A withMetrics(io.kubernetes.client.openapi.models.V2MetricSpec... metrics);
public java.lang.Boolean hasMetrics();
public V2HorizontalPodAutoscalerSpecFluent.MetricsNested addNewMetric();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
addNewMetricLike(io.kubernetes.client.openapi.models.V2MetricSpec item);
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
setNewMetricLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V2MetricSpec item);
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
editMetric(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
editFirstMetric();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
editLastMetric();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent.MetricsNested
editMatchingMetric(
java.util.function.Predicate
predicate);
public java.lang.Integer getMinReplicas();
public A withMinReplicas(java.lang.Integer minReplicas);
public java.lang.Boolean hasMinReplicas();
/**
* This method has been deprecated, please use method buildScaleTargetRef instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V2CrossVersionObjectReference getScaleTargetRef();
public io.kubernetes.client.openapi.models.V2CrossVersionObjectReference buildScaleTargetRef();
public A withScaleTargetRef(
io.kubernetes.client.openapi.models.V2CrossVersionObjectReference scaleTargetRef);
public java.lang.Boolean hasScaleTargetRef();
public V2HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested withNewScaleTargetRef();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent
.ScaleTargetRefNested<
A>
withNewScaleTargetRefLike(
io.kubernetes.client.openapi.models.V2CrossVersionObjectReference item);
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent
.ScaleTargetRefNested<
A>
editScaleTargetRef();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent
.ScaleTargetRefNested<
A>
editOrNewScaleTargetRef();
public io.kubernetes.client.openapi.models.V2HorizontalPodAutoscalerSpecFluent
.ScaleTargetRefNested<
A>
editOrNewScaleTargetRefLike(
io.kubernetes.client.openapi.models.V2CrossVersionObjectReference item);
public interface BehaviorNested
extends Nested,
V2HorizontalPodAutoscalerBehaviorFluent<
V2HorizontalPodAutoscalerSpecFluent.BehaviorNested> {
public N and();
public N endBehavior();
}
public interface MetricsNested
extends io.kubernetes.client.fluent.Nested,
V2MetricSpecFluent> {
public N and();
public N endMetric();
}
public interface ScaleTargetRefNested
extends io.kubernetes.client.fluent.Nested,
V2CrossVersionObjectReferenceFluent<
V2HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested> {
public N and();
public N endScaleTargetRef();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy