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

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

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


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy