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

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

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.util.function.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1PodAffinityFluent> extends Fluent{
  public A addToPreferredDuringSchedulingIgnoredDuringExecution(Integer index,V1WeightedPodAffinityTerm item);
  public A setToPreferredDuringSchedulingIgnoredDuringExecution(Integer index,V1WeightedPodAffinityTerm item);
  public A addToPreferredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm... items);
  public A addAllToPreferredDuringSchedulingIgnoredDuringExecution(Collection items);
  public A removeFromPreferredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm... items);
  public A removeAllFromPreferredDuringSchedulingIgnoredDuringExecution(Collection items);
  public A removeMatchingFromPreferredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildPreferredDuringSchedulingIgnoredDuringExecution instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getPreferredDuringSchedulingIgnoredDuringExecution();
  public List buildPreferredDuringSchedulingIgnoredDuringExecution();
  public V1WeightedPodAffinityTerm buildPreferredDuringSchedulingIgnoredDuringExecution(Integer index);
  public V1WeightedPodAffinityTerm buildFirstPreferredDuringSchedulingIgnoredDuringExecution();
  public V1WeightedPodAffinityTerm buildLastPreferredDuringSchedulingIgnoredDuringExecution();
  public V1WeightedPodAffinityTerm buildMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public Boolean hasMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public A withPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution);
  public A withPreferredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm... preferredDuringSchedulingIgnoredDuringExecution);
  public Boolean hasPreferredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested addNewPreferredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested addNewPreferredDuringSchedulingIgnoredDuringExecutionLike(V1WeightedPodAffinityTerm item);
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested setNewPreferredDuringSchedulingIgnoredDuringExecutionLike(Integer index,V1WeightedPodAffinityTerm item);
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested editPreferredDuringSchedulingIgnoredDuringExecution(Integer index);
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested editFirstPreferredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested editLastPreferredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested editMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public A addToRequiredDuringSchedulingIgnoredDuringExecution(Integer index,V1PodAffinityTerm item);
  public A setToRequiredDuringSchedulingIgnoredDuringExecution(Integer index,V1PodAffinityTerm item);
  public A addToRequiredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1PodAffinityTerm... items);
  public A addAllToRequiredDuringSchedulingIgnoredDuringExecution(Collection items);
  public A removeFromRequiredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1PodAffinityTerm... items);
  public A removeAllFromRequiredDuringSchedulingIgnoredDuringExecution(Collection items);
  public A removeMatchingFromRequiredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildRequiredDuringSchedulingIgnoredDuringExecution instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getRequiredDuringSchedulingIgnoredDuringExecution();
  public List buildRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityTerm buildRequiredDuringSchedulingIgnoredDuringExecution(Integer index);
  public V1PodAffinityTerm buildFirstRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityTerm buildLastRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityTerm buildMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public Boolean hasMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public A withRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution);
  public A withRequiredDuringSchedulingIgnoredDuringExecution(io.kubernetes.client.openapi.models.V1PodAffinityTerm... requiredDuringSchedulingIgnoredDuringExecution);
  public Boolean hasRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested addNewRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested addNewRequiredDuringSchedulingIgnoredDuringExecutionLike(V1PodAffinityTerm item);
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested setNewRequiredDuringSchedulingIgnoredDuringExecutionLike(Integer index,V1PodAffinityTerm item);
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested editRequiredDuringSchedulingIgnoredDuringExecution(Integer index);
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested editFirstRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested editLastRequiredDuringSchedulingIgnoredDuringExecution();
  public V1PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested editMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate predicate);
  public interface PreferredDuringSchedulingIgnoredDuringExecutionNested extends Nested,V1WeightedPodAffinityTermFluent>{
    public N and();
    public N endPreferredDuringSchedulingIgnoredDuringExecution();
    
  }
  public interface RequiredDuringSchedulingIgnoredDuringExecutionNested extends Nested,V1PodAffinityTermFluent>{
    public N and();
    public N endRequiredDuringSchedulingIgnoredDuringExecution();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy