annotations.io.alauda.devops.api.model.ClusterRoleBindingFluent 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 ClusterRoleBindingFluent> 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 ClusterRoleBindingFluent.MetadataNested withNewMetadata();
public ClusterRoleBindingFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ClusterRoleBindingFluent.MetadataNested editMetadata();
public ClusterRoleBindingFluent.MetadataNested editOrNewMetadata();
public ClusterRoleBindingFluent.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 ClusterRoleBindingFluent.RoleRefNested withNewRoleRef();
public ClusterRoleBindingFluent.RoleRefNested withNewRoleRefLike(ObjectReference item);
public ClusterRoleBindingFluent.RoleRefNested editRoleRef();
public ClusterRoleBindingFluent.RoleRefNested editOrNewRoleRef();
public ClusterRoleBindingFluent.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 ClusterRoleBindingFluent.SubjectsNested addNewSubject();
public ClusterRoleBindingFluent.SubjectsNested addNewSubjectLike(ObjectReference item);
public ClusterRoleBindingFluent.SubjectsNested setNewSubjectLike(int index,ObjectReference item);
public ClusterRoleBindingFluent.SubjectsNested editSubject(int index);
public ClusterRoleBindingFluent.SubjectsNested editFirstSubject();
public ClusterRoleBindingFluent.SubjectsNested editLastSubject();
public ClusterRoleBindingFluent.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();
}
}