io.kubernetes.client.openapi.models.V1beta1ClusterRoleBindingFluent 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 V1beta1ClusterRoleBindingFluent> 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 V1beta1ClusterRoleBindingFluent.MetadataNested withNewMetadata();
public V1beta1ClusterRoleBindingFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1beta1ClusterRoleBindingFluent.MetadataNested editMetadata();
public V1beta1ClusterRoleBindingFluent.MetadataNested editOrNewMetadata();
public V1beta1ClusterRoleBindingFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
/**
* This method has been deprecated, please use method buildRoleRef instead.
* @return The buildable object.
*/
@Deprecated public V1beta1RoleRef getRoleRef();
public V1beta1RoleRef buildRoleRef();
public A withRoleRef(V1beta1RoleRef roleRef);
public Boolean hasRoleRef();
public V1beta1ClusterRoleBindingFluent.RoleRefNested withNewRoleRef();
public V1beta1ClusterRoleBindingFluent.RoleRefNested withNewRoleRefLike(V1beta1RoleRef item);
public V1beta1ClusterRoleBindingFluent.RoleRefNested editRoleRef();
public V1beta1ClusterRoleBindingFluent.RoleRefNested editOrNewRoleRef();
public V1beta1ClusterRoleBindingFluent.RoleRefNested editOrNewRoleRefLike(V1beta1RoleRef item);
public A addToSubjects(int index,RbacV1beta1Subject item);
public A setToSubjects(int index,RbacV1beta1Subject item);
public A addToSubjects(RbacV1beta1Subject... items);
public A addAllToSubjects(Collection items);
public A removeFromSubjects(RbacV1beta1Subject... items);
public A removeAllFromSubjects(Collection items);
public A removeMatchingFromSubjects(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildSubjects instead.
* @return The buildable object.
*/
@Deprecated public List getSubjects();
public List buildSubjects();
public RbacV1beta1Subject buildSubject(int index);
public RbacV1beta1Subject buildFirstSubject();
public RbacV1beta1Subject buildLastSubject();
public RbacV1beta1Subject buildMatchingSubject(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingSubject(io.kubernetes.client.fluent.Predicate predicate);
public A withSubjects(List subjects);
public A withSubjects(RbacV1beta1Subject... subjects);
public Boolean hasSubjects();
public V1beta1ClusterRoleBindingFluent.SubjectsNested addNewSubject();
public V1beta1ClusterRoleBindingFluent.SubjectsNested addNewSubjectLike(RbacV1beta1Subject item);
public V1beta1ClusterRoleBindingFluent.SubjectsNested setNewSubjectLike(int index,RbacV1beta1Subject item);
public V1beta1ClusterRoleBindingFluent.SubjectsNested editSubject(int index);
public V1beta1ClusterRoleBindingFluent.SubjectsNested editFirstSubject();
public V1beta1ClusterRoleBindingFluent.SubjectsNested editLastSubject();
public V1beta1ClusterRoleBindingFluent.SubjectsNested editMatchingSubject(io.kubernetes.client.fluent.Predicate predicate);
public interface MetadataNested extends io.kubernetes.client.fluent.Nested,V1ObjectMetaFluent> {
public N and();
public N endMetadata(); }
public interface RoleRefNested extends io.kubernetes.client.fluent.Nested,V1beta1RoleRefFluent> {
public N and();
public N endRoleRef(); }
public interface SubjectsNested extends io.kubernetes.client.fluent.Nested,RbacV1beta1SubjectFluent> {
public N and();
public N endSubject(); }
}