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

io.dekorate.halkyon.model.ComponentSpecFluent Maven / Gradle / Ivy

There is a newer version: 2.0.0.beta2
Show newest version
package io.dekorate.halkyon.model;

import io.dekorate.deps.kubernetes.api.builder.VisitableBuilder;
import java.lang.StringBuilder;
import io.dekorate.deps.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.dekorate.deps.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.lang.Boolean;
import io.dekorate.deps.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import java.lang.StringBuffer;
import java.util.Collection;

public interface ComponentSpecFluent> extends Fluent {


    public DeploymentMode getDeploymentMode();
    public A withDeploymentMode(DeploymentMode deploymentMode);
    public Boolean hasDeploymentMode();
    public String getRuntime();
    public A withRuntime(String runtime);
    public Boolean hasRuntime();
    public A withNewRuntime(String arg1);
    public A withNewRuntime(StringBuilder arg1);
    public A withNewRuntime(StringBuffer arg1);
    public String getVersion();
    public A withVersion(String version);
    public Boolean hasVersion();
    public A withNewVersion(String arg1);
    public A withNewVersion(StringBuilder arg1);
    public A withNewVersion(StringBuffer arg1);
    public boolean isExposeService();
    public A withExposeService(boolean exposeService);
    public Boolean hasExposeService();
    public Integer getPort();
    public A withPort(Integer port);
    public Boolean hasPort();
    
/**
 * This method has been deprecated, please use method buildStorage instead.
 * @return The buildable object.
 */
@Deprecated public Storage getStorage();
    public Storage buildStorage();
    public A withStorage(Storage storage);
    public Boolean hasStorage();
    public A withNewStorage(String name,String capacity,String mode);
    public ComponentSpecFluent.StorageNested withNewStorage();
    public ComponentSpecFluent.StorageNested withNewStorageLike(Storage item);
    public ComponentSpecFluent.StorageNested editStorage();
    public ComponentSpecFluent.StorageNested editOrNewStorage();
    public ComponentSpecFluent.StorageNested editOrNewStorageLike(Storage item);
    public A withEnvs(Env... envs);
    
/**
 * This method has been deprecated, please use method buildEnvs instead.
 */
@Deprecated public Env[] getEnvs();
    public Env[] buildEnvs();
    public Env buildEnv(int index);
    public Env buildFirstEnv();
    public Env buildLastEnv();
    public Env buildMatchingEnv(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingEnv(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
    public A addToEnvs(int index,Env item);
    public A setToEnvs(int index,Env item);
    public A addToEnvs(Env... items);
    public A addAllToEnvs(Collection items);
    public A removeFromEnvs(Env... items);
    public A removeAllFromEnvs(Collection items);
    public A removeMatchingFromEnvs(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
    public Boolean hasEnvs();
    public A addNewEnv(String name,String value);
    public ComponentSpecFluent.EnvsNested addNewEnv();
    public ComponentSpecFluent.EnvsNested addNewEnvLike(Env item);
    public ComponentSpecFluent.EnvsNested setNewEnvLike(int index,Env item);
    public ComponentSpecFluent.EnvsNested editEnv(int index);
    public ComponentSpecFluent.EnvsNested editFirstEnv();
    public ComponentSpecFluent.EnvsNested editLastEnv();
    public ComponentSpecFluent.EnvsNested editMatchingEnv(io.dekorate.deps.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildBuildConfig instead.
 * @return The buildable object.
 */
@Deprecated public BuildConfig getBuildConfig();
    public BuildConfig buildBuildConfig();
    public A withBuildConfig(BuildConfig buildConfig);
    public Boolean hasBuildConfig();
    public A withNewBuildConfig(String type,String url,String ref,String contextPath,String moduleDirName);
    public ComponentSpecFluent.BuildConfigNested withNewBuildConfig();
    public ComponentSpecFluent.BuildConfigNested withNewBuildConfigLike(BuildConfig item);
    public ComponentSpecFluent.BuildConfigNested editBuildConfig();
    public ComponentSpecFluent.BuildConfigNested editOrNewBuildConfig();
    public ComponentSpecFluent.BuildConfigNested editOrNewBuildConfigLike(BuildConfig item);
    
/**
 * This method has been deprecated, please use method buildCapabilities instead.
 * @return The buildable object.
 */
@Deprecated public Capabilities getCapabilities();
    public Capabilities buildCapabilities();
    public A withCapabilities(Capabilities capabilities);
    public Boolean hasCapabilities();
    public ComponentSpecFluent.CapabilitiesNested withNewCapabilities();
    public ComponentSpecFluent.CapabilitiesNested withNewCapabilitiesLike(Capabilities item);
    public ComponentSpecFluent.CapabilitiesNested editCapabilities();
    public ComponentSpecFluent.CapabilitiesNested editOrNewCapabilities();
    public ComponentSpecFluent.CapabilitiesNested editOrNewCapabilitiesLike(Capabilities item);
    public interface StorageNested extends io.dekorate.deps.kubernetes.api.builder.Nested,StorageFluent> {

        public N and();
        public N endStorage();    }


    public interface EnvsNested extends io.dekorate.deps.kubernetes.api.builder.Nested,EnvFluent> {

        public N and();
        public N endEnv();    }


    public interface BuildConfigNested extends io.dekorate.deps.kubernetes.api.builder.Nested,BuildConfigFluent> {

        public N and();
        public N endBuildConfig();    }


    public interface CapabilitiesNested extends io.dekorate.deps.kubernetes.api.builder.Nested,CapabilitiesFluent> {

        public N and();
        public N endCapabilities();    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy