annotations.io.alauda.devops.api.model.ScopeRestrictionFluent 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.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import java.lang.Boolean;
import java.util.Map;
public interface ScopeRestrictionFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildClusterRole instead.
*/
@Deprecated public ClusterRoleScopeRestriction getClusterRole();
public ClusterRoleScopeRestriction buildClusterRole();
public A withClusterRole(ClusterRoleScopeRestriction clusterRole);
public Boolean hasClusterRole();
public ScopeRestrictionFluent.ClusterRoleNested withNewClusterRole();
public ScopeRestrictionFluent.ClusterRoleNested withNewClusterRoleLike(ClusterRoleScopeRestriction item);
public ScopeRestrictionFluent.ClusterRoleNested editClusterRole();
public ScopeRestrictionFluent.ClusterRoleNested editOrNewClusterRole();
public ScopeRestrictionFluent.ClusterRoleNested editOrNewClusterRoleLike(ClusterRoleScopeRestriction item);
public A addToLiterals(int index,String item);
public A setToLiterals(int index,String item);
public A addToLiterals(String... items);
public A addAllToLiterals(Collection items);
public A removeFromLiterals(String... items);
public A removeAllFromLiterals(Collection items);
public List getLiterals();
public String getLiteral(int index);
public String getFirstLiteral();
public String getLastLiteral();
public String getMatchingLiteral(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withLiterals(List literals);
public A withLiterals(String... literals);
public Boolean hasLiterals();
public interface ClusterRoleNested extends io.alauda.kubernetes.api.builder.Nested,ClusterRoleScopeRestrictionFluent>{
public N and(); public N endClusterRole();
}
}