io.alauda.devops.api.model.ClusterRoleFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import io.alauda.kubernetes.api.model.ObjectMeta;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import io.alauda.kubernetes.api.model.ObjectMetaFluent;
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 ClusterRoleFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
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 ClusterRoleFluent.MetadataNested withNewMetadata();
public ClusterRoleFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ClusterRoleFluent.MetadataNested editMetadata();
public ClusterRoleFluent.MetadataNested editOrNewMetadata();
public ClusterRoleFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToRules(int index,PolicyRule item);
public A setToRules(int index,PolicyRule item);
public A addToRules(PolicyRule... items);
public A addAllToRules(Collection items);
public A removeFromRules(PolicyRule... items);
public A removeAllFromRules(Collection items);
/**
* This method has been deprecated, please use method buildRules instead.
*/
@Deprecated public List getRules();
public List buildRules();
public PolicyRule buildRule(int index);
public PolicyRule buildFirstRule();
public PolicyRule buildLastRule();
public PolicyRule buildMatchingRule(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withRules(List rules);
public A withRules(PolicyRule... rules);
public Boolean hasRules();
public ClusterRoleFluent.RulesNested addNewRule();
public ClusterRoleFluent.RulesNested addNewRuleLike(PolicyRule item);
public ClusterRoleFluent.RulesNested setNewRuleLike(int index,PolicyRule item);
public ClusterRoleFluent.RulesNested editRule(int index);
public ClusterRoleFluent.RulesNested editFirstRule();
public ClusterRoleFluent.RulesNested editLastRule();
public ClusterRoleFluent.RulesNested editMatchingRule(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface RulesNested extends io.alauda.kubernetes.api.builder.Nested,PolicyRuleFluent>{
public N and(); public N endRule();
}
}