annotations.io.alauda.devops.api.model.ClusterRoleScopeRestrictionFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.Valid;
import io.alauda.kubernetes.api.builder.Fluent;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import java.lang.String;
import java.lang.Boolean;
import java.util.Map;
import io.alauda.kubernetes.api.builder.Predicate;
public interface ClusterRoleScopeRestrictionFluent> extends Fluent{
public Boolean isAllowEscalation();
public A withAllowEscalation(Boolean allowEscalation);
public Boolean hasAllowEscalation();
public A addToNamespaces(int index,String item);
public A setToNamespaces(int index,String item);
public A addToNamespaces(String... items);
public A addAllToNamespaces(Collection items);
public A removeFromNamespaces(String... items);
public A removeAllFromNamespaces(Collection items);
public List getNamespaces();
public String getNamespace(int index);
public String getFirstNamespace();
public String getLastNamespace();
public String getMatchingNamespace(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withNamespaces(List namespaces);
public A withNamespaces(String... namespaces);
public Boolean hasNamespaces();
public A addToRoleNames(int index,String item);
public A setToRoleNames(int index,String item);
public A addToRoleNames(String... items);
public A addAllToRoleNames(Collection items);
public A removeFromRoleNames(String... items);
public A removeAllFromRoleNames(Collection items);
public List getRoleNames();
public String getRoleName(int index);
public String getFirstRoleName();
public String getLastRoleName();
public String getMatchingRoleName(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withRoleNames(List roleNames);
public A withRoleNames(String... roleNames);
public Boolean hasRoleNames();
}