@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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifactsOverride()
Build output artifact settings that override, for this build only, the latest ones already defined in the build
project.
|
String |
getBuildspecOverride()
A build spec declaration that overrides, for this build only, the latest one already defined in the build
project.
|
ProjectCache |
getCacheOverride()
A ProjectCache object specified for this build that overrides the one defined in the build project.
|
String |
getCertificateOverride()
The name of a certificate for this build that overrides the one specified in the build project.
|
String |
getComputeTypeOverride()
The name of a compute type for this build that overrides the one specified in the build project.
|
String |
getEnvironmentTypeOverride()
A container type for this build that overrides the one specified in the build project.
|
List<EnvironmentVariable> |
getEnvironmentVariablesOverride()
A set of environment variables that overrides, for this build only, the latest ones already defined in the build
project.
|
Integer |
getGitCloneDepthOverride()
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous
depth of history defined in the build project.
|
String |
getIdempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request.
|
String |
getImageOverride()
The name of an image for this build that overrides the one specified in the build project.
|
Boolean |
getInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the build project.
|
Boolean |
getPrivilegedModeOverride()
Enable this flag to override privileged mode in the build project.
|
String |
getProjectName()
The name of the AWS CodeBuild build project to start running a build.
|
Boolean |
getReportBuildStatusOverride()
Set to true to report to your source provider the status of a build's start and completion.
|
String |
getServiceRoleOverride()
The name of a service role for this build that overrides the one specified in the build project.
|
SourceAuth |
getSourceAuthOverride()
An authorization type for this build that overrides the one defined in the build project.
|
String |
getSourceLocationOverride()
A location that overrides for this build the source location for the one defined in the build project.
|
String |
getSourceTypeOverride()
A source input type for this build that overrides the source input defined in the build project
|
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 build project.
|
int |
hashCode() |
Boolean |
isInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the build project.
|
Boolean |
isPrivilegedModeOverride()
Enable this flag to override privileged mode in the build project.
|
Boolean |
isReportBuildStatusOverride()
Set to true to report to your source provider the status of a build's start and completion.
|
void |
setArtifactsOverride(ProjectArtifacts artifactsOverride)
Build output artifact settings that override, for this build only, the latest ones already defined in the build
project.
|
void |
setBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the build
project.
|
void |
setCacheOverride(ProjectCache cacheOverride)
A ProjectCache object specified for this build that overrides the one defined in the build project.
|
void |
setCertificateOverride(String certificateOverride)
The name of a certificate for this build that overrides the one specified in the build project.
|
void |
setComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
|
void |
setEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this build that overrides the one specified in the 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 build
project.
|
void |
setGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous
depth of history defined in the build project.
|
void |
setIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request.
|
void |
setImageOverride(String imageOverride)
The name of an image for this build that overrides the one specified in the build project.
|
void |
setInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the build project.
|
void |
setPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the build project.
|
void |
setProjectName(String projectName)
The name of the AWS CodeBuild build project to start running a build.
|
void |
setReportBuildStatusOverride(Boolean reportBuildStatusOverride)
Set to true to report to your source provider the status of a build's start and completion.
|
void |
setServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this build that overrides the one specified in the build project.
|
void |
setSourceAuthOverride(SourceAuth sourceAuthOverride)
An authorization type for this build that overrides the one defined in the build project.
|
void |
setSourceLocationOverride(String sourceLocationOverride)
A location that overrides for this build the source location for the one defined in the build project.
|
void |
setSourceTypeOverride(String sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
|
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 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 build
project.
|
StartBuildRequest |
withBuildspecOverride(String buildspecOverride)
A build spec declaration that overrides, for this build only, the latest one already defined in the build
project.
|
StartBuildRequest |
withCacheOverride(ProjectCache cacheOverride)
A ProjectCache object specified for this build that overrides the one defined in the build project.
|
StartBuildRequest |
withCertificateOverride(String certificateOverride)
The name of a certificate for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withComputeTypeOverride(ComputeType computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withEnvironmentTypeOverride(EnvironmentType environmentTypeOverride)
A container type for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this build that overrides the one specified in the 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 build
project.
|
StartBuildRequest |
withEnvironmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
A set of environment variables that overrides, for this build only, the latest ones already defined in the build
project.
|
StartBuildRequest |
withGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous
depth of history defined in the build project.
|
StartBuildRequest |
withIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request.
|
StartBuildRequest |
withImageOverride(String imageOverride)
The name of an image for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the build project.
|
StartBuildRequest |
withPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the build project.
|
StartBuildRequest |
withProjectName(String projectName)
The name of the AWS CodeBuild build project to start running a build.
|
StartBuildRequest |
withReportBuildStatusOverride(Boolean reportBuildStatusOverride)
Set to true to report to your source provider the status of a build's start and completion.
|
StartBuildRequest |
withServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this build that overrides the one specified in the build project.
|
StartBuildRequest |
withSourceAuthOverride(SourceAuth sourceAuthOverride)
An authorization type for this build that overrides the one defined in the build project.
|
StartBuildRequest |
withSourceLocationOverride(String sourceLocationOverride)
A location that overrides for this build the source location for the one defined in the build project.
|
StartBuildRequest |
withSourceTypeOverride(SourceType sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
|
StartBuildRequest |
withSourceTypeOverride(String sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
|
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 build project.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectName(String projectName)
The name of the AWS CodeBuild build project to start running a build.
projectName
- The name of the AWS CodeBuild build project to start running a build.public String getProjectName()
The name of the AWS CodeBuild build project to start running a build.
public StartBuildRequest withProjectName(String projectName)
The name of the AWS CodeBuild build project to start running a build.
projectName
- The name of the AWS CodeBuild 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: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
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: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
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: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
For AWS CodeCommit: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
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: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
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: the commit ID to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.
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 build project.
artifactsOverride
- Build output artifact settings that override, for this build only, the latest ones already defined in the
build project.public ProjectArtifacts getArtifactsOverride()
Build output artifact settings that override, for this build only, the latest ones already defined in the build project.
public StartBuildRequest withArtifactsOverride(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.public List<EnvironmentVariable> getEnvironmentVariablesOverride()
A set of environment variables that overrides, for this build only, the latest ones already defined in the 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 build project.
environmentVariablesOverride
- A set of environment variables that overrides, for this build only, the latest ones already defined in the
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 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.public StartBuildRequest withEnvironmentVariablesOverride(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.public void setSourceTypeOverride(String sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
sourceTypeOverride
- A source input type for this build that overrides the source input defined in the build projectSourceType
public String getSourceTypeOverride()
A source input type for this build that overrides the source input defined in the build project
SourceType
public StartBuildRequest withSourceTypeOverride(String sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
sourceTypeOverride
- A source input type for this build that overrides the source input defined in the build projectSourceType
public StartBuildRequest withSourceTypeOverride(SourceType sourceTypeOverride)
A source input type for this build that overrides the source input defined in the build project
sourceTypeOverride
- A source input type for this build that overrides the source input defined in the build projectSourceType
public void setSourceLocationOverride(String sourceLocationOverride)
A location that overrides for this build the source location for the one defined in the build project.
sourceLocationOverride
- A location that overrides for this build the source location for the one defined in the build project.public String getSourceLocationOverride()
A location that overrides for this build the source location for the one defined in the build project.
public StartBuildRequest withSourceLocationOverride(String sourceLocationOverride)
A location that overrides for this build the source location for the one defined in the build project.
sourceLocationOverride
- A location that overrides for this build the source location for the one defined in the build project.public void setSourceAuthOverride(SourceAuth sourceAuthOverride)
An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket or GitHub.
sourceAuthOverride
- An authorization type for this build that overrides the one defined in the build project. This override
applies only if the build project's source is BitBucket or GitHub.public SourceAuth getSourceAuthOverride()
An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket or GitHub.
public StartBuildRequest withSourceAuthOverride(SourceAuth sourceAuthOverride)
An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket or GitHub.
sourceAuthOverride
- An authorization type for this build that overrides the one defined in the build project. This override
applies only if the build project's source is BitBucket or GitHub.public void setGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.
gitCloneDepthOverride
- The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any
previous depth of history defined in the build project.public Integer getGitCloneDepthOverride()
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.
public StartBuildRequest withGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.
gitCloneDepthOverride
- The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any
previous depth of history defined in the build project.public void setBuildspecOverride(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.public String getBuildspecOverride()
A build spec declaration that overrides, for this build only, the latest one already defined in the build project.
public StartBuildRequest withBuildspecOverride(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.public void setInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
insecureSslOverride
- Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure
SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This
override applies only if the build's source is GitHub Enterprise.public Boolean getInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
public StartBuildRequest withInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
insecureSslOverride
- Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure
SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This
override applies only if the build's source is GitHub Enterprise.public Boolean isInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
public void setReportBuildStatusOverride(Boolean reportBuildStatusOverride)
Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, an invalidInputException is thrown.
reportBuildStatusOverride
- Set to true to report to your source provider the status of a build's start and completion. If you use
this option with a source provider other than GitHub, an invalidInputException is thrown.public Boolean getReportBuildStatusOverride()
Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, an invalidInputException is thrown.
public StartBuildRequest withReportBuildStatusOverride(Boolean reportBuildStatusOverride)
Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, an invalidInputException is thrown.
reportBuildStatusOverride
- Set to true to report to your source provider the status of a build's start and completion. If you use
this option with a source provider other than GitHub, an invalidInputException is thrown.public Boolean isReportBuildStatusOverride()
Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, an invalidInputException is thrown.
public void setEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this build that overrides the one specified in the build project.
environmentTypeOverride
- A container type for this build that overrides the one specified in the build project.EnvironmentType
public String getEnvironmentTypeOverride()
A container type for this build that overrides the one specified in the build project.
EnvironmentType
public StartBuildRequest withEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this build that overrides the one specified in the build project.
environmentTypeOverride
- A container type for this build that overrides the one specified in the build project.EnvironmentType
public StartBuildRequest withEnvironmentTypeOverride(EnvironmentType environmentTypeOverride)
A container type for this build that overrides the one specified in the build project.
environmentTypeOverride
- A container type for this build that overrides the one specified in the build project.EnvironmentType
public void setImageOverride(String imageOverride)
The name of an image for this build that overrides the one specified in the build project.
imageOverride
- The name of an image for this build that overrides the one specified in the build project.public String getImageOverride()
The name of an image for this build that overrides the one specified in the build project.
public StartBuildRequest withImageOverride(String imageOverride)
The name of an image for this build that overrides the one specified in the build project.
imageOverride
- The name of an image for this build that overrides the one specified in the build project.public void setComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
computeTypeOverride
- The name of a compute type for this build that overrides the one specified in the build project.ComputeType
public String getComputeTypeOverride()
The name of a compute type for this build that overrides the one specified in the build project.
ComputeType
public StartBuildRequest withComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
computeTypeOverride
- The name of a compute type for this build that overrides the one specified in the build project.ComputeType
public StartBuildRequest withComputeTypeOverride(ComputeType computeTypeOverride)
The name of a compute type for this build that overrides the one specified in the build project.
computeTypeOverride
- The name of a compute type for this build that overrides the one specified in the build project.ComputeType
public void setCertificateOverride(String certificateOverride)
The name of a certificate for this build that overrides the one specified in the build project.
certificateOverride
- The name of a certificate for this build that overrides the one specified in the build project.public String getCertificateOverride()
The name of a certificate for this build that overrides the one specified in the build project.
public StartBuildRequest withCertificateOverride(String certificateOverride)
The name of a certificate for this build that overrides the one specified in the build project.
certificateOverride
- The name of a certificate for this build that overrides the one specified in the build project.public void setCacheOverride(ProjectCache cacheOverride)
A ProjectCache object specified for this build that overrides the one defined in the build project.
cacheOverride
- A ProjectCache object specified for this build that overrides the one defined in the build project.public ProjectCache getCacheOverride()
A ProjectCache object specified for this build that overrides the one defined in the build project.
public StartBuildRequest withCacheOverride(ProjectCache cacheOverride)
A ProjectCache object specified for this build that overrides the one defined in the build project.
cacheOverride
- A ProjectCache object specified for this build that overrides the one defined in the build project.public void setServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this build that overrides the one specified in the build project.
serviceRoleOverride
- The name of a service role for this build that overrides the one specified in the build project.public String getServiceRoleOverride()
The name of a service role for this build that overrides the one specified in the build project.
public StartBuildRequest withServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this build that overrides the one specified in the build project.
serviceRoleOverride
- The name of a service role for this build that overrides the one specified in the build project.public void setPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the build project.
privilegedModeOverride
- Enable this flag to override privileged mode in the build project.public Boolean getPrivilegedModeOverride()
Enable this flag to override privileged mode in the build project.
public StartBuildRequest withPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the build project.
privilegedModeOverride
- Enable this flag to override privileged mode in the build project.public Boolean isPrivilegedModeOverride()
Enable this flag to override privileged mode in the 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 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.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 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 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.public void setIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.
idempotencyToken
- A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The
token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild
request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.public String getIdempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.
public StartBuildRequest withIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.
idempotencyToken
- A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The
token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild
request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.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.