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