@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartBuildBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartBuildBatchRequest() |
Modifier and Type | Method and Description |
---|---|
StartBuildBatchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifactsOverride()
An array of
ProjectArtifacts objects that contains information about the build output artifact
overrides for the build project. |
ProjectBuildBatchConfig |
getBuildBatchConfigOverride()
A
BuildBatchConfigOverride object that contains batch build configuration overrides. |
String |
getBuildspecOverride()
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build
project.
|
Integer |
getBuildTimeoutInMinutesOverride()
Overrides the build timeout specified in the batch build project.
|
ProjectCache |
getCacheOverride()
A
ProjectCache object that specifies cache overrides. |
String |
getCertificateOverride()
The name of a certificate for this batch build that overrides the one specified in the batch build project.
|
String |
getComputeTypeOverride()
The name of a compute type for this batch build that overrides the one specified in the batch build project.
|
Boolean |
getDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build.
|
String |
getEncryptionKeyOverride()
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project.
|
String |
getEnvironmentTypeOverride()
A container type for this batch build that overrides the one specified in the batch build project.
|
List<EnvironmentVariable> |
getEnvironmentVariablesOverride()
An array of
EnvironmentVariable objects that override, or add to, the environment variables defined
in the batch build project. |
Integer |
getGitCloneDepthOverride()
The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any
previous depth of history defined in the batch build project.
|
GitSubmodulesConfig |
getGitSubmodulesConfigOverride()
A
GitSubmodulesConfig object that overrides the Git submodules configuration for this batch build. |
String |
getIdempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the
StartBuildBatch
request. |
String |
getImageOverride()
The name of an image for this batch build that overrides the one specified in the batch build project.
|
String |
getImagePullCredentialsTypeOverride()
The type of credentials CodeBuild uses to pull images in your batch build.
|
Boolean |
getInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the batch build project.
|
LogsConfig |
getLogsConfigOverride()
A
LogsConfig object that override the log settings defined in the batch build project. |
Boolean |
getPrivilegedModeOverride()
Enable this flag to override privileged mode in the batch build project.
|
String |
getProjectName()
The name of the project.
|
Integer |
getQueuedTimeoutInMinutesOverride()
The number of minutes a batch build is allowed to be queued before it times out.
|
RegistryCredential |
getRegistryCredentialOverride()
A
RegistryCredential object that overrides credentials for access to a private registry. |
Boolean |
getReportBuildBatchStatusOverride()
Set to
true to report to your source provider the status of a batch build's start and completion. |
List<ProjectArtifacts> |
getSecondaryArtifactsOverride()
An array of
ProjectArtifacts objects that override the secondary artifacts defined in the batch
build project. |
List<ProjectSource> |
getSecondarySourcesOverride()
An array of
ProjectSource objects that override the secondary sources defined in the batch build
project. |
List<ProjectSourceVersion> |
getSecondarySourcesVersionOverride()
An array of
ProjectSourceVersion objects that override the secondary source versions in the batch
build project. |
String |
getServiceRoleOverride()
The name of a service role for this batch build that overrides the one specified in the batch build project.
|
SourceAuth |
getSourceAuthOverride()
A
SourceAuth object that overrides the one defined in the batch build project. |
String |
getSourceLocationOverride()
A location that overrides, for this batch build, the source location defined in the batch build project.
|
String |
getSourceTypeOverride()
The source input type that overrides the source input defined in the batch build project.
|
String |
getSourceVersion()
The version of the batch build input to be built, for this build only.
|
int |
hashCode() |
Boolean |
isDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build.
|
Boolean |
isInsecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the batch build project.
|
Boolean |
isPrivilegedModeOverride()
Enable this flag to override privileged mode in the batch build project.
|
Boolean |
isReportBuildBatchStatusOverride()
Set to
true to report to your source provider the status of a batch build's start and completion. |
void |
setArtifactsOverride(ProjectArtifacts artifactsOverride)
An array of
ProjectArtifacts objects that contains information about the build output artifact
overrides for the build project. |
void |
setBuildBatchConfigOverride(ProjectBuildBatchConfig buildBatchConfigOverride)
A
BuildBatchConfigOverride object that contains batch build configuration overrides. |
void |
setBuildspecOverride(String buildspecOverride)
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build
project.
|
void |
setBuildTimeoutInMinutesOverride(Integer buildTimeoutInMinutesOverride)
Overrides the build timeout specified in the batch build project.
|
void |
setCacheOverride(ProjectCache cacheOverride)
A
ProjectCache object that specifies cache overrides. |
void |
setCertificateOverride(String certificateOverride)
The name of a certificate for this batch build that overrides the one specified in the batch build project.
|
void |
setComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
|
void |
setDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build.
|
void |
setEncryptionKeyOverride(String encryptionKeyOverride)
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project.
|
void |
setEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
|
void |
setEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
An array of
EnvironmentVariable objects that override, or add to, the environment variables defined
in the batch build project. |
void |
setGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any
previous depth of history defined in the batch build project.
|
void |
setGitSubmodulesConfigOverride(GitSubmodulesConfig gitSubmodulesConfigOverride)
A
GitSubmodulesConfig object that overrides the Git submodules configuration for this batch build. |
void |
setIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the
StartBuildBatch
request. |
void |
setImageOverride(String imageOverride)
The name of an image for this batch build that overrides the one specified in the batch build project.
|
void |
setImagePullCredentialsTypeOverride(String imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build.
|
void |
setInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the batch build project.
|
void |
setLogsConfigOverride(LogsConfig logsConfigOverride)
A
LogsConfig object that override the log settings defined in the batch build project. |
void |
setPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the batch build project.
|
void |
setProjectName(String projectName)
The name of the project.
|
void |
setQueuedTimeoutInMinutesOverride(Integer queuedTimeoutInMinutesOverride)
The number of minutes a batch build is allowed to be queued before it times out.
|
void |
setRegistryCredentialOverride(RegistryCredential registryCredentialOverride)
A
RegistryCredential object that overrides credentials for access to a private registry. |
void |
setReportBuildBatchStatusOverride(Boolean reportBuildBatchStatusOverride)
Set to
true to report to your source provider the status of a batch build's start and completion. |
void |
setSecondaryArtifactsOverride(Collection<ProjectArtifacts> secondaryArtifactsOverride)
An array of
ProjectArtifacts objects that override the secondary artifacts defined in the batch
build project. |
void |
setSecondarySourcesOverride(Collection<ProjectSource> secondarySourcesOverride)
An array of
ProjectSource objects that override the secondary sources defined in the batch build
project. |
void |
setSecondarySourcesVersionOverride(Collection<ProjectSourceVersion> secondarySourcesVersionOverride)
An array of
ProjectSourceVersion objects that override the secondary source versions in the batch
build project. |
void |
setServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this batch build that overrides the one specified in the batch build project.
|
void |
setSourceAuthOverride(SourceAuth sourceAuthOverride)
A
SourceAuth object that overrides the one defined in the batch build project. |
void |
setSourceLocationOverride(String sourceLocationOverride)
A location that overrides, for this batch build, the source location defined in the batch build project.
|
void |
setSourceTypeOverride(String sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
|
void |
setSourceVersion(String sourceVersion)
The version of the batch build input to be built, for this build only.
|
String |
toString()
Returns a string representation of this object.
|
StartBuildBatchRequest |
withArtifactsOverride(ProjectArtifacts artifactsOverride)
An array of
ProjectArtifacts objects that contains information about the build output artifact
overrides for the build project. |
StartBuildBatchRequest |
withBuildBatchConfigOverride(ProjectBuildBatchConfig buildBatchConfigOverride)
A
BuildBatchConfigOverride object that contains batch build configuration overrides. |
StartBuildBatchRequest |
withBuildspecOverride(String buildspecOverride)
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build
project.
|
StartBuildBatchRequest |
withBuildTimeoutInMinutesOverride(Integer buildTimeoutInMinutesOverride)
Overrides the build timeout specified in the batch build project.
|
StartBuildBatchRequest |
withCacheOverride(ProjectCache cacheOverride)
A
ProjectCache object that specifies cache overrides. |
StartBuildBatchRequest |
withCertificateOverride(String certificateOverride)
The name of a certificate for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withComputeTypeOverride(ComputeType computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build.
|
StartBuildBatchRequest |
withEncryptionKeyOverride(String encryptionKeyOverride)
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withEnvironmentTypeOverride(EnvironmentType environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
An array of
EnvironmentVariable objects that override, or add to, the environment variables defined
in the batch build project. |
StartBuildBatchRequest |
withEnvironmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
An array of
EnvironmentVariable objects that override, or add to, the environment variables defined
in the batch build project. |
StartBuildBatchRequest |
withGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any
previous depth of history defined in the batch build project.
|
StartBuildBatchRequest |
withGitSubmodulesConfigOverride(GitSubmodulesConfig gitSubmodulesConfigOverride)
A
GitSubmodulesConfig object that overrides the Git submodules configuration for this batch build. |
StartBuildBatchRequest |
withIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the
StartBuildBatch
request. |
StartBuildBatchRequest |
withImageOverride(String imageOverride)
The name of an image for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withImagePullCredentialsTypeOverride(ImagePullCredentialsType imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build.
|
StartBuildBatchRequest |
withImagePullCredentialsTypeOverride(String imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build.
|
StartBuildBatchRequest |
withInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the batch build project.
|
StartBuildBatchRequest |
withLogsConfigOverride(LogsConfig logsConfigOverride)
A
LogsConfig object that override the log settings defined in the batch build project. |
StartBuildBatchRequest |
withPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the batch build project.
|
StartBuildBatchRequest |
withProjectName(String projectName)
The name of the project.
|
StartBuildBatchRequest |
withQueuedTimeoutInMinutesOverride(Integer queuedTimeoutInMinutesOverride)
The number of minutes a batch build is allowed to be queued before it times out.
|
StartBuildBatchRequest |
withRegistryCredentialOverride(RegistryCredential registryCredentialOverride)
A
RegistryCredential object that overrides credentials for access to a private registry. |
StartBuildBatchRequest |
withReportBuildBatchStatusOverride(Boolean reportBuildBatchStatusOverride)
Set to
true to report to your source provider the status of a batch build's start and completion. |
StartBuildBatchRequest |
withSecondaryArtifactsOverride(Collection<ProjectArtifacts> secondaryArtifactsOverride)
An array of
ProjectArtifacts objects that override the secondary artifacts defined in the batch
build project. |
StartBuildBatchRequest |
withSecondaryArtifactsOverride(ProjectArtifacts... secondaryArtifactsOverride)
An array of
ProjectArtifacts objects that override the secondary artifacts defined in the batch
build project. |
StartBuildBatchRequest |
withSecondarySourcesOverride(Collection<ProjectSource> secondarySourcesOverride)
An array of
ProjectSource objects that override the secondary sources defined in the batch build
project. |
StartBuildBatchRequest |
withSecondarySourcesOverride(ProjectSource... secondarySourcesOverride)
An array of
ProjectSource objects that override the secondary sources defined in the batch build
project. |
StartBuildBatchRequest |
withSecondarySourcesVersionOverride(Collection<ProjectSourceVersion> secondarySourcesVersionOverride)
An array of
ProjectSourceVersion objects that override the secondary source versions in the batch
build project. |
StartBuildBatchRequest |
withSecondarySourcesVersionOverride(ProjectSourceVersion... secondarySourcesVersionOverride)
An array of
ProjectSourceVersion objects that override the secondary source versions in the batch
build project. |
StartBuildBatchRequest |
withServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this batch build that overrides the one specified in the batch build project.
|
StartBuildBatchRequest |
withSourceAuthOverride(SourceAuth sourceAuthOverride)
A
SourceAuth object that overrides the one defined in the batch build project. |
StartBuildBatchRequest |
withSourceLocationOverride(String sourceLocationOverride)
A location that overrides, for this batch build, the source location defined in the batch build project.
|
StartBuildBatchRequest |
withSourceTypeOverride(SourceType sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
|
StartBuildBatchRequest |
withSourceTypeOverride(String sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
|
StartBuildBatchRequest |
withSourceVersion(String sourceVersion)
The version of the batch build input to be built, for this build only.
|
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 project.
projectName
- The name of the project.public String getProjectName()
The name of the project.
public StartBuildBatchRequest withProjectName(String projectName)
The name of the project.
projectName
- The name of the project.public List<ProjectSource> getSecondarySourcesOverride()
An array of ProjectSource
objects that override the secondary sources defined in the batch build
project.
ProjectSource
objects that override the secondary sources defined in the batch
build project.public void setSecondarySourcesOverride(Collection<ProjectSource> secondarySourcesOverride)
An array of ProjectSource
objects that override the secondary sources defined in the batch build
project.
secondarySourcesOverride
- An array of ProjectSource
objects that override the secondary sources defined in the batch
build project.public StartBuildBatchRequest withSecondarySourcesOverride(ProjectSource... secondarySourcesOverride)
An array of ProjectSource
objects that override the secondary sources defined in the batch build
project.
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySourcesOverride(java.util.Collection)
or
withSecondarySourcesOverride(java.util.Collection)
if you want to override the existing values.
secondarySourcesOverride
- An array of ProjectSource
objects that override the secondary sources defined in the batch
build project.public StartBuildBatchRequest withSecondarySourcesOverride(Collection<ProjectSource> secondarySourcesOverride)
An array of ProjectSource
objects that override the secondary sources defined in the batch build
project.
secondarySourcesOverride
- An array of ProjectSource
objects that override the secondary sources defined in the batch
build project.public List<ProjectSourceVersion> getSecondarySourcesVersionOverride()
An array of ProjectSourceVersion
objects that override the secondary source versions in the batch
build project.
ProjectSourceVersion
objects that override the secondary source versions in the
batch build project.public void setSecondarySourcesVersionOverride(Collection<ProjectSourceVersion> secondarySourcesVersionOverride)
An array of ProjectSourceVersion
objects that override the secondary source versions in the batch
build project.
secondarySourcesVersionOverride
- An array of ProjectSourceVersion
objects that override the secondary source versions in the
batch build project.public StartBuildBatchRequest withSecondarySourcesVersionOverride(ProjectSourceVersion... secondarySourcesVersionOverride)
An array of ProjectSourceVersion
objects that override the secondary source versions in the batch
build project.
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySourcesVersionOverride(java.util.Collection)
or
withSecondarySourcesVersionOverride(java.util.Collection)
if you want to override the existing values.
secondarySourcesVersionOverride
- An array of ProjectSourceVersion
objects that override the secondary source versions in the
batch build project.public StartBuildBatchRequest withSecondarySourcesVersionOverride(Collection<ProjectSourceVersion> secondarySourcesVersionOverride)
An array of ProjectSourceVersion
objects that override the secondary source versions in the batch
build project.
secondarySourcesVersionOverride
- An array of ProjectSourceVersion
objects that override the secondary source versions in the
batch build project.public void setSourceVersion(String sourceVersion)
The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:
The commit ID, branch, or Git tag to use.
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 is used. If not
specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at the
build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
sourceVersion
- The version of the batch build input to be built, for this build only. If not specified, the latest
version is used. If specified, the contents depends on the source provider:
The commit ID, branch, or Git tag to use.
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 is used. If not specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at
the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public String getSourceVersion()
The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:
The commit ID, branch, or Git tag to use.
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 is used. If not
specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at the
build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
The commit ID, branch, or Git tag to use.
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 is used. If not specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at
the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public StartBuildBatchRequest withSourceVersion(String sourceVersion)
The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:
The commit ID, branch, or Git tag to use.
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 is used. If not
specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at the
build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
sourceVersion
- The version of the batch build input to be built, for this build only. If not specified, the latest
version is used. If specified, the contents depends on the source provider:
The commit ID, branch, or Git tag to use.
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 is used. If not specified, the default branch's HEAD commit ID is used.
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 is used. If not specified, the default branch's HEAD commit ID is used.
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at
the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public void setArtifactsOverride(ProjectArtifacts artifactsOverride)
An array of ProjectArtifacts
objects that contains information about the build output artifact
overrides for the build project.
artifactsOverride
- An array of ProjectArtifacts
objects that contains information about the build output
artifact overrides for the build project.public ProjectArtifacts getArtifactsOverride()
An array of ProjectArtifacts
objects that contains information about the build output artifact
overrides for the build project.
ProjectArtifacts
objects that contains information about the build output
artifact overrides for the build project.public StartBuildBatchRequest withArtifactsOverride(ProjectArtifacts artifactsOverride)
An array of ProjectArtifacts
objects that contains information about the build output artifact
overrides for the build project.
artifactsOverride
- An array of ProjectArtifacts
objects that contains information about the build output
artifact overrides for the build project.public List<ProjectArtifacts> getSecondaryArtifactsOverride()
An array of ProjectArtifacts
objects that override the secondary artifacts defined in the batch
build project.
ProjectArtifacts
objects that override the secondary artifacts defined in the
batch build project.public void setSecondaryArtifactsOverride(Collection<ProjectArtifacts> secondaryArtifactsOverride)
An array of ProjectArtifacts
objects that override the secondary artifacts defined in the batch
build project.
secondaryArtifactsOverride
- An array of ProjectArtifacts
objects that override the secondary artifacts defined in the
batch build project.public StartBuildBatchRequest withSecondaryArtifactsOverride(ProjectArtifacts... secondaryArtifactsOverride)
An array of ProjectArtifacts
objects that override the secondary artifacts defined in the batch
build project.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryArtifactsOverride(java.util.Collection)
or
withSecondaryArtifactsOverride(java.util.Collection)
if you want to override the existing values.
secondaryArtifactsOverride
- An array of ProjectArtifacts
objects that override the secondary artifacts defined in the
batch build project.public StartBuildBatchRequest withSecondaryArtifactsOverride(Collection<ProjectArtifacts> secondaryArtifactsOverride)
An array of ProjectArtifacts
objects that override the secondary artifacts defined in the batch
build project.
secondaryArtifactsOverride
- An array of ProjectArtifacts
objects that override the secondary artifacts defined in the
batch build project.public List<EnvironmentVariable> getEnvironmentVariablesOverride()
An array of EnvironmentVariable
objects that override, or add to, the environment variables defined
in the batch build project.
EnvironmentVariable
objects that override, or add to, the environment variables
defined in the batch build project.public void setEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
An array of EnvironmentVariable
objects that override, or add to, the environment variables defined
in the batch build project.
environmentVariablesOverride
- An array of EnvironmentVariable
objects that override, or add to, the environment variables
defined in the batch build project.public StartBuildBatchRequest withEnvironmentVariablesOverride(EnvironmentVariable... environmentVariablesOverride)
An array of EnvironmentVariable
objects that override, or add to, the environment variables defined
in the batch 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
- An array of EnvironmentVariable
objects that override, or add to, the environment variables
defined in the batch build project.public StartBuildBatchRequest withEnvironmentVariablesOverride(Collection<EnvironmentVariable> environmentVariablesOverride)
An array of EnvironmentVariable
objects that override, or add to, the environment variables defined
in the batch build project.
environmentVariablesOverride
- An array of EnvironmentVariable
objects that override, or add to, the environment variables
defined in the batch build project.public void setSourceTypeOverride(String sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
sourceTypeOverride
- The source input type that overrides the source input defined in the batch build project.SourceType
public String getSourceTypeOverride()
The source input type that overrides the source input defined in the batch build project.
SourceType
public StartBuildBatchRequest withSourceTypeOverride(String sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
sourceTypeOverride
- The source input type that overrides the source input defined in the batch build project.SourceType
public StartBuildBatchRequest withSourceTypeOverride(SourceType sourceTypeOverride)
The source input type that overrides the source input defined in the batch build project.
sourceTypeOverride
- The source input type that overrides the source input defined in the batch build project.SourceType
public void setSourceLocationOverride(String sourceLocationOverride)
A location that overrides, for this batch build, the source location defined in the batch build project.
sourceLocationOverride
- A location that overrides, for this batch build, the source location defined in the batch build project.public String getSourceLocationOverride()
A location that overrides, for this batch build, the source location defined in the batch build project.
public StartBuildBatchRequest withSourceLocationOverride(String sourceLocationOverride)
A location that overrides, for this batch build, the source location defined in the batch build project.
sourceLocationOverride
- A location that overrides, for this batch build, the source location defined in the batch build project.public void setSourceAuthOverride(SourceAuth sourceAuthOverride)
A SourceAuth
object that overrides the one defined in the batch build project. This override applies
only if the build project's source is BitBucket or GitHub.
sourceAuthOverride
- A SourceAuth
object that overrides the one defined in the batch build project. This override
applies only if the build project's source is BitBucket or GitHub.public SourceAuth getSourceAuthOverride()
A SourceAuth
object that overrides the one defined in the batch build project. This override applies
only if the build project's source is BitBucket or GitHub.
SourceAuth
object that overrides the one defined in the batch build project. This override
applies only if the build project's source is BitBucket or GitHub.public StartBuildBatchRequest withSourceAuthOverride(SourceAuth sourceAuthOverride)
A SourceAuth
object that overrides the one defined in the batch build project. This override applies
only if the build project's source is BitBucket or GitHub.
sourceAuthOverride
- A SourceAuth
object that overrides the one defined in the batch 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 batch build only, any previous depth of history defined in the batch build project.
gitCloneDepthOverride
- The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only,
any previous depth of history defined in the batch build project.public Integer getGitCloneDepthOverride()
The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any previous depth of history defined in the batch build project.
public StartBuildBatchRequest withGitCloneDepthOverride(Integer gitCloneDepthOverride)
The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any previous depth of history defined in the batch build project.
gitCloneDepthOverride
- The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only,
any previous depth of history defined in the batch build project.public void setGitSubmodulesConfigOverride(GitSubmodulesConfig gitSubmodulesConfigOverride)
A GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch build.
gitSubmodulesConfigOverride
- A GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch
build.public GitSubmodulesConfig getGitSubmodulesConfigOverride()
A GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch build.
GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch
build.public StartBuildBatchRequest withGitSubmodulesConfigOverride(GitSubmodulesConfig gitSubmodulesConfigOverride)
A GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch build.
gitSubmodulesConfigOverride
- A GitSubmodulesConfig
object that overrides the Git submodules configuration for this batch
build.public void setBuildspecOverride(String buildspecOverride)
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file
relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the path to an S3
bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec
file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is
not provided or is set to an empty string, the source code must contain a buildspec file in its root directory.
For more information, see Buildspec File Name and Storage Location.
buildspecOverride
- A buildspec file declaration that overrides, for this build only, the latest one already defined in the
build project.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec
file relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the
path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project.
Specify the buildspec file using its ARN (for example,
arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not provided or is set to
an empty string, the source code must contain a buildspec file in its root directory. For more
information, see Buildspec File Name and Storage Location.
public String getBuildspecOverride()
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file
relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the path to an S3
bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec
file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is
not provided or is set to an empty string, the source code must contain a buildspec file in its root directory.
For more information, see Buildspec File Name and Storage Location.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec
file relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the
path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project.
Specify the buildspec file using its ARN (for example,
arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not provided or is set to
an empty string, the source code must contain a buildspec file in its root directory. For more
information, see Buildspec File Name and Storage Location.
public StartBuildBatchRequest withBuildspecOverride(String buildspecOverride)
A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file
relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the path to an S3
bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec
file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is
not provided or is set to an empty string, the source code must contain a buildspec file in its root directory.
For more information, see Buildspec File Name and Storage Location.
buildspecOverride
- A buildspec file declaration that overrides, for this build only, the latest one already defined in the
build project.
If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec
file relative to the value of the built-in CODEBUILD_SRC_DIR
environment variable, or the
path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project.
Specify the buildspec file using its ARN (for example,
arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not provided or is set to
an empty string, the source code must contain a buildspec file in its root directory. For more
information, see Buildspec File Name and Storage Location.
public void setInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the batch 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 batch 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 batch 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 StartBuildBatchRequest withInsecureSslOverride(Boolean insecureSslOverride)
Enable this flag to override the insecure SSL setting that is specified in the batch 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 batch 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 batch 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 setReportBuildBatchStatusOverride(Boolean reportBuildBatchStatusOverride)
Set to true
to report to your source provider the status of a batch build's start and completion. If
you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
invalidInputException
is thrown.
The status of a build triggered by a webhook is always reported to your source provider.
reportBuildBatchStatusOverride
- Set to true
to report to your source provider the status of a batch build's start and
completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or
Bitbucket, an invalidInputException
is thrown. The status of a build triggered by a webhook is always reported to your source provider.
public Boolean getReportBuildBatchStatusOverride()
Set to true
to report to your source provider the status of a batch build's start and completion. If
you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
invalidInputException
is thrown.
The status of a build triggered by a webhook is always reported to your source provider.
true
to report to your source provider the status of a batch build's start and
completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or
Bitbucket, an invalidInputException
is thrown. The status of a build triggered by a webhook is always reported to your source provider.
public StartBuildBatchRequest withReportBuildBatchStatusOverride(Boolean reportBuildBatchStatusOverride)
Set to true
to report to your source provider the status of a batch build's start and completion. If
you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
invalidInputException
is thrown.
The status of a build triggered by a webhook is always reported to your source provider.
reportBuildBatchStatusOverride
- Set to true
to report to your source provider the status of a batch build's start and
completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or
Bitbucket, an invalidInputException
is thrown. The status of a build triggered by a webhook is always reported to your source provider.
public Boolean isReportBuildBatchStatusOverride()
Set to true
to report to your source provider the status of a batch build's start and completion. If
you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
invalidInputException
is thrown.
The status of a build triggered by a webhook is always reported to your source provider.
true
to report to your source provider the status of a batch build's start and
completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or
Bitbucket, an invalidInputException
is thrown. The status of a build triggered by a webhook is always reported to your source provider.
public void setEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
environmentTypeOverride
- A container type for this batch build that overrides the one specified in the batch build project.EnvironmentType
public String getEnvironmentTypeOverride()
A container type for this batch build that overrides the one specified in the batch build project.
EnvironmentType
public StartBuildBatchRequest withEnvironmentTypeOverride(String environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
environmentTypeOverride
- A container type for this batch build that overrides the one specified in the batch build project.EnvironmentType
public StartBuildBatchRequest withEnvironmentTypeOverride(EnvironmentType environmentTypeOverride)
A container type for this batch build that overrides the one specified in the batch build project.
environmentTypeOverride
- A container type for this batch build that overrides the one specified in the batch build project.EnvironmentType
public void setImageOverride(String imageOverride)
The name of an image for this batch build that overrides the one specified in the batch build project.
imageOverride
- The name of an image for this batch build that overrides the one specified in the batch build project.public String getImageOverride()
The name of an image for this batch build that overrides the one specified in the batch build project.
public StartBuildBatchRequest withImageOverride(String imageOverride)
The name of an image for this batch build that overrides the one specified in the batch build project.
imageOverride
- The name of an image for this batch build that overrides the one specified in the batch build project.public void setComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
computeTypeOverride
- The name of a compute type for this batch build that overrides the one specified in the batch build
project.ComputeType
public String getComputeTypeOverride()
The name of a compute type for this batch build that overrides the one specified in the batch build project.
ComputeType
public StartBuildBatchRequest withComputeTypeOverride(String computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
computeTypeOverride
- The name of a compute type for this batch build that overrides the one specified in the batch build
project.ComputeType
public StartBuildBatchRequest withComputeTypeOverride(ComputeType computeTypeOverride)
The name of a compute type for this batch build that overrides the one specified in the batch build project.
computeTypeOverride
- The name of a compute type for this batch build that overrides the one specified in the batch build
project.ComputeType
public void setCertificateOverride(String certificateOverride)
The name of a certificate for this batch build that overrides the one specified in the batch build project.
certificateOverride
- The name of a certificate for this batch build that overrides the one specified in the batch build
project.public String getCertificateOverride()
The name of a certificate for this batch build that overrides the one specified in the batch build project.
public StartBuildBatchRequest withCertificateOverride(String certificateOverride)
The name of a certificate for this batch build that overrides the one specified in the batch build project.
certificateOverride
- The name of a certificate for this batch build that overrides the one specified in the batch build
project.public void setCacheOverride(ProjectCache cacheOverride)
A ProjectCache
object that specifies cache overrides.
cacheOverride
- A ProjectCache
object that specifies cache overrides.public ProjectCache getCacheOverride()
A ProjectCache
object that specifies cache overrides.
ProjectCache
object that specifies cache overrides.public StartBuildBatchRequest withCacheOverride(ProjectCache cacheOverride)
A ProjectCache
object that specifies cache overrides.
cacheOverride
- A ProjectCache
object that specifies cache overrides.public void setServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this batch build that overrides the one specified in the batch build project.
serviceRoleOverride
- The name of a service role for this batch build that overrides the one specified in the batch build
project.public String getServiceRoleOverride()
The name of a service role for this batch build that overrides the one specified in the batch build project.
public StartBuildBatchRequest withServiceRoleOverride(String serviceRoleOverride)
The name of a service role for this batch build that overrides the one specified in the batch build project.
serviceRoleOverride
- The name of a service role for this batch build that overrides the one specified in the batch build
project.public void setPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the batch build project.
privilegedModeOverride
- Enable this flag to override privileged mode in the batch build project.public Boolean getPrivilegedModeOverride()
Enable this flag to override privileged mode in the batch build project.
public StartBuildBatchRequest withPrivilegedModeOverride(Boolean privilegedModeOverride)
Enable this flag to override privileged mode in the batch build project.
privilegedModeOverride
- Enable this flag to override privileged mode in the batch build project.public Boolean isPrivilegedModeOverride()
Enable this flag to override privileged mode in the batch build project.
public void setBuildTimeoutInMinutesOverride(Integer buildTimeoutInMinutesOverride)
Overrides the build timeout specified in the batch build project.
buildTimeoutInMinutesOverride
- Overrides the build timeout specified in the batch build project.public Integer getBuildTimeoutInMinutesOverride()
Overrides the build timeout specified in the batch build project.
public StartBuildBatchRequest withBuildTimeoutInMinutesOverride(Integer buildTimeoutInMinutesOverride)
Overrides the build timeout specified in the batch build project.
buildTimeoutInMinutesOverride
- Overrides the build timeout specified in the batch build project.public void setQueuedTimeoutInMinutesOverride(Integer queuedTimeoutInMinutesOverride)
The number of minutes a batch build is allowed to be queued before it times out.
queuedTimeoutInMinutesOverride
- The number of minutes a batch build is allowed to be queued before it times out.public Integer getQueuedTimeoutInMinutesOverride()
The number of minutes a batch build is allowed to be queued before it times out.
public StartBuildBatchRequest withQueuedTimeoutInMinutesOverride(Integer queuedTimeoutInMinutesOverride)
The number of minutes a batch build is allowed to be queued before it times out.
queuedTimeoutInMinutesOverride
- The number of minutes a batch build is allowed to be queued before it times out.public void setEncryptionKeyOverride(String encryptionKeyOverride)
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project. The CMK key encrypts the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
format alias/<alias-name>
).
encryptionKeyOverride
- The Key Management Service customer master key (CMK) that overrides the one specified in the batch build
project. The CMK key encrypts the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
the format alias/<alias-name>
).
public String getEncryptionKeyOverride()
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project. The CMK key encrypts the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
format alias/<alias-name>
).
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
the format alias/<alias-name>
).
public StartBuildBatchRequest withEncryptionKeyOverride(String encryptionKeyOverride)
The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project. The CMK key encrypts the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
format alias/<alias-name>
).
encryptionKeyOverride
- The Key Management Service customer master key (CMK) that overrides the one specified in the batch build
project. The CMK key encrypts the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
the format alias/<alias-name>
).
public void setIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuildBatch
request. The token is included in the StartBuildBatch
request and is valid for five minutes. If you
repeat the StartBuildBatch
request with the same token, but change a parameter, CodeBuild returns a
parameter mismatch error.
idempotencyToken
- A unique, case sensitive identifier you provide to ensure the idempotency of the
StartBuildBatch
request. The token is included in the StartBuildBatch
request
and is valid for five minutes. If you repeat the StartBuildBatch
request with the same token,
but change a parameter, CodeBuild returns a parameter mismatch error.public String getIdempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuildBatch
request. The token is included in the StartBuildBatch
request and is valid for five minutes. If you
repeat the StartBuildBatch
request with the same token, but change a parameter, CodeBuild returns a
parameter mismatch error.
StartBuildBatch
request. The token is included in the StartBuildBatch
request
and is valid for five minutes. If you repeat the StartBuildBatch
request with the same
token, but change a parameter, CodeBuild returns a parameter mismatch error.public StartBuildBatchRequest withIdempotencyToken(String idempotencyToken)
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuildBatch
request. The token is included in the StartBuildBatch
request and is valid for five minutes. If you
repeat the StartBuildBatch
request with the same token, but change a parameter, CodeBuild returns a
parameter mismatch error.
idempotencyToken
- A unique, case sensitive identifier you provide to ensure the idempotency of the
StartBuildBatch
request. The token is included in the StartBuildBatch
request
and is valid for five minutes. If you repeat the StartBuildBatch
request with the same token,
but change a parameter, CodeBuild returns a parameter mismatch error.public void setLogsConfigOverride(LogsConfig logsConfigOverride)
A LogsConfig
object that override the log settings defined in the batch build project.
logsConfigOverride
- A LogsConfig
object that override the log settings defined in the batch build project.public LogsConfig getLogsConfigOverride()
A LogsConfig
object that override the log settings defined in the batch build project.
LogsConfig
object that override the log settings defined in the batch build project.public StartBuildBatchRequest withLogsConfigOverride(LogsConfig logsConfigOverride)
A LogsConfig
object that override the log settings defined in the batch build project.
logsConfigOverride
- A LogsConfig
object that override the log settings defined in the batch build project.public void setRegistryCredentialOverride(RegistryCredential registryCredentialOverride)
A RegistryCredential
object that overrides credentials for access to a private registry.
registryCredentialOverride
- A RegistryCredential
object that overrides credentials for access to a private registry.public RegistryCredential getRegistryCredentialOverride()
A RegistryCredential
object that overrides credentials for access to a private registry.
RegistryCredential
object that overrides credentials for access to a private registry.public StartBuildBatchRequest withRegistryCredentialOverride(RegistryCredential registryCredentialOverride)
A RegistryCredential
object that overrides credentials for access to a private registry.
registryCredentialOverride
- A RegistryCredential
object that overrides credentials for access to a private registry.public void setImagePullCredentialsTypeOverride(String imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials. When
using an CodeBuild curated image, you must use CODEBUILD
credentials.
imagePullCredentialsTypeOverride
- The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials.
When using an CodeBuild curated image, you must use CODEBUILD
credentials.
ImagePullCredentialsType
public String getImagePullCredentialsTypeOverride()
The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials. When
using an CodeBuild curated image, you must use CODEBUILD
credentials.
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials.
When using an CodeBuild curated image, you must use CODEBUILD
credentials.
ImagePullCredentialsType
public StartBuildBatchRequest withImagePullCredentialsTypeOverride(String imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials. When
using an CodeBuild curated image, you must use CODEBUILD
credentials.
imagePullCredentialsTypeOverride
- The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials.
When using an CodeBuild curated image, you must use CODEBUILD
credentials.
ImagePullCredentialsType
public StartBuildBatchRequest withImagePullCredentialsTypeOverride(ImagePullCredentialsType imagePullCredentialsTypeOverride)
The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials. When
using an CodeBuild curated image, you must use CODEBUILD
credentials.
imagePullCredentialsTypeOverride
- The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:
Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.
Specifies that CodeBuild uses your build project's service role.
When using a cross-account or private registry image, you must use SERVICE_ROLE
credentials.
When using an CodeBuild curated image, you must use CODEBUILD
credentials.
ImagePullCredentialsType
public void setBuildBatchConfigOverride(ProjectBuildBatchConfig buildBatchConfigOverride)
A BuildBatchConfigOverride
object that contains batch build configuration overrides.
buildBatchConfigOverride
- A BuildBatchConfigOverride
object that contains batch build configuration overrides.public ProjectBuildBatchConfig getBuildBatchConfigOverride()
A BuildBatchConfigOverride
object that contains batch build configuration overrides.
BuildBatchConfigOverride
object that contains batch build configuration overrides.public StartBuildBatchRequest withBuildBatchConfigOverride(ProjectBuildBatchConfig buildBatchConfigOverride)
A BuildBatchConfigOverride
object that contains batch build configuration overrides.
buildBatchConfigOverride
- A BuildBatchConfigOverride
object that contains batch build configuration overrides.public void setDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
debugSessionEnabled
- Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build
in Session Manager. Batch session debugging is not supported for matrix batch builds.public Boolean getDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
public StartBuildBatchRequest withDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
debugSessionEnabled
- Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build
in Session Manager. Batch session debugging is not supported for matrix batch builds.public Boolean isDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
public String toString()
toString
in class Object
Object.toString()
public StartBuildBatchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()