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

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

There is a newer version: 22.0.0
Show newest version
/*
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.custom.Quantity;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;

/** Generated */
public interface V2beta1ObjectMetricSourceFluent>
    extends Fluent {
  public Quantity getAverageValue();

  public A withAverageValue(io.kubernetes.client.custom.Quantity averageValue);

  public Boolean hasAverageValue();

  public A withNewAverageValue(String value);

  public java.lang.String getMetricName();

  public A withMetricName(java.lang.String metricName);

  public java.lang.Boolean hasMetricName();

  /**
   * This method has been deprecated, please use method buildSelector instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1LabelSelector getSelector();

  public io.kubernetes.client.openapi.models.V1LabelSelector buildSelector();

  public A withSelector(io.kubernetes.client.openapi.models.V1LabelSelector selector);

  public java.lang.Boolean hasSelector();

  public V2beta1ObjectMetricSourceFluent.SelectorNested withNewSelector();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.SelectorNested
      withNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.SelectorNested
      editSelector();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.SelectorNested
      editOrNewSelector();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.SelectorNested
      editOrNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  /**
   * This method has been deprecated, please use method buildTarget instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V2beta1CrossVersionObjectReference getTarget();

  public io.kubernetes.client.openapi.models.V2beta1CrossVersionObjectReference buildTarget();

  public A withTarget(
      io.kubernetes.client.openapi.models.V2beta1CrossVersionObjectReference target);

  public java.lang.Boolean hasTarget();

  public V2beta1ObjectMetricSourceFluent.TargetNested withNewTarget();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.TargetNested
      withNewTargetLike(
          io.kubernetes.client.openapi.models.V2beta1CrossVersionObjectReference item);

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.TargetNested
      editTarget();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.TargetNested
      editOrNewTarget();

  public io.kubernetes.client.openapi.models.V2beta1ObjectMetricSourceFluent.TargetNested
      editOrNewTargetLike(
          io.kubernetes.client.openapi.models.V2beta1CrossVersionObjectReference item);

  public io.kubernetes.client.custom.Quantity getTargetValue();

  public A withTargetValue(io.kubernetes.client.custom.Quantity targetValue);

  public java.lang.Boolean hasTargetValue();

  public A withNewTargetValue(java.lang.String value);

  public interface SelectorNested
      extends Nested, V1LabelSelectorFluent> {
    public N and();

    public N endSelector();
  }

  public interface TargetNested
      extends io.kubernetes.client.fluent.Nested,
          V2beta1CrossVersionObjectReferenceFluent<
              V2beta1ObjectMetricSourceFluent.TargetNested> {
    public N and();

    public N endTarget();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy