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

io.kubernetes.client.openapi.models.V1ClusterRoleFluent 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 com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1ClusterRoleFluent> extends Fluent{
  
  /**
   * This method has been deprecated, please use method buildAggregationRule instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1AggregationRule getAggregationRule();
  public V1AggregationRule buildAggregationRule();
  public A withAggregationRule(V1AggregationRule aggregationRule);
  public Boolean hasAggregationRule();
  public V1ClusterRoleFluent.AggregationRuleNested withNewAggregationRule();
  public V1ClusterRoleFluent.AggregationRuleNested withNewAggregationRuleLike(V1AggregationRule item);
  public V1ClusterRoleFluent.AggregationRuleNested editAggregationRule();
  public V1ClusterRoleFluent.AggregationRuleNested editOrNewAggregationRule();
  public V1ClusterRoleFluent.AggregationRuleNested editOrNewAggregationRuleLike(V1AggregationRule item);
  public String getApiVersion();
  public A withApiVersion(String apiVersion);
  public Boolean hasApiVersion();
  public String getKind();
  public A withKind(String kind);
  public Boolean hasKind();
  
  /**
   * This method has been deprecated, please use method buildMetadata instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1ObjectMeta getMetadata();
  public V1ObjectMeta buildMetadata();
  public A withMetadata(V1ObjectMeta metadata);
  public Boolean hasMetadata();
  public V1ClusterRoleFluent.MetadataNested withNewMetadata();
  public V1ClusterRoleFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
  public V1ClusterRoleFluent.MetadataNested editMetadata();
  public V1ClusterRoleFluent.MetadataNested editOrNewMetadata();
  public V1ClusterRoleFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
  public A addToRules(int index,V1PolicyRule item);
  public A setToRules(int index,V1PolicyRule item);
  public A addToRules(io.kubernetes.client.openapi.models.V1PolicyRule... items);
  public A addAllToRules(Collection items);
  public A removeFromRules(io.kubernetes.client.openapi.models.V1PolicyRule... items);
  public A removeAllFromRules(Collection items);
  public A removeMatchingFromRules(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildRules instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getRules();
  public List buildRules();
  public V1PolicyRule buildRule(int index);
  public V1PolicyRule buildFirstRule();
  public V1PolicyRule buildLastRule();
  public V1PolicyRule buildMatchingRule(Predicate predicate);
  public Boolean hasMatchingRule(Predicate predicate);
  public A withRules(List rules);
  public A withRules(io.kubernetes.client.openapi.models.V1PolicyRule... rules);
  public Boolean hasRules();
  public V1ClusterRoleFluent.RulesNested addNewRule();
  public V1ClusterRoleFluent.RulesNested addNewRuleLike(V1PolicyRule item);
  public V1ClusterRoleFluent.RulesNested setNewRuleLike(int index,V1PolicyRule item);
  public V1ClusterRoleFluent.RulesNested editRule(int index);
  public V1ClusterRoleFluent.RulesNested editFirstRule();
  public V1ClusterRoleFluent.RulesNested editLastRule();
  public V1ClusterRoleFluent.RulesNested editMatchingRule(Predicate predicate);
  public interface AggregationRuleNested extends Nested,V1AggregationRuleFluent>{
    public N and();
    public N endAggregationRule();
    
  }
  public interface MetadataNested extends Nested,V1ObjectMetaFluent>{
    public N and();
    public N endMetadata();
    
  }
  public interface RulesNested extends Nested,V1PolicyRuleFluent>{
    public N and();
    public N endRule();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy