Interface BuildBatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BuildBatch.Builder,,BuildBatch> SdkBuilder<BuildBatch.Builder,,BuildBatch> SdkPojo
- Enclosing class:
BuildBatch
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the batch build.default BuildBatch.Builderartifacts(Consumer<BuildArtifacts.Builder> artifacts) ABuildArtifactsobject the defines the build artifacts for this batch build.artifacts(BuildArtifacts artifacts) ABuildArtifactsobject the defines the build artifacts for this batch build.default BuildBatch.BuilderbuildBatchConfig(Consumer<ProjectBuildBatchConfig.Builder> buildBatchConfig) Sets the value of the BuildBatchConfig property for this object.buildBatchConfig(ProjectBuildBatchConfig buildBatchConfig) Sets the value of the BuildBatchConfig property for this object.buildBatchNumber(Long buildBatchNumber) The number of the batch build.buildBatchStatus(String buildBatchStatus) The status of the batch build.buildBatchStatus(StatusType buildBatchStatus) The status of the batch build.buildGroups(Collection<BuildGroup> buildGroups) An array ofBuildGroupobjects that define the build groups for the batch build.buildGroups(Consumer<BuildGroup.Builder>... buildGroups) An array ofBuildGroupobjects that define the build groups for the batch build.buildGroups(BuildGroup... buildGroups) An array ofBuildGroupobjects that define the build groups for the batch build.buildTimeoutInMinutes(Integer buildTimeoutInMinutes) Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.default BuildBatch.Buildercache(Consumer<ProjectCache.Builder> cache) Sets the value of the Cache property for this object.cache(ProjectCache cache) Sets the value of the Cache property for this object.Indicates if the batch build is complete.currentPhase(String currentPhase) The current phase of the batch build.debugSessionEnabled(Boolean debugSessionEnabled) Specifies if session debugging is enabled for this batch build.encryptionKey(String encryptionKey) The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.The date and time that the batch build ended.default BuildBatch.Builderenvironment(Consumer<ProjectEnvironment.Builder> environment) Sets the value of the Environment property for this object.environment(ProjectEnvironment environment) Sets the value of the Environment property for this object.fileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations) An array ofProjectFileSystemLocationobjects for the batch build project.fileSystemLocations(Consumer<ProjectFileSystemLocation.Builder>... fileSystemLocations) An array ofProjectFileSystemLocationobjects for the batch build project.fileSystemLocations(ProjectFileSystemLocation... fileSystemLocations) An array ofProjectFileSystemLocationobjects for the batch build project.The identifier of the batch build.The entity that started the batch build.default BuildBatch.BuilderlogConfig(Consumer<LogsConfig.Builder> logConfig) Sets the value of the LogConfig property for this object.logConfig(LogsConfig logConfig) Sets the value of the LogConfig property for this object.phases(Collection<BuildBatchPhase> phases) An array ofBuildBatchPhaseobjects the specify the phases of the batch build.phases(Consumer<BuildBatchPhase.Builder>... phases) An array ofBuildBatchPhaseobjects the specify the phases of the batch build.phases(BuildBatchPhase... phases) An array ofBuildBatchPhaseobjects the specify the phases of the batch build.projectName(String projectName) The name of the batch build project.queuedTimeoutInMinutes(Integer queuedTimeoutInMinutes) Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.resolvedSourceVersion(String resolvedSourceVersion) The identifier of the resolved version of this batch build's source code.secondaryArtifacts(Collection<BuildArtifacts> secondaryArtifacts) An array ofBuildArtifactsobjects the define the build artifacts for this batch build.secondaryArtifacts(Consumer<BuildArtifacts.Builder>... secondaryArtifacts) An array ofBuildArtifactsobjects the define the build artifacts for this batch build.secondaryArtifacts(BuildArtifacts... secondaryArtifacts) An array ofBuildArtifactsobjects the define the build artifacts for this batch build.secondarySources(Collection<ProjectSource> secondarySources) An array ofProjectSourceobjects that define the sources for the batch build.secondarySources(Consumer<ProjectSource.Builder>... secondarySources) An array ofProjectSourceobjects that define the sources for the batch build.secondarySources(ProjectSource... secondarySources) An array ofProjectSourceobjects that define the sources for the batch build.secondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions) An array ofProjectSourceVersionobjects.secondarySourceVersions(Consumer<ProjectSourceVersion.Builder>... secondarySourceVersions) An array ofProjectSourceVersionobjects.secondarySourceVersions(ProjectSourceVersion... secondarySourceVersions) An array ofProjectSourceVersionobjects.serviceRole(String serviceRole) The name of a service role used for builds in the batch.default BuildBatch.Buildersource(Consumer<ProjectSource.Builder> source) Sets the value of the Source property for this object.source(ProjectSource source) Sets the value of the Source property for this object.sourceVersion(String sourceVersion) The identifier of the version of the source code to be built.The date and time that the batch build started.default BuildBatch.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) Sets the value of the VpcConfig property for this object.Sets the value of the VpcConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The identifier of the batch build.
- Parameters:
id- The identifier of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the batch build.
- Parameters:
arn- The ARN of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time that the batch build started.
- Parameters:
startTime- The date and time that the batch build started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time that the batch build ended.
- Parameters:
endTime- The date and time that the batch build ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPhase
The current phase of the batch build.
- Parameters:
currentPhase- The current phase of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatchStatus
The status of the batch build.
- Parameters:
buildBatchStatus- The status of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildBatchStatus
The status of the batch build.
- Parameters:
buildBatchStatus- The status of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceVersion
The identifier of the version of the source code to be built.
- Parameters:
sourceVersion- The identifier of the version of the source code to be built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
projectName
The name of the batch build project.
- Parameters:
projectName- The name of the batch build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
BuildBatchPhaseobjects the specify the phases of the batch build.- Parameters:
phases- An array ofBuildBatchPhaseobjects the specify the phases of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
BuildBatchPhaseobjects the specify the phases of the batch build.- Parameters:
phases- An array ofBuildBatchPhaseobjects the specify the phases of the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
This is a convenience method that creates an instance of theBuildBatchPhaseobjects the specify the phases of the batch build.BuildBatchPhase.Builderavoiding the need to create one manually viaBuildBatchPhase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophases(List<BuildBatchPhase>).- Parameters:
phases- a consumer that will call methods onBuildBatchPhase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Sets the value of the Source property for this object.- Parameters:
source- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theProjectSource.Builderavoiding the need to create one manually viaProjectSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ProjectSource).- Parameters:
source- a consumer that will call methods onProjectSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondarySources
An array of
ProjectSourceobjects that define the sources for the batch build.- Parameters:
secondarySources- An array ofProjectSourceobjects that define the sources for the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySources
An array of
ProjectSourceobjects that define the sources for the batch build.- Parameters:
secondarySources- An array ofProjectSourceobjects that define the sources for the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySources
An array of
This is a convenience method that creates an instance of theProjectSourceobjects that define the sources for the batch build.ProjectSource.Builderavoiding the need to create one manually viaProjectSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondarySources(List<ProjectSource>).- Parameters:
secondarySources- a consumer that will call methods onProjectSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondarySourceVersions
BuildBatch.Builder secondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions) An array of
ProjectSourceVersionobjects. EachProjectSourceVersionmust 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.
- Parameters:
secondarySourceVersions- An array ofProjectSourceVersionobjects. EachProjectSourceVersionmust 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
secondarySourceVersions
An array of
ProjectSourceVersionobjects. EachProjectSourceVersionmust 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.
- Parameters:
secondarySourceVersions- An array ofProjectSourceVersionobjects. EachProjectSourceVersionmust 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
secondarySourceVersions
BuildBatch.Builder secondarySourceVersions(Consumer<ProjectSourceVersion.Builder>... secondarySourceVersions) An array of
ProjectSourceVersionobjects. EachProjectSourceVersionmust 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.Builderavoiding the need to create one manually viaProjectSourceVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondarySourceVersions(List<ProjectSourceVersion>).- Parameters:
secondarySourceVersions- a consumer that will call methods onProjectSourceVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
artifacts
A
BuildArtifactsobject the defines the build artifacts for this batch build.- Parameters:
artifacts- ABuildArtifactsobject the defines the build artifacts for this batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
A
This is a convenience method that creates an instance of theBuildArtifactsobject the defines the build artifacts for this batch build.BuildArtifacts.Builderavoiding the need to create one manually viaBuildArtifacts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifacts(BuildArtifacts).- Parameters:
artifacts- a consumer that will call methods onBuildArtifacts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryArtifacts
An array of
BuildArtifactsobjects the define the build artifacts for this batch build.- Parameters:
secondaryArtifacts- An array ofBuildArtifactsobjects the define the build artifacts for this batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
An array of
BuildArtifactsobjects the define the build artifacts for this batch build.- Parameters:
secondaryArtifacts- An array ofBuildArtifactsobjects the define the build artifacts for this batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
An array of
This is a convenience method that creates an instance of theBuildArtifactsobjects the define the build artifacts for this batch build.BuildArtifacts.Builderavoiding the need to create one manually viaBuildArtifacts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryArtifacts(List<BuildArtifacts>).- Parameters:
secondaryArtifacts- a consumer that will call methods onBuildArtifacts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cache
Sets the value of the Cache property for this object.- Parameters:
cache- The new value for the Cache property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cache
Sets the value of the Cache property for this object. This is a convenience method that creates an instance of theProjectCache.Builderavoiding the need to create one manually viaProjectCache.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocache(ProjectCache).- Parameters:
cache- a consumer that will call methods onProjectCache.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Sets the value of the Environment property for this object.- Parameters:
environment- The new value for the Environment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
Sets the value of the Environment property for this object. This is a convenience method that creates an instance of theProjectEnvironment.Builderavoiding the need to create one manually viaProjectEnvironment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironment(ProjectEnvironment).- Parameters:
environment- a consumer that will call methods onProjectEnvironment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRole
The name of a service role used for builds in the batch.
- Parameters:
serviceRole- The name of a service role used for builds in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
Sets the value of the LogConfig property for this object.- Parameters:
logConfig- The new value for the LogConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
Sets the value of the LogConfig property for this object. This is a convenience method that creates an instance of theLogsConfig.Builderavoiding the need to create one manually viaLogsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfig(LogsConfig).- Parameters:
logConfig- a consumer that will call methods onLogsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildTimeoutInMinutes
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
- Parameters:
buildTimeoutInMinutes- Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queuedTimeoutInMinutes
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
- Parameters:
queuedTimeoutInMinutes- Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complete
Indicates if the batch build is complete.
- Parameters:
complete- Indicates if the batch build is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vpcConfig
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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>).- Parameters:
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>).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatchNumber
The number of the batch build. For each project, the
buildBatchNumberof its first batch build is1. ThebuildBatchNumberof each subsequent batch build is incremented by1. If a batch build is deleted, thebuildBatchNumberof other batch builds does not change.- Parameters:
buildBatchNumber- The number of the batch build. For each project, thebuildBatchNumberof its first batch build is1. ThebuildBatchNumberof each subsequent batch build is incremented by1. If a batch build is deleted, thebuildBatchNumberof other batch builds does not change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemLocations
An array of
ProjectFileSystemLocationobjects for the batch build project. AProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.- Parameters:
fileSystemLocations- An array ofProjectFileSystemLocationobjects for the batch build project. AProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemLocations
An array of
ProjectFileSystemLocationobjects for the batch build project. AProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.- Parameters:
fileSystemLocations- An array ofProjectFileSystemLocationobjects for the batch build project. AProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemLocations
BuildBatch.Builder fileSystemLocations(Consumer<ProjectFileSystemLocation.Builder>... fileSystemLocations) An array of
This is a convenience method that creates an instance of theProjectFileSystemLocationobjects for the batch build project. AProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.ProjectFileSystemLocation.Builderavoiding the need to create one manually viaProjectFileSystemLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileSystemLocations(List<ProjectFileSystemLocation>).- Parameters:
fileSystemLocations- a consumer that will call methods onProjectFileSystemLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildBatchConfig
Sets the value of the BuildBatchConfig property for this object.- Parameters:
buildBatchConfig- The new value for the BuildBatchConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatchConfig
default BuildBatch.Builder buildBatchConfig(Consumer<ProjectBuildBatchConfig.Builder> buildBatchConfig) Sets the value of the BuildBatchConfig property for this object. This is a convenience method that creates an instance of theProjectBuildBatchConfig.Builderavoiding the need to create one manually viaProjectBuildBatchConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuildBatchConfig(ProjectBuildBatchConfig).- Parameters:
buildBatchConfig- a consumer that will call methods onProjectBuildBatchConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildGroups
An array of
BuildGroupobjects that define the build groups for the batch build.- Parameters:
buildGroups- An array ofBuildGroupobjects that define the build groups for the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildGroups
An array of
BuildGroupobjects that define the build groups for the batch build.- Parameters:
buildGroups- An array ofBuildGroupobjects that define the build groups for the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildGroups
An array of
This is a convenience method that creates an instance of theBuildGroupobjects that define the build groups for the batch build.BuildGroup.Builderavoiding the need to create one manually viaBuildGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuildGroups(List<BuildGroup>).- Parameters:
buildGroups- a consumer that will call methods onBuildGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-