@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildBatch extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a batch build.
Constructor and Description |
---|
BuildBatch() |
Modifier and Type | Method and Description |
---|---|
BuildBatch |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the batch build.
|
BuildArtifacts |
getArtifacts()
A
BuildArtifacts object the defines the build artifacts for this batch build. |
ProjectBuildBatchConfig |
getBuildBatchConfig() |
Long |
getBuildBatchNumber()
The number of the batch build.
|
String |
getBuildBatchStatus()
The status of the batch build.
|
List<BuildGroup> |
getBuildGroups()
An array of
BuildGroup objects that define the build groups for the batch build. |
Integer |
getBuildTimeoutInMinutes()
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
|
ProjectCache |
getCache() |
Boolean |
getComplete()
Indicates if the batch build is complete.
|
String |
getCurrentPhase()
The current phase of the batch build.
|
Boolean |
getDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build.
|
String |
getEncryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.
|
Date |
getEndTime()
The date and time that the batch build ended.
|
ProjectEnvironment |
getEnvironment() |
List<ProjectFileSystemLocation> |
getFileSystemLocations()
An array of
ProjectFileSystemLocation objects for the batch build project. |
String |
getId()
The identifier of the batch build.
|
String |
getInitiator()
The entity that started the batch build.
|
LogsConfig |
getLogConfig() |
List<BuildBatchPhase> |
getPhases()
An array of
BuildBatchPhase objects the specify the phases of the batch build. |
String |
getProjectName()
The name of the batch build project.
|
Integer |
getQueuedTimeoutInMinutes()
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
|
String |
getResolvedSourceVersion()
The identifier of the resolved version of this batch build's source code.
|
List<BuildArtifacts> |
getSecondaryArtifacts()
An array of
BuildArtifacts objects the define the build artifacts for this batch build. |
List<ProjectSource> |
getSecondarySources()
An array of
ProjectSource objects that define the sources for the batch build. |
List<ProjectSourceVersion> |
getSecondarySourceVersions()
An array of
ProjectSourceVersion objects. |
String |
getServiceRole()
The name of a service role used for builds in the batch.
|
ProjectSource |
getSource() |
String |
getSourceVersion()
The identifier of the version of the source code to be built.
|
Date |
getStartTime()
The date and time that the batch build started.
|
VpcConfig |
getVpcConfig() |
int |
hashCode() |
Boolean |
isComplete()
Indicates if the batch build is complete.
|
Boolean |
isDebugSessionEnabled()
Specifies if session debugging is enabled for this batch build.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the batch build.
|
void |
setArtifacts(BuildArtifacts artifacts)
A
BuildArtifacts object the defines the build artifacts for this batch build. |
void |
setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig) |
void |
setBuildBatchNumber(Long buildBatchNumber)
The number of the batch build.
|
void |
setBuildBatchStatus(String buildBatchStatus)
The status of the batch build.
|
void |
setBuildGroups(Collection<BuildGroup> buildGroups)
An array of
BuildGroup objects that define the build groups for the batch build. |
void |
setBuildTimeoutInMinutes(Integer buildTimeoutInMinutes)
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
|
void |
setCache(ProjectCache cache) |
void |
setComplete(Boolean complete)
Indicates if the batch build is complete.
|
void |
setCurrentPhase(String currentPhase)
The current phase of the batch build.
|
void |
setDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build.
|
void |
setEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.
|
void |
setEndTime(Date endTime)
The date and time that the batch build ended.
|
void |
setEnvironment(ProjectEnvironment environment) |
void |
setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for the batch build project. |
void |
setId(String id)
The identifier of the batch build.
|
void |
setInitiator(String initiator)
The entity that started the batch build.
|
void |
setLogConfig(LogsConfig logConfig) |
void |
setPhases(Collection<BuildBatchPhase> phases)
An array of
BuildBatchPhase objects the specify the phases of the batch build. |
void |
setProjectName(String projectName)
The name of the batch build project.
|
void |
setQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
|
void |
setResolvedSourceVersion(String resolvedSourceVersion)
The identifier of the resolved version of this batch build's source code.
|
void |
setSecondaryArtifacts(Collection<BuildArtifacts> secondaryArtifacts)
An array of
BuildArtifacts objects the define the build artifacts for this batch build. |
void |
setSecondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects that define the sources for the batch build. |
void |
setSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
void |
setServiceRole(String serviceRole)
The name of a service role used for builds in the batch.
|
void |
setSource(ProjectSource source) |
void |
setSourceVersion(String sourceVersion)
The identifier of the version of the source code to be built.
|
void |
setStartTime(Date startTime)
The date and time that the batch build started.
|
void |
setVpcConfig(VpcConfig vpcConfig) |
String |
toString()
Returns a string representation of this object.
|
BuildBatch |
withArn(String arn)
The ARN of the batch build.
|
BuildBatch |
withArtifacts(BuildArtifacts artifacts)
A
BuildArtifacts object the defines the build artifacts for this batch build. |
BuildBatch |
withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig) |
BuildBatch |
withBuildBatchNumber(Long buildBatchNumber)
The number of the batch build.
|
BuildBatch |
withBuildBatchStatus(StatusType buildBatchStatus)
The status of the batch build.
|
BuildBatch |
withBuildBatchStatus(String buildBatchStatus)
The status of the batch build.
|
BuildBatch |
withBuildGroups(BuildGroup... buildGroups)
An array of
BuildGroup objects that define the build groups for the batch build. |
BuildBatch |
withBuildGroups(Collection<BuildGroup> buildGroups)
An array of
BuildGroup objects that define the build groups for the batch build. |
BuildBatch |
withBuildTimeoutInMinutes(Integer buildTimeoutInMinutes)
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
|
BuildBatch |
withCache(ProjectCache cache) |
BuildBatch |
withComplete(Boolean complete)
Indicates if the batch build is complete.
|
BuildBatch |
withCurrentPhase(String currentPhase)
The current phase of the batch build.
|
BuildBatch |
withDebugSessionEnabled(Boolean debugSessionEnabled)
Specifies if session debugging is enabled for this batch build.
|
BuildBatch |
withEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.
|
BuildBatch |
withEndTime(Date endTime)
The date and time that the batch build ended.
|
BuildBatch |
withEnvironment(ProjectEnvironment environment) |
BuildBatch |
withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for the batch build project. |
BuildBatch |
withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)
An array of
ProjectFileSystemLocation objects for the batch build project. |
BuildBatch |
withId(String id)
The identifier of the batch build.
|
BuildBatch |
withInitiator(String initiator)
The entity that started the batch build.
|
BuildBatch |
withLogConfig(LogsConfig logConfig) |
BuildBatch |
withPhases(BuildBatchPhase... phases)
An array of
BuildBatchPhase objects the specify the phases of the batch build. |
BuildBatch |
withPhases(Collection<BuildBatchPhase> phases)
An array of
BuildBatchPhase objects the specify the phases of the batch build. |
BuildBatch |
withProjectName(String projectName)
The name of the batch build project.
|
BuildBatch |
withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
|
BuildBatch |
withResolvedSourceVersion(String resolvedSourceVersion)
The identifier of the resolved version of this batch build's source code.
|
BuildBatch |
withSecondaryArtifacts(BuildArtifacts... secondaryArtifacts)
An array of
BuildArtifacts objects the define the build artifacts for this batch build. |
BuildBatch |
withSecondaryArtifacts(Collection<BuildArtifacts> secondaryArtifacts)
An array of
BuildArtifacts objects the define the build artifacts for this batch build. |
BuildBatch |
withSecondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects that define the sources for the batch build. |
BuildBatch |
withSecondarySources(ProjectSource... secondarySources)
An array of
ProjectSource objects that define the sources for the batch build. |
BuildBatch |
withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
BuildBatch |
withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
BuildBatch |
withServiceRole(String serviceRole)
The name of a service role used for builds in the batch.
|
BuildBatch |
withSource(ProjectSource source) |
BuildBatch |
withSourceVersion(String sourceVersion)
The identifier of the version of the source code to be built.
|
BuildBatch |
withStartTime(Date startTime)
The date and time that the batch build started.
|
BuildBatch |
withVpcConfig(VpcConfig vpcConfig) |
public void setId(String id)
The identifier of the batch build.
id
- The identifier of the batch build.public String getId()
The identifier of the batch build.
public BuildBatch withId(String id)
The identifier of the batch build.
id
- The identifier of the batch build.public void setArn(String arn)
The ARN of the batch build.
arn
- The ARN of the batch build.public String getArn()
The ARN of the batch build.
public BuildBatch withArn(String arn)
The ARN of the batch build.
arn
- The ARN of the batch build.public void setStartTime(Date startTime)
The date and time that the batch build started.
startTime
- The date and time that the batch build started.public Date getStartTime()
The date and time that the batch build started.
public BuildBatch withStartTime(Date startTime)
The date and time that the batch build started.
startTime
- The date and time that the batch build started.public void setEndTime(Date endTime)
The date and time that the batch build ended.
endTime
- The date and time that the batch build ended.public Date getEndTime()
The date and time that the batch build ended.
public BuildBatch withEndTime(Date endTime)
The date and time that the batch build ended.
endTime
- The date and time that the batch build ended.public void setCurrentPhase(String currentPhase)
The current phase of the batch build.
currentPhase
- The current phase of the batch build.public String getCurrentPhase()
The current phase of the batch build.
public BuildBatch withCurrentPhase(String currentPhase)
The current phase of the batch build.
currentPhase
- The current phase of the batch build.public void setBuildBatchStatus(String buildBatchStatus)
The status of the batch build.
buildBatchStatus
- The status of the batch build.StatusType
public String getBuildBatchStatus()
The status of the batch build.
StatusType
public BuildBatch withBuildBatchStatus(String buildBatchStatus)
The status of the batch build.
buildBatchStatus
- The status of the batch build.StatusType
public BuildBatch withBuildBatchStatus(StatusType buildBatchStatus)
The status of the batch build.
buildBatchStatus
- The status of the batch build.StatusType
public void setSourceVersion(String sourceVersion)
The identifier of the version of the source code to be built.
sourceVersion
- The identifier of the version of the source code to be built.public String getSourceVersion()
The identifier of the version of the source code to be built.
public BuildBatch withSourceVersion(String sourceVersion)
The identifier of the version of the source code to be built.
sourceVersion
- The identifier of the version of the source code to be built.public void setResolvedSourceVersion(String resolvedSourceVersion)
The identifier of the resolved version of this batch build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
resolvedSourceVersion
- The identifier of the resolved version of this batch build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
public String getResolvedSourceVersion()
The identifier of the resolved version of this batch build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
public BuildBatch withResolvedSourceVersion(String resolvedSourceVersion)
The identifier of the resolved version of this batch build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
resolvedSourceVersion
- The identifier of the resolved version of this batch build's source code.
For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
For CodePipeline, the source revision provided by CodePipeline.
For Amazon S3, this does not apply.
public void setProjectName(String projectName)
The name of the batch build project.
projectName
- The name of the batch build project.public String getProjectName()
The name of the batch build project.
public BuildBatch withProjectName(String projectName)
The name of the batch build project.
projectName
- The name of the batch build project.public List<BuildBatchPhase> getPhases()
An array of BuildBatchPhase
objects the specify the phases of the batch build.
BuildBatchPhase
objects the specify the phases of the batch build.public void setPhases(Collection<BuildBatchPhase> phases)
An array of BuildBatchPhase
objects the specify the phases of the batch build.
phases
- An array of BuildBatchPhase
objects the specify the phases of the batch build.public BuildBatch withPhases(BuildBatchPhase... phases)
An array of BuildBatchPhase
objects the specify the phases of the batch build.
NOTE: This method appends the values to the existing list (if any). Use
setPhases(java.util.Collection)
or withPhases(java.util.Collection)
if you want to override the
existing values.
phases
- An array of BuildBatchPhase
objects the specify the phases of the batch build.public BuildBatch withPhases(Collection<BuildBatchPhase> phases)
An array of BuildBatchPhase
objects the specify the phases of the batch build.
phases
- An array of BuildBatchPhase
objects the specify the phases of the batch build.public void setSource(ProjectSource source)
source
- public ProjectSource getSource()
public BuildBatch withSource(ProjectSource source)
source
- public List<ProjectSource> getSecondarySources()
An array of ProjectSource
objects that define the sources for the batch build.
ProjectSource
objects that define the sources for the batch build.public void setSecondarySources(Collection<ProjectSource> secondarySources)
An array of ProjectSource
objects that define the sources for the batch build.
secondarySources
- An array of ProjectSource
objects that define the sources for the batch build.public BuildBatch withSecondarySources(ProjectSource... secondarySources)
An array of ProjectSource
objects that define the sources for the batch build.
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySources(java.util.Collection)
or withSecondarySources(java.util.Collection)
if you
want to override the existing values.
secondarySources
- An array of ProjectSource
objects that define the sources for the batch build.public BuildBatch withSecondarySources(Collection<ProjectSource> secondarySources)
An array of ProjectSource
objects that define the sources for the batch build.
secondarySources
- An array of ProjectSource
objects that define the sources for the batch build.public List<ProjectSourceVersion> getSecondarySourceVersions()
An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
public void setSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
secondarySourceVersions
- An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
public BuildBatch withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)
An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySourceVersions(java.util.Collection)
or
withSecondarySourceVersions(java.util.Collection)
if you want to override the existing values.
secondarySourceVersions
- An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
public BuildBatch withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
secondarySourceVersions
- An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
of:
For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not specified, the default branch's HEAD commit ID is 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 is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
public void setArtifacts(BuildArtifacts artifacts)
A BuildArtifacts
object the defines the build artifacts for this batch build.
artifacts
- A BuildArtifacts
object the defines the build artifacts for this batch build.public BuildArtifacts getArtifacts()
A BuildArtifacts
object the defines the build artifacts for this batch build.
BuildArtifacts
object the defines the build artifacts for this batch build.public BuildBatch withArtifacts(BuildArtifacts artifacts)
A BuildArtifacts
object the defines the build artifacts for this batch build.
artifacts
- A BuildArtifacts
object the defines the build artifacts for this batch build.public List<BuildArtifacts> getSecondaryArtifacts()
An array of BuildArtifacts
objects the define the build artifacts for this batch build.
BuildArtifacts
objects the define the build artifacts for this batch build.public void setSecondaryArtifacts(Collection<BuildArtifacts> secondaryArtifacts)
An array of BuildArtifacts
objects the define the build artifacts for this batch build.
secondaryArtifacts
- An array of BuildArtifacts
objects the define the build artifacts for this batch build.public BuildBatch withSecondaryArtifacts(BuildArtifacts... secondaryArtifacts)
An array of BuildArtifacts
objects the define the build artifacts for this batch build.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryArtifacts(java.util.Collection)
or withSecondaryArtifacts(java.util.Collection)
if
you want to override the existing values.
secondaryArtifacts
- An array of BuildArtifacts
objects the define the build artifacts for this batch build.public BuildBatch withSecondaryArtifacts(Collection<BuildArtifacts> secondaryArtifacts)
An array of BuildArtifacts
objects the define the build artifacts for this batch build.
secondaryArtifacts
- An array of BuildArtifacts
objects the define the build artifacts for this batch build.public void setCache(ProjectCache cache)
cache
- public ProjectCache getCache()
public BuildBatch withCache(ProjectCache cache)
cache
- public void setEnvironment(ProjectEnvironment environment)
environment
- public ProjectEnvironment getEnvironment()
public BuildBatch withEnvironment(ProjectEnvironment environment)
environment
- public void setServiceRole(String serviceRole)
The name of a service role used for builds in the batch.
serviceRole
- The name of a service role used for builds in the batch.public String getServiceRole()
The name of a service role used for builds in the batch.
public BuildBatch withServiceRole(String serviceRole)
The name of a service role used for builds in the batch.
serviceRole
- The name of a service role used for builds in the batch.public void setLogConfig(LogsConfig logConfig)
logConfig
- public LogsConfig getLogConfig()
public BuildBatch withLogConfig(LogsConfig logConfig)
logConfig
- public void setBuildTimeoutInMinutes(Integer buildTimeoutInMinutes)
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
buildTimeoutInMinutes
- Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.public Integer getBuildTimeoutInMinutes()
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
public BuildBatch withBuildTimeoutInMinutes(Integer buildTimeoutInMinutes)
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
buildTimeoutInMinutes
- Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.public void setQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
queuedTimeoutInMinutes
- Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times
out.public Integer getQueuedTimeoutInMinutes()
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
public BuildBatch withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
queuedTimeoutInMinutes
- Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times
out.public void setComplete(Boolean complete)
Indicates if the batch build is complete.
complete
- Indicates if the batch build is complete.public Boolean getComplete()
Indicates if the batch build is complete.
public BuildBatch withComplete(Boolean complete)
Indicates if the batch build is complete.
complete
- Indicates if the batch build is complete.public Boolean isComplete()
Indicates if the batch build is complete.
public void setInitiator(String initiator)
The entity that started the batch build. Valid values include:
If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
initiator
- The entity that started the batch build. Valid values include:
If CodePipeline started the build, the pipeline's name (for example,
codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
public String getInitiator()
The entity that started the batch build. Valid values include:
If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
If CodePipeline started the build, the pipeline's name (for example,
codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
public BuildBatch withInitiator(String initiator)
The entity that started the batch build. Valid values include:
If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
initiator
- The entity that started the batch build. Valid values include:
If CodePipeline started the build, the pipeline's name (for example,
codepipeline/my-demo-pipeline
).
If a user started the build, the user's name.
If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
public void setVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public VpcConfig getVpcConfig()
public BuildBatch withVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public void setEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the batch 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>
).
encryptionKey
- The Key Management Service customer master key (CMK) to be used for encrypting the batch 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 getEncryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the batch 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 BuildBatch withEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the batch 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>
).
encryptionKey
- The Key Management Service customer master key (CMK) to be used for encrypting the batch 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 setBuildBatchNumber(Long buildBatchNumber)
The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
buildBatchNumber
- The number of the batch build. For each project, the buildBatchNumber
of its first batch
build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
does not change.public Long getBuildBatchNumber()
The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
buildBatchNumber
of its first batch
build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
does not change.public BuildBatch withBuildBatchNumber(Long buildBatchNumber)
The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
buildBatchNumber
- The number of the batch build. For each project, the buildBatchNumber
of its first batch
build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
does not change.public List<ProjectFileSystemLocation> getFileSystemLocations()
An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
,
location
, mountOptions
, mountPoint
, and type
of a
file system created using Amazon Elastic File System.public void setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public BuildBatch withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)
An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
NOTE: This method appends the values to the existing list (if any). Use
setFileSystemLocations(java.util.Collection)
or withFileSystemLocations(java.util.Collection)
if you want to override the existing values.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public BuildBatch withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for the batch build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public void setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
buildBatchConfig
- public ProjectBuildBatchConfig getBuildBatchConfig()
public BuildBatch withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
buildBatchConfig
- public List<BuildGroup> getBuildGroups()
An array of BuildGroup
objects that define the build groups for the batch build.
BuildGroup
objects that define the build groups for the batch build.public void setBuildGroups(Collection<BuildGroup> buildGroups)
An array of BuildGroup
objects that define the build groups for the batch build.
buildGroups
- An array of BuildGroup
objects that define the build groups for the batch build.public BuildBatch withBuildGroups(BuildGroup... buildGroups)
An array of BuildGroup
objects that define the build groups for the batch build.
NOTE: This method appends the values to the existing list (if any). Use
setBuildGroups(java.util.Collection)
or withBuildGroups(java.util.Collection)
if you want to
override the existing values.
buildGroups
- An array of BuildGroup
objects that define the build groups for the batch build.public BuildBatch withBuildGroups(Collection<BuildGroup> buildGroups)
An array of BuildGroup
objects that define the build groups for the batch build.
buildGroups
- An array of BuildGroup
objects that define the build groups for the batch build.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 BuildBatch 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 BuildBatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.