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

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

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

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

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

  public Boolean hasMetric();

  public V2ExternalMetricSourceFluent.MetricNested withNewMetric();

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

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

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

  public io.kubernetes.client.openapi.models.V2ExternalMetricSourceFluent.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 V2ExternalMetricSourceFluent.TargetNested withNewTarget();

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

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

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

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

  public interface MetricNested
      extends 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