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

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

There is a newer version: 23.0.0-legacy
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 V2ObjectMetricSourceFluent>
    extends Fluent {

  /**
   * This method has been deprecated, please use method buildDescribedObject instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V2CrossVersionObjectReference getDescribedObject();

  public io.kubernetes.client.openapi.models.V2CrossVersionObjectReference buildDescribedObject();

  public A withDescribedObject(
      io.kubernetes.client.openapi.models.V2CrossVersionObjectReference describedObject);

  public Boolean hasDescribedObject();

  public V2ObjectMetricSourceFluent.DescribedObjectNested withNewDescribedObject();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.DescribedObjectNested
      withNewDescribedObjectLike(
          io.kubernetes.client.openapi.models.V2CrossVersionObjectReference item);

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.DescribedObjectNested
      editDescribedObject();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.DescribedObjectNested
      editOrNewDescribedObject();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.DescribedObjectNested
      editOrNewDescribedObjectLike(
          io.kubernetes.client.openapi.models.V2CrossVersionObjectReference item);

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

  public io.kubernetes.client.openapi.models.V2MetricIdentifier buildMetric();

  public A withMetric(io.kubernetes.client.openapi.models.V2MetricIdentifier metric);

  public java.lang.Boolean hasMetric();

  public V2ObjectMetricSourceFluent.MetricNested withNewMetric();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.MetricNested
      withNewMetricLike(io.kubernetes.client.openapi.models.V2MetricIdentifier item);

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.MetricNested
      editMetric();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.MetricNested
      editOrNewMetric();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.MetricNested
      editOrNewMetricLike(io.kubernetes.client.openapi.models.V2MetricIdentifier item);

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

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

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

  public java.lang.Boolean hasTarget();

  public V2ObjectMetricSourceFluent.TargetNested withNewTarget();

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.TargetNested
      withNewTargetLike(io.kubernetes.client.openapi.models.V2MetricTarget item);

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

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

  public io.kubernetes.client.openapi.models.V2ObjectMetricSourceFluent.TargetNested
      editOrNewTargetLike(io.kubernetes.client.openapi.models.V2MetricTarget item);

  public interface DescribedObjectNested
      extends Nested,
          V2CrossVersionObjectReferenceFluent> {
    public N and();

    public N endDescribedObject();
  }

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

    public N endMetric();
  }

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

    public N endTarget();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy