annotations.io.alauda.devops.api.model.BuildRequestFluent Maven / Gradle / Ivy
package io.alauda.devops.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 io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import io.alauda.kubernetes.api.model.EnvVarBuilder;
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 io.alauda.kubernetes.api.model.EnvVar;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.model.EnvVarFluent;
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.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface BuildRequestFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
/**
* This method has been deprecated, please use method buildBinary instead.
*/
@Deprecated public BinaryBuildSource getBinary();
public BinaryBuildSource buildBinary();
public A withBinary(BinaryBuildSource binary);
public Boolean hasBinary();
public BuildRequestFluent.BinaryNested withNewBinary();
public BuildRequestFluent.BinaryNested withNewBinaryLike(BinaryBuildSource item);
public BuildRequestFluent.BinaryNested editBinary();
public BuildRequestFluent.BinaryNested editOrNewBinary();
public BuildRequestFluent.BinaryNested editOrNewBinaryLike(BinaryBuildSource item);
public A withNewBinary(String asFile);
/**
* This method has been deprecated, please use method buildDockerStrategyOptions instead.
*/
@Deprecated public DockerStrategyOptions getDockerStrategyOptions();
public DockerStrategyOptions buildDockerStrategyOptions();
public A withDockerStrategyOptions(DockerStrategyOptions dockerStrategyOptions);
public Boolean hasDockerStrategyOptions();
public BuildRequestFluent.DockerStrategyOptionsNested withNewDockerStrategyOptions();
public BuildRequestFluent.DockerStrategyOptionsNested withNewDockerStrategyOptionsLike(DockerStrategyOptions item);
public BuildRequestFluent.DockerStrategyOptionsNested editDockerStrategyOptions();
public BuildRequestFluent.DockerStrategyOptionsNested editOrNewDockerStrategyOptions();
public BuildRequestFluent.DockerStrategyOptionsNested editOrNewDockerStrategyOptionsLike(DockerStrategyOptions item);
public A addToEnv(int index,EnvVar item);
public A setToEnv(int index,EnvVar item);
public A addToEnv(EnvVar... items);
public A addAllToEnv(Collection items);
public A removeFromEnv(EnvVar... items);
public A removeAllFromEnv(Collection items);
/**
* This method has been deprecated, please use method buildEnv instead.
*/
@Deprecated public List getEnv();
public List buildEnv();
public EnvVar buildEnv(int index);
public EnvVar buildFirstEnv();
public EnvVar buildLastEnv();
public EnvVar buildMatchingEnv(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withEnv(List env);
public A withEnv(EnvVar... env);
public Boolean hasEnv();
public BuildRequestFluent.EnvNested addNewEnv();
public BuildRequestFluent.EnvNested addNewEnvLike(EnvVar item);
public BuildRequestFluent.EnvNested setNewEnvLike(int index,EnvVar item);
public BuildRequestFluent.EnvNested editEnv(int index);
public BuildRequestFluent.EnvNested editFirstEnv();
public BuildRequestFluent.EnvNested editLastEnv();
public BuildRequestFluent.EnvNested editMatchingEnv(io.alauda.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildFrom instead.
*/
@Deprecated public ObjectReference getFrom();
public ObjectReference buildFrom();
public A withFrom(ObjectReference from);
public Boolean hasFrom();
public BuildRequestFluent.FromNested withNewFrom();
public BuildRequestFluent.FromNested withNewFromLike(ObjectReference item);
public BuildRequestFluent.FromNested editFrom();
public BuildRequestFluent.FromNested editOrNewFrom();
public BuildRequestFluent.FromNested editOrNewFromLike(ObjectReference item);
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
public Long getLastVersion();
public A withLastVersion(Long lastVersion);
public Boolean hasLastVersion();
/**
* 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 BuildRequestFluent.MetadataNested withNewMetadata();
public BuildRequestFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public BuildRequestFluent.MetadataNested editMetadata();
public BuildRequestFluent.MetadataNested editOrNewMetadata();
public BuildRequestFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
/**
* This method has been deprecated, please use method buildRevision instead.
*/
@Deprecated public SourceRevision getRevision();
public SourceRevision buildRevision();
public A withRevision(SourceRevision revision);
public Boolean hasRevision();
public BuildRequestFluent.RevisionNested withNewRevision();
public BuildRequestFluent.RevisionNested withNewRevisionLike(SourceRevision item);
public BuildRequestFluent.RevisionNested editRevision();
public BuildRequestFluent.RevisionNested editOrNewRevision();
public BuildRequestFluent.RevisionNested editOrNewRevisionLike(SourceRevision item);
public A addToTriggeredBy(int index,BuildTriggerCause item);
public A setToTriggeredBy(int index,BuildTriggerCause item);
public A addToTriggeredBy(BuildTriggerCause... items);
public A addAllToTriggeredBy(Collection items);
public A removeFromTriggeredBy(BuildTriggerCause... items);
public A removeAllFromTriggeredBy(Collection items);
/**
* This method has been deprecated, please use method buildTriggeredBy instead.
*/
@Deprecated public List getTriggeredBy();
public List buildTriggeredBy();
public BuildTriggerCause buildTriggeredBy(int index);
public BuildTriggerCause buildFirstTriggeredBy();
public BuildTriggerCause buildLastTriggeredBy();
public BuildTriggerCause buildMatchingTriggeredBy(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withTriggeredBy(List triggeredBy);
public A withTriggeredBy(BuildTriggerCause... triggeredBy);
public Boolean hasTriggeredBy();
public BuildRequestFluent.TriggeredByNested addNewTriggeredBy();
public BuildRequestFluent.TriggeredByNested addNewTriggeredByLike(BuildTriggerCause item);
public BuildRequestFluent.TriggeredByNested setNewTriggeredByLike(int index,BuildTriggerCause item);
public BuildRequestFluent.TriggeredByNested editTriggeredBy(int index);
public BuildRequestFluent.TriggeredByNested editFirstTriggeredBy();
public BuildRequestFluent.TriggeredByNested editLastTriggeredBy();
public BuildRequestFluent.TriggeredByNested editMatchingTriggeredBy(io.alauda.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildTriggeredByImage instead.
*/
@Deprecated public ObjectReference getTriggeredByImage();
public ObjectReference buildTriggeredByImage();
public A withTriggeredByImage(ObjectReference triggeredByImage);
public Boolean hasTriggeredByImage();
public BuildRequestFluent.TriggeredByImageNested withNewTriggeredByImage();
public BuildRequestFluent.TriggeredByImageNested withNewTriggeredByImageLike(ObjectReference item);
public BuildRequestFluent.TriggeredByImageNested editTriggeredByImage();
public BuildRequestFluent.TriggeredByImageNested editOrNewTriggeredByImage();
public BuildRequestFluent.TriggeredByImageNested editOrNewTriggeredByImageLike(ObjectReference item);
public interface BinaryNested extends io.alauda.kubernetes.api.builder.Nested,BinaryBuildSourceFluent>{
public N and(); public N endBinary();
}
public interface DockerStrategyOptionsNested extends io.alauda.kubernetes.api.builder.Nested,DockerStrategyOptionsFluent>{
public N and(); public N endDockerStrategyOptions();
}
public interface EnvNested extends io.alauda.kubernetes.api.builder.Nested,EnvVarFluent>{
public N and(); public N endEnv();
}
public interface FromNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endFrom();
}
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface RevisionNested extends io.alauda.kubernetes.api.builder.Nested,SourceRevisionFluent>{
public N and(); public N endRevision();
}
public interface TriggeredByNested extends io.alauda.kubernetes.api.builder.Nested,BuildTriggerCauseFluent>{
public N and(); public N endTriggeredBy();
}
public interface TriggeredByImageNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endTriggeredByImage();
}
}