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

io.kubernetes.client.openapi.models.V2MetricStatusFluent 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 V2MetricStatusFluent> extends Fluent {

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

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

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

  public Boolean hasContainerResource();

  public V2MetricStatusFluent.ContainerResourceNested withNewContainerResource();

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ContainerResourceNested
      withNewContainerResourceLike(
          io.kubernetes.client.openapi.models.V2ContainerResourceMetricStatus item);

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

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

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ContainerResourceNested
      editOrNewContainerResourceLike(
          io.kubernetes.client.openapi.models.V2ContainerResourceMetricStatus item);

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

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

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

  public java.lang.Boolean hasExternal();

  public V2MetricStatusFluent.ExternalNested withNewExternal();

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ExternalNested
      withNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricStatus item);

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

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

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ExternalNested
      editOrNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricStatus item);

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

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

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

  public java.lang.Boolean hasObject();

  public V2MetricStatusFluent.ObjectNested withNewObject();

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ObjectNested withNewObjectLike(
      io.kubernetes.client.openapi.models.V2ObjectMetricStatus item);

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

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

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ObjectNested
      editOrNewObjectLike(io.kubernetes.client.openapi.models.V2ObjectMetricStatus item);

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

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

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

  public java.lang.Boolean hasPods();

  public V2MetricStatusFluent.PodsNested withNewPods();

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.PodsNested withNewPodsLike(
      io.kubernetes.client.openapi.models.V2PodsMetricStatus item);

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

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

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.PodsNested editOrNewPodsLike(
      io.kubernetes.client.openapi.models.V2PodsMetricStatus item);

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

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

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

  public java.lang.Boolean hasResource();

  public V2MetricStatusFluent.ResourceNested withNewResource();

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ResourceNested
      withNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricStatus item);

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

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

  public io.kubernetes.client.openapi.models.V2MetricStatusFluent.ResourceNested
      editOrNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricStatus item);

  public String getType();

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

  public java.lang.Boolean hasType();

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

    public N endContainerResource();
  }

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

    public N endExternal();
  }

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

    public N endObject();
  }

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

    public N endPods();
  }

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

    public N endResource();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy