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

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

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

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

  public A withLabelSelector(io.kubernetes.client.openapi.models.V1LabelSelector labelSelector);

  public Boolean hasLabelSelector();

  public V1TopologySpreadConstraintFluent.LabelSelectorNested withNewLabelSelector();

  public io.kubernetes.client.openapi.models.V1TopologySpreadConstraintFluent.LabelSelectorNested
      withNewLabelSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  public io.kubernetes.client.openapi.models.V1TopologySpreadConstraintFluent.LabelSelectorNested
      editLabelSelector();

  public io.kubernetes.client.openapi.models.V1TopologySpreadConstraintFluent.LabelSelectorNested
      editOrNewLabelSelector();

  public io.kubernetes.client.openapi.models.V1TopologySpreadConstraintFluent.LabelSelectorNested
      editOrNewLabelSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  public Integer getMaxSkew();

  public A withMaxSkew(java.lang.Integer maxSkew);

  public java.lang.Boolean hasMaxSkew();

  public java.lang.Integer getMinDomains();

  public A withMinDomains(java.lang.Integer minDomains);

  public java.lang.Boolean hasMinDomains();

  public String getTopologyKey();

  public A withTopologyKey(java.lang.String topologyKey);

  public java.lang.Boolean hasTopologyKey();

  public java.lang.String getWhenUnsatisfiable();

  public A withWhenUnsatisfiable(java.lang.String whenUnsatisfiable);

  public java.lang.Boolean hasWhenUnsatisfiable();

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

    public N endLabelSelector();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy