io.alauda.devops.api.model.ClusterPolicyFluent 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 ClusterPolicyFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
public String getLastModified();
public A withLastModified(String lastModified);
public Boolean hasLastModified();
/**
* 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 ClusterPolicyFluent.MetadataNested withNewMetadata();
public ClusterPolicyFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ClusterPolicyFluent.MetadataNested editMetadata();
public ClusterPolicyFluent.MetadataNested editOrNewMetadata();
public ClusterPolicyFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToRoles(int index,NamedClusterRole item);
public A setToRoles(int index,NamedClusterRole item);
public A addToRoles(NamedClusterRole... items);
public A addAllToRoles(Collection items);
public A removeFromRoles(NamedClusterRole... items);
public A removeAllFromRoles(Collection items);
/**
* This method has been deprecated, please use method buildRoles instead.
*/
@Deprecated public List getRoles();
public List buildRoles();
public NamedClusterRole buildRole(int index);
public NamedClusterRole buildFirstRole();
public NamedClusterRole buildLastRole();
public NamedClusterRole buildMatchingRole(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withRoles(List roles);
public A withRoles(NamedClusterRole... roles);
public Boolean hasRoles();
public ClusterPolicyFluent.RolesNested addNewRole();
public ClusterPolicyFluent.RolesNested addNewRoleLike(NamedClusterRole item);
public ClusterPolicyFluent.RolesNested setNewRoleLike(int index,NamedClusterRole item);
public ClusterPolicyFluent.RolesNested editRole(int index);
public ClusterPolicyFluent.RolesNested editFirstRole();
public ClusterPolicyFluent.RolesNested editLastRole();
public ClusterPolicyFluent.RolesNested editMatchingRole(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 RolesNested extends io.alauda.kubernetes.api.builder.Nested,NamedClusterRoleFluent>{
public N and(); public N endRole();
}
}