@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartBuildRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartBuildRequest() |
Modifier and Type | Method and Description |
---|---|
StartBuildRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifactsOverride()
Build output artifact settings that override, for this build only, the latest ones already defined in the
corresponding build project.
|
String |
getBuildspecOverride()
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding
build project.
|
List<EnvironmentVariable> |
getEnvironmentVariablesOverride()
A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.
|
String |
getProjectName()
The name of the build project to start running a build.
|
String |
getSourceVersion()
A version of the build input to be built, for this build only.
|
Integer |
getTimeoutInMinutesOverride()
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest
setting already defined in the corresponding build project.
|
int |
hashCode() |
void |
setArtifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the
corresponding build project.
|
void |
setBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding
build project.
|
void |
setEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.
|
void |
setProjectName(String projectName)
The name of the build project to start running a build.
|
void |
setSourceVersion(String sourceVersion)
A version of the build input to be built, for this build only.
|
void |
setTimeoutInMinutesOverride(Integer timeoutInMinutesOverride)
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest
setting already defined in the corresponding build project.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartBuildRequest |
withArtifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the
corresponding build project.
|
StartBuildRequest |
withBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding
build project.
|
StartBuildRequest |
withEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.
|
StartBuildRequest |
withEnvironmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.
|
StartBuildRequest |
withProjectName(String projectName)
The name of the build project to start running a build.
|
StartBuildRequest |
withSourceVersion(String sourceVersion)
A version of the build input to be built, for this build only.
|
StartBuildRequest |
withTimeoutInMinutesOverride(Integer timeoutInMinutesOverride)
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest
setting already defined in the corresponding build project.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectName(String projectName)
The name of the build project to start running a build.
projectName
- The name of the build project to start running a build.public String getProjectName()
The name of the build project to start running a build.
public StartBuildRequest withProjectName(String projectName)
The name of the build project to start running a build.
projectName
- The name of the build project to start running a build.public void setSourceVersion(String sourceVersion)
A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
sourceVersion
- A version of the build input to be built, for this build only. If not specified, the latest version will
be used. If specified, must be one of:
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
public String getSourceVersion()
A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
public StartBuildRequest withSourceVersion(String sourceVersion)
A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
sourceVersion
- A version of the build input to be built, for this build only. If not specified, the latest version will
be used. If specified, must be one of:
For AWS CodeCommit or GitHub: the commit ID to use.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
public void setArtifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the corresponding build project.
artifactsOverride
- Build output artifact settings that override, for this build only, the latest ones already defined in the
corresponding build project.public ProjectArtifacts getArtifactsOverride()
Build output artifact settings that override, for this build only, the latest ones already defined in the corresponding build project.
public StartBuildRequest withArtifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the corresponding build project.
artifactsOverride
- Build output artifact settings that override, for this build only, the latest ones already defined in the
corresponding build project.public List<EnvironmentVariable> getEnvironmentVariablesOverride()
A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.
public void setEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.
environmentVariablesOverride
- A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.public StartBuildRequest withEnvironmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentVariablesOverride(java.util.Collection)
or
withEnvironmentVariablesOverride(java.util.Collection)
if you want to override the existing values.
environmentVariablesOverride
- A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.public StartBuildRequest withEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.
environmentVariablesOverride
- A set of environment variables that overrides, for this build only, the latest ones already defined in the
corresponding build project.public void setBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding build project.
buildspecOverride
- A build spec declaration that overrides, for this build only, the latest one already defined in the
corresponding build project.public String getBuildspecOverride()
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding build project.
public StartBuildRequest withBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding build project.
buildspecOverride
- A build spec declaration that overrides, for this build only, the latest one already defined in the
corresponding build project.public void setTimeoutInMinutesOverride(Integer timeoutInMinutesOverride)
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest setting already defined in the corresponding build project.
timeoutInMinutesOverride
- The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the
latest setting already defined in the corresponding build project.public Integer getTimeoutInMinutesOverride()
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest setting already defined in the corresponding build project.
public StartBuildRequest withTimeoutInMinutesOverride(Integer timeoutInMinutesOverride)
The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest setting already defined in the corresponding build project.
timeoutInMinutesOverride
- The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the
latest setting already defined in the corresponding build project.public String toString()
toString
in class Object
Object.toString()
public StartBuildRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.