All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V2beta1HorizontalPodAutoscalerSpecFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.kubernetes.client.fluent.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

public interface V2beta1HorizontalPodAutoscalerSpecFluent> extends Fluent {


    public Integer getMaxReplicas();
    public A withMaxReplicas(Integer maxReplicas);
    public Boolean hasMaxReplicas();
    public A addToMetrics(int index,V2beta1MetricSpec item);
    public A setToMetrics(int index,V2beta1MetricSpec item);
    public A addToMetrics(V2beta1MetricSpec... items);
    public A addAllToMetrics(Collection items);
    public A removeFromMetrics(V2beta1MetricSpec... items);
    public A removeAllFromMetrics(Collection items);
    public A removeMatchingFromMetrics(io.kubernetes.client.fluent.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildMetrics instead.
 * @return The buildable object.
 */
@Deprecated public List getMetrics();
    public List buildMetrics();
    public V2beta1MetricSpec buildMetric(int index);
    public V2beta1MetricSpec buildFirstMetric();
    public V2beta1MetricSpec buildLastMetric();
    public V2beta1MetricSpec buildMatchingMetric(io.kubernetes.client.fluent.Predicate predicate);
    public Boolean hasMatchingMetric(io.kubernetes.client.fluent.Predicate predicate);
    public A withMetrics(List metrics);
    public A withMetrics(V2beta1MetricSpec... metrics);
    public Boolean hasMetrics();
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested addNewMetric();
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested addNewMetricLike(V2beta1MetricSpec item);
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested setNewMetricLike(int index,V2beta1MetricSpec item);
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested editMetric(int index);
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested editFirstMetric();
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested editLastMetric();
    public V2beta1HorizontalPodAutoscalerSpecFluent.MetricsNested editMatchingMetric(io.kubernetes.client.fluent.Predicate predicate);
    public Integer getMinReplicas();
    public A withMinReplicas(Integer minReplicas);
    public Boolean hasMinReplicas();
    
/**
 * This method has been deprecated, please use method buildScaleTargetRef instead.
 * @return The buildable object.
 */
@Deprecated public V2beta1CrossVersionObjectReference getScaleTargetRef();
    public V2beta1CrossVersionObjectReference buildScaleTargetRef();
    public A withScaleTargetRef(V2beta1CrossVersionObjectReference scaleTargetRef);
    public Boolean hasScaleTargetRef();
    public V2beta1HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested withNewScaleTargetRef();
    public V2beta1HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested withNewScaleTargetRefLike(V2beta1CrossVersionObjectReference item);
    public V2beta1HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested editScaleTargetRef();
    public V2beta1HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested editOrNewScaleTargetRef();
    public V2beta1HorizontalPodAutoscalerSpecFluent.ScaleTargetRefNested editOrNewScaleTargetRefLike(V2beta1CrossVersionObjectReference item);
    public interface MetricsNested extends io.kubernetes.client.fluent.Nested,V2beta1MetricSpecFluent> {

        public N and();
        public N endMetric();    }


    public interface ScaleTargetRefNested extends io.kubernetes.client.fluent.Nested,V2beta1CrossVersionObjectReferenceFluent> {

        public N and();
        public N endScaleTargetRef();    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy