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

io.kubernetes.client.openapi.models.V2MetricSpecFluent 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.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;

/** Generated */
public interface V2MetricSpecFluent> extends Fluent {

  /**
   * This method has been deprecated, please use method buildContainerResource instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V2ContainerResourceMetricSource getContainerResource();

  public io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource
      buildContainerResource();

  public A withContainerResource(
      io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource containerResource);

  public Boolean hasContainerResource();

  public V2MetricSpecFluent.ContainerResourceNested withNewContainerResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ContainerResourceNested
      withNewContainerResourceLike(
          io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item);

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ContainerResourceNested
      editContainerResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ContainerResourceNested
      editOrNewContainerResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ContainerResourceNested
      editOrNewContainerResourceLike(
          io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item);

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

  public io.kubernetes.client.openapi.models.V2ExternalMetricSource buildExternal();

  public A withExternal(io.kubernetes.client.openapi.models.V2ExternalMetricSource external);

  public java.lang.Boolean hasExternal();

  public V2MetricSpecFluent.ExternalNested withNewExternal();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ExternalNested
      withNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item);

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ExternalNested editExternal();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ExternalNested
      editOrNewExternal();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ExternalNested
      editOrNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item);

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

  public io.kubernetes.client.openapi.models.V2ObjectMetricSource buildObject();

  public A withObject(io.kubernetes.client.openapi.models.V2ObjectMetricSource _object);

  public java.lang.Boolean hasObject();

  public V2MetricSpecFluent.ObjectNested withNewObject();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ObjectNested withNewObjectLike(
      io.kubernetes.client.openapi.models.V2ObjectMetricSource item);

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ObjectNested editObject();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ObjectNested editOrNewObject();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ObjectNested editOrNewObjectLike(
      io.kubernetes.client.openapi.models.V2ObjectMetricSource item);

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

  public io.kubernetes.client.openapi.models.V2PodsMetricSource buildPods();

  public A withPods(io.kubernetes.client.openapi.models.V2PodsMetricSource pods);

  public java.lang.Boolean hasPods();

  public V2MetricSpecFluent.PodsNested withNewPods();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.PodsNested withNewPodsLike(
      io.kubernetes.client.openapi.models.V2PodsMetricSource item);

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.PodsNested editPods();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.PodsNested editOrNewPods();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.PodsNested editOrNewPodsLike(
      io.kubernetes.client.openapi.models.V2PodsMetricSource item);

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

  public io.kubernetes.client.openapi.models.V2ResourceMetricSource buildResource();

  public A withResource(io.kubernetes.client.openapi.models.V2ResourceMetricSource resource);

  public java.lang.Boolean hasResource();

  public V2MetricSpecFluent.ResourceNested withNewResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ResourceNested
      withNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item);

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ResourceNested editResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ResourceNested
      editOrNewResource();

  public io.kubernetes.client.openapi.models.V2MetricSpecFluent.ResourceNested
      editOrNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item);

  public String getType();

  public A withType(java.lang.String type);

  public java.lang.Boolean hasType();

  public interface ContainerResourceNested
      extends Nested,
          V2ContainerResourceMetricSourceFluent> {
    public N and();

    public N endContainerResource();
  }

  public interface ExternalNested
      extends io.kubernetes.client.fluent.Nested,
          V2ExternalMetricSourceFluent> {
    public N and();

    public N endExternal();
  }

  public interface ObjectNested
      extends io.kubernetes.client.fluent.Nested,
          V2ObjectMetricSourceFluent> {
    public N and();

    public N endObject();
  }

  public interface PodsNested
      extends io.kubernetes.client.fluent.Nested,
          V2PodsMetricSourceFluent> {
    public N and();

    public N endPods();
  }

  public interface ResourceNested
      extends io.kubernetes.client.fluent.Nested,
          V2ResourceMetricSourceFluent> {
    public N and();

    public N endResource();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy