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