All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.devops.api.model.RoleFluent Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
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 RoleFluent> 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 RoleFluent.MetadataNested withNewMetadata();
    public RoleFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
    public RoleFluent.MetadataNested editMetadata();
    public RoleFluent.MetadataNested editOrNewMetadata();
    public RoleFluent.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 RoleFluent.RulesNested addNewRule();
    public RoleFluent.RulesNested addNewRuleLike(PolicyRule item);
    public RoleFluent.RulesNested setNewRuleLike(int index,PolicyRule item);
    public RoleFluent.RulesNested editRule(int index);
    public RoleFluent.RulesNested editFirstRule();
    public RoleFluent.RulesNested editLastRule();
    public RoleFluent.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();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy