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

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

There is a newer version: 0.2.12
Show newest version
package io.alauda.devops.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import io.alauda.kubernetes.api.model.ObjectMetaFluent;
import io.alauda.kubernetes.api.model.ObjectReference;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import io.alauda.kubernetes.api.model.ObjectReferenceFluent;
import javax.validation.Valid;
import io.alauda.kubernetes.api.model.ObjectReferenceBuilder;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

public interface ClusterPolicyBindingFluent> 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 ClusterPolicyBindingFluent.MetadataNested withNewMetadata();
    public ClusterPolicyBindingFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
    public ClusterPolicyBindingFluent.MetadataNested editMetadata();
    public ClusterPolicyBindingFluent.MetadataNested editOrNewMetadata();
    public ClusterPolicyBindingFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
    
/**
 * This method has been deprecated, please use method buildPolicyRef instead.
 */
@Deprecated public ObjectReference getPolicyRef();
    public ObjectReference buildPolicyRef();
    public A withPolicyRef(ObjectReference policyRef);
    public Boolean hasPolicyRef();
    public ClusterPolicyBindingFluent.PolicyRefNested withNewPolicyRef();
    public ClusterPolicyBindingFluent.PolicyRefNested withNewPolicyRefLike(ObjectReference item);
    public ClusterPolicyBindingFluent.PolicyRefNested editPolicyRef();
    public ClusterPolicyBindingFluent.PolicyRefNested editOrNewPolicyRef();
    public ClusterPolicyBindingFluent.PolicyRefNested editOrNewPolicyRefLike(ObjectReference item);
    public A addToRoleBindings(int index,NamedClusterRoleBinding item);
    public A setToRoleBindings(int index,NamedClusterRoleBinding item);
    public A addToRoleBindings(NamedClusterRoleBinding... items);
    public A addAllToRoleBindings(Collection items);
    public A removeFromRoleBindings(NamedClusterRoleBinding... items);
    public A removeAllFromRoleBindings(Collection items);
    
/**
 * This method has been deprecated, please use method buildRoleBindings instead.
 */
@Deprecated public List getRoleBindings();
    public List buildRoleBindings();
    public NamedClusterRoleBinding buildRoleBinding(int index);
    public NamedClusterRoleBinding buildFirstRoleBinding();
    public NamedClusterRoleBinding buildLastRoleBinding();
    public NamedClusterRoleBinding buildMatchingRoleBinding(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withRoleBindings(List roleBindings);
    public A withRoleBindings(NamedClusterRoleBinding... roleBindings);
    public Boolean hasRoleBindings();
    public ClusterPolicyBindingFluent.RoleBindingsNested addNewRoleBinding();
    public ClusterPolicyBindingFluent.RoleBindingsNested addNewRoleBindingLike(NamedClusterRoleBinding item);
    public ClusterPolicyBindingFluent.RoleBindingsNested setNewRoleBindingLike(int index,NamedClusterRoleBinding item);
    public ClusterPolicyBindingFluent.RoleBindingsNested editRoleBinding(int index);
    public ClusterPolicyBindingFluent.RoleBindingsNested editFirstRoleBinding();
    public ClusterPolicyBindingFluent.RoleBindingsNested editLastRoleBinding();
    public ClusterPolicyBindingFluent.RoleBindingsNested editMatchingRoleBinding(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 PolicyRefNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{

        
    public N and();    public N endPolicyRef();
}
    public interface RoleBindingsNested extends io.alauda.kubernetes.api.builder.Nested,NamedClusterRoleBindingFluent>{

        
    public N and();    public N endRoleBinding();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy