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

io.alauda.kubernetes.api.model.ConfigFluent Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

public interface ConfigFluent> extends Fluent{


    public String getApiVersion();
    public A withApiVersion(String apiVersion);
    public Boolean hasApiVersion();
    public A addToClusters(int index,NamedCluster item);
    public A setToClusters(int index,NamedCluster item);
    public A addToClusters(NamedCluster... items);
    public A addAllToClusters(Collection items);
    public A removeFromClusters(NamedCluster... items);
    public A removeAllFromClusters(Collection items);
    
/**
 * This method has been deprecated, please use method buildClusters instead.
 */
@Deprecated public List getClusters();
    public List buildClusters();
    public NamedCluster buildCluster(int index);
    public NamedCluster buildFirstCluster();
    public NamedCluster buildLastCluster();
    public NamedCluster buildMatchingCluster(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withClusters(List clusters);
    public A withClusters(NamedCluster... clusters);
    public Boolean hasClusters();
    public ConfigFluent.ClustersNested addNewCluster();
    public ConfigFluent.ClustersNested addNewClusterLike(NamedCluster item);
    public ConfigFluent.ClustersNested setNewClusterLike(int index,NamedCluster item);
    public ConfigFluent.ClustersNested editCluster(int index);
    public ConfigFluent.ClustersNested editFirstCluster();
    public ConfigFluent.ClustersNested editLastCluster();
    public ConfigFluent.ClustersNested editMatchingCluster(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A addToContexts(int index,NamedContext item);
    public A setToContexts(int index,NamedContext item);
    public A addToContexts(NamedContext... items);
    public A addAllToContexts(Collection items);
    public A removeFromContexts(NamedContext... items);
    public A removeAllFromContexts(Collection items);
    
/**
 * This method has been deprecated, please use method buildContexts instead.
 */
@Deprecated public List getContexts();
    public List buildContexts();
    public NamedContext buildContext(int index);
    public NamedContext buildFirstContext();
    public NamedContext buildLastContext();
    public NamedContext buildMatchingContext(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withContexts(List contexts);
    public A withContexts(NamedContext... contexts);
    public Boolean hasContexts();
    public ConfigFluent.ContextsNested addNewContext();
    public ConfigFluent.ContextsNested addNewContextLike(NamedContext item);
    public ConfigFluent.ContextsNested setNewContextLike(int index,NamedContext item);
    public ConfigFluent.ContextsNested editContext(int index);
    public ConfigFluent.ContextsNested editFirstContext();
    public ConfigFluent.ContextsNested editLastContext();
    public ConfigFluent.ContextsNested editMatchingContext(io.alauda.kubernetes.api.builder.Predicate predicate);
    public String getCurrentContext();
    public A withCurrentContext(String currentContext);
    public Boolean hasCurrentContext();
    public A addToExtensions(int index,NamedExtension item);
    public A setToExtensions(int index,NamedExtension item);
    public A addToExtensions(NamedExtension... items);
    public A addAllToExtensions(Collection items);
    public A removeFromExtensions(NamedExtension... items);
    public A removeAllFromExtensions(Collection items);
    
/**
 * This method has been deprecated, please use method buildExtensions instead.
 */
@Deprecated public List getExtensions();
    public List buildExtensions();
    public NamedExtension buildExtension(int index);
    public NamedExtension buildFirstExtension();
    public NamedExtension buildLastExtension();
    public NamedExtension buildMatchingExtension(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withExtensions(List extensions);
    public A withExtensions(NamedExtension... extensions);
    public Boolean hasExtensions();
    public ConfigFluent.ExtensionsNested addNewExtension();
    public ConfigFluent.ExtensionsNested addNewExtensionLike(NamedExtension item);
    public ConfigFluent.ExtensionsNested setNewExtensionLike(int index,NamedExtension item);
    public ConfigFluent.ExtensionsNested editExtension(int index);
    public ConfigFluent.ExtensionsNested editFirstExtension();
    public ConfigFluent.ExtensionsNested editLastExtension();
    public ConfigFluent.ExtensionsNested editMatchingExtension(io.alauda.kubernetes.api.builder.Predicate predicate);
    public String getKind();
    public A withKind(String kind);
    public Boolean hasKind();
    
/**
 * This method has been deprecated, please use method buildPreferences instead.
 */
@Deprecated public Preferences getPreferences();
    public Preferences buildPreferences();
    public A withPreferences(Preferences preferences);
    public Boolean hasPreferences();
    public ConfigFluent.PreferencesNested withNewPreferences();
    public ConfigFluent.PreferencesNested withNewPreferencesLike(Preferences item);
    public ConfigFluent.PreferencesNested editPreferences();
    public ConfigFluent.PreferencesNested editOrNewPreferences();
    public ConfigFluent.PreferencesNested editOrNewPreferencesLike(Preferences item);
    public A addToUsers(int index,NamedAuthInfo item);
    public A setToUsers(int index,NamedAuthInfo item);
    public A addToUsers(NamedAuthInfo... items);
    public A addAllToUsers(Collection items);
    public A removeFromUsers(NamedAuthInfo... items);
    public A removeAllFromUsers(Collection items);
    
/**
 * This method has been deprecated, please use method buildUsers instead.
 */
@Deprecated public List getUsers();
    public List buildUsers();
    public NamedAuthInfo buildUser(int index);
    public NamedAuthInfo buildFirstUser();
    public NamedAuthInfo buildLastUser();
    public NamedAuthInfo buildMatchingUser(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withUsers(List users);
    public A withUsers(NamedAuthInfo... users);
    public Boolean hasUsers();
    public ConfigFluent.UsersNested addNewUser();
    public ConfigFluent.UsersNested addNewUserLike(NamedAuthInfo item);
    public ConfigFluent.UsersNested setNewUserLike(int index,NamedAuthInfo item);
    public ConfigFluent.UsersNested editUser(int index);
    public ConfigFluent.UsersNested editFirstUser();
    public ConfigFluent.UsersNested editLastUser();
    public ConfigFluent.UsersNested editMatchingUser(io.alauda.kubernetes.api.builder.Predicate predicate);

    public interface ClustersNested extends io.alauda.kubernetes.api.builder.Nested,NamedClusterFluent>{

        
    public N and();    public N endCluster();
}
    public interface ContextsNested extends io.alauda.kubernetes.api.builder.Nested,NamedContextFluent>{

        
    public N and();    public N endContext();
}
    public interface ExtensionsNested extends io.alauda.kubernetes.api.builder.Nested,NamedExtensionFluent>{

        
    public N and();    public N endExtension();
}
    public interface PreferencesNested extends io.alauda.kubernetes.api.builder.Nested,PreferencesFluent>{

        
    public N and();    public N endPreferences();
}
    public interface UsersNested extends io.alauda.kubernetes.api.builder.Nested,NamedAuthInfoFluent>{

        
    public N and();    public N endUser();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy