io.kubernetes.client.openapi.models.V1alpha1RoleFluent 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.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.kubernetes.client.fluent.Predicate;
import java.lang.StringBuffer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
public interface V1alpha1RoleFluent> extends Fluent {
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 V1alpha1RoleFluent.MetadataNested withNewMetadata();
public V1alpha1RoleFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1alpha1RoleFluent.MetadataNested editMetadata();
public V1alpha1RoleFluent.MetadataNested editOrNewMetadata();
public V1alpha1RoleFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
public A addToRules(int index,V1alpha1PolicyRule item);
public A setToRules(int index,V1alpha1PolicyRule item);
public A addToRules(V1alpha1PolicyRule... items);
public A addAllToRules(Collection items);
public A removeFromRules(V1alpha1PolicyRule... 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 V1alpha1PolicyRule buildRule(int index);
public V1alpha1PolicyRule buildFirstRule();
public V1alpha1PolicyRule buildLastRule();
public V1alpha1PolicyRule buildMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
public A withRules(List rules);
public A withRules(V1alpha1PolicyRule... rules);
public Boolean hasRules();
public V1alpha1RoleFluent.RulesNested addNewRule();
public V1alpha1RoleFluent.RulesNested addNewRuleLike(V1alpha1PolicyRule item);
public V1alpha1RoleFluent.RulesNested setNewRuleLike(int index,V1alpha1PolicyRule item);
public V1alpha1RoleFluent.RulesNested editRule(int index);
public V1alpha1RoleFluent.RulesNested editFirstRule();
public V1alpha1RoleFluent.RulesNested editLastRule();
public V1alpha1RoleFluent.RulesNested editMatchingRule(io.kubernetes.client.fluent.Predicate predicate);
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,V1alpha1PolicyRuleFluent> {
public N and();
public N endRule(); }
}