io.alauda.devops.api.model.RoleBindingFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import io.alauda.kubernetes.api.model.ObjectMetaFluent;
import io.alauda.kubernetes.api.model.ObjectReference;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import io.alauda.kubernetes.api.model.ObjectReferenceFluent;
import javax.validation.Valid;
import io.alauda.kubernetes.api.model.ObjectReferenceBuilder;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface RoleBindingFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public A addToGroupNames(int index,String item);
public A setToGroupNames(int index,String item);
public A addToGroupNames(String... items);
public A addAllToGroupNames(Collection items);
public A removeFromGroupNames(String... items);
public A removeAllFromGroupNames(Collection items);
public List getGroupNames();
public String getGroupName(int index);
public String getFirstGroupName();
public String getLastGroupName();
public String getMatchingGroupName(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withGroupNames(List groupNames);
public A withGroupNames(String... groupNames);
public Boolean hasGroupNames();
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
/**
* This method has been deprecated, please use method buildMetadata instead.
*/
@Deprecated public ObjectMeta getMetadata();
public ObjectMeta buildMetadata();
public A withMetadata(ObjectMeta metadata);
public Boolean hasMetadata();
public RoleBindingFluent.MetadataNested withNewMetadata();
public RoleBindingFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public RoleBindingFluent.MetadataNested editMetadata();
public RoleBindingFluent.MetadataNested editOrNewMetadata();
public RoleBindingFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
/**
* This method has been deprecated, please use method buildRoleRef instead.
*/
@Deprecated public ObjectReference getRoleRef();
public ObjectReference buildRoleRef();
public A withRoleRef(ObjectReference roleRef);
public Boolean hasRoleRef();
public RoleBindingFluent.RoleRefNested withNewRoleRef();
public RoleBindingFluent.RoleRefNested withNewRoleRefLike(ObjectReference item);
public RoleBindingFluent.RoleRefNested editRoleRef();
public RoleBindingFluent.RoleRefNested editOrNewRoleRef();
public RoleBindingFluent.RoleRefNested editOrNewRoleRefLike(ObjectReference item);
public A addToSubjects(int index,ObjectReference item);
public A setToSubjects(int index,ObjectReference item);
public A addToSubjects(ObjectReference... items);
public A addAllToSubjects(Collection items);
public A removeFromSubjects(ObjectReference... items);
public A removeAllFromSubjects(Collection items);
/**
* This method has been deprecated, please use method buildSubjects instead.
*/
@Deprecated public List getSubjects();
public List buildSubjects();
public ObjectReference buildSubject(int index);
public ObjectReference buildFirstSubject();
public ObjectReference buildLastSubject();
public ObjectReference buildMatchingSubject(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withSubjects(List subjects);
public A withSubjects(ObjectReference... subjects);
public Boolean hasSubjects();
public RoleBindingFluent.SubjectsNested addNewSubject();
public RoleBindingFluent.SubjectsNested addNewSubjectLike(ObjectReference item);
public RoleBindingFluent.SubjectsNested setNewSubjectLike(int index,ObjectReference item);
public RoleBindingFluent.SubjectsNested editSubject(int index);
public RoleBindingFluent.SubjectsNested editFirstSubject();
public RoleBindingFluent.SubjectsNested editLastSubject();
public RoleBindingFluent.SubjectsNested editMatchingSubject(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addToUserNames(int index,String item);
public A setToUserNames(int index,String item);
public A addToUserNames(String... items);
public A addAllToUserNames(Collection items);
public A removeFromUserNames(String... items);
public A removeAllFromUserNames(Collection items);
public List getUserNames();
public String getUserName(int index);
public String getFirstUserName();
public String getLastUserName();
public String getMatchingUserName(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withUserNames(List userNames);
public A withUserNames(String... userNames);
public Boolean hasUserNames();
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface RoleRefNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endRoleRef();
}
public interface SubjectsNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endSubject();
}
}