io.alauda.kubernetes.api.model.ContextFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
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 ContextFluent> extends Fluent{
public String getCluster();
public A withCluster(String cluster);
public Boolean hasCluster();
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 ContextFluent.ExtensionsNested addNewExtension();
public ContextFluent.ExtensionsNested addNewExtensionLike(NamedExtension item);
public ContextFluent.ExtensionsNested setNewExtensionLike(int index,NamedExtension item);
public ContextFluent.ExtensionsNested editExtension(int index);
public ContextFluent.ExtensionsNested editFirstExtension();
public ContextFluent.ExtensionsNested editLastExtension();
public ContextFluent.ExtensionsNested editMatchingExtension(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getNamespace();
public A withNamespace(String namespace);
public Boolean hasNamespace();
public String getUser();
public A withUser(String user);
public Boolean hasUser();
public interface ExtensionsNested extends io.alauda.kubernetes.api.builder.Nested,NamedExtensionFluent>{
public N and(); public N endExtension();
}
}