io.kubernetes.client.openapi.models.V1beta1ClusterRoleFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.kubernetes.client.fluent.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.List;
import java.lang.Boolean;
import io.kubernetes.client.fluent.Fluent;
import java.lang.StringBuffer;
import java.util.Collection;
public interface V1beta1ClusterRoleFluent> extends Fluent {
/**
* This method has been deprecated, please use method buildAggregationRule instead.
* @return The buildable object.
*/
@Deprecated public V1beta1AggregationRule getAggregationRule();
public V1beta1AggregationRule buildAggregationRule();
public A withAggregationRule(V1beta1AggregationRule aggregationRule);
public Boolean hasAggregationRule();
public V1beta1ClusterRoleFluent.AggregationRuleNested withNewAggregationRule();
public V1beta1ClusterRoleFluent.AggregationRuleNested withNewAggregationRuleLike(V1beta1AggregationRule item);
public V1beta1ClusterRoleFluent.AggregationRuleNested editAggregationRule();
public V1beta1ClusterRoleFluent.AggregationRuleNested editOrNewAggregationRule();
public V1beta1ClusterRoleFluent.AggregationRuleNested editOrNewAggregationRuleLike(V1beta1AggregationRule item);
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public A withNewApiVersion(String arg1);
public A withNewApiVersion(StringBuilder arg1);
public A withNewApiVersion(StringBuffer arg1);
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
public A withNewKind(String arg1);
public A withNewKind(StringBuilder arg1);
public A withNewKind(StringBuffer arg1);
/**
* 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 V1beta1ClusterRoleFluent.MetadataNested withNewMetadata();
public V1beta1ClusterRoleFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1beta1ClusterRoleFluent.MetadataNested editMetadata();
public V1beta1ClusterRoleFluent.MetadataNested editOrNewMetadata();
public V1beta1ClusterRoleFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
public A addToRules(int index,V1beta1PolicyRule item);
public A setToRules(int index,V1beta1PolicyRule item);
public A addToRules(V1beta1PolicyRule... items);
public A addAllToRules(Collection items);
public A removeFromRules(V1beta1PolicyRule... items);
public A removeAllFromRules(Collection items);
public A removeMatchingFromRules(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildRules instead.
* @return The buildable object.
*/
@Deprecated public List getRules();
public List buildRules();
public V1beta1PolicyRule buildRule(int index);
public V1beta1PolicyRule buildFirstRule();
public V1beta1PolicyRule buildLastRule();
public V1beta1PolicyRule buildMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
public A withRules(List rules);
public A withRules(V1beta1PolicyRule... rules);
public Boolean hasRules();
public V1beta1ClusterRoleFluent.RulesNested addNewRule();
public V1beta1ClusterRoleFluent.RulesNested addNewRuleLike(V1beta1PolicyRule item);
public V1beta1ClusterRoleFluent.RulesNested setNewRuleLike(int index,V1beta1PolicyRule item);
public V1beta1ClusterRoleFluent.RulesNested editRule(int index);
public V1beta1ClusterRoleFluent.RulesNested editFirstRule();
public V1beta1ClusterRoleFluent.RulesNested editLastRule();
public V1beta1ClusterRoleFluent.RulesNested editMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
public interface AggregationRuleNested extends io.kubernetes.client.fluent.Nested,V1beta1AggregationRuleFluent> {
public N and();
public N endAggregationRule(); }
public interface MetadataNested extends io.kubernetes.client.fluent.Nested,V1ObjectMetaFluent> {
public N and();
public N endMetadata(); }
public interface RulesNested extends io.kubernetes.client.fluent.Nested,V1beta1PolicyRuleFluent> {
public N and();
public N endRule(); }
}