CopyableBuilder<StartBuildRequest.Builder,StartBuildRequest>
, SdkBuilder<StartBuildRequest.Builder,StartBuildRequest>
public static interface StartBuildRequest.Builder extends CopyableBuilder<StartBuildRequest.Builder,StartBuildRequest>
Modifier and Type | Method | Description |
---|---|---|
StartBuildRequest.Builder |
artifactsOverride(ProjectArtifacts artifactsOverride) |
Build output artifact settings that override, for this build only, the latest ones already defined in the
build project.
|
StartBuildRequest.Builder |
buildspecOverride(String buildspecOverride) |
A build spec declaration that overrides, for this build only, the latest one already defined in the build
project.
|
StartBuildRequest.Builder |
environmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride) |
A set of environment variables that overrides, for this build only, the latest ones already defined in the
build project.
|
StartBuildRequest.Builder |
environmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride) |
A set of environment variables that overrides, for this build only, the latest ones already defined in the
build project.
|
StartBuildRequest.Builder |
projectName(String projectName) |
The name of the build project to start running a build.
|
StartBuildRequest.Builder |
sourceVersion(String sourceVersion) |
A version of the build input to be built, for this build only.
|
StartBuildRequest.Builder |
timeoutInMinutesOverride(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 build project.
|
copy
apply, build
StartBuildRequest.Builder projectName(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.StartBuildRequest.Builder sourceVersion(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.
StartBuildRequest.Builder artifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the build project.
artifactsOverride
- Build output artifact settings that override, for this build only, the latest ones already defined in
the build project.StartBuildRequest.Builder environmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the build project.
environmentVariablesOverride
- A set of environment variables that overrides, for this build only, the latest ones already defined in
the build project.StartBuildRequest.Builder environmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the 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 build project.StartBuildRequest.Builder buildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the build project.
buildspecOverride
- A build spec declaration that overrides, for this build only, the latest one already defined in the
build project.StartBuildRequest.Builder timeoutInMinutesOverride(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 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 build project.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.