public static interface ProjectBuildBatchConfig.Builder extends SdkPojo, CopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>
Modifier and Type | Method and Description |
---|---|
ProjectBuildBatchConfig.Builder |
combineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
ProjectBuildBatchConfig.Builder |
restrictions(BatchRestrictions restrictions)
A
BatchRestrictions object that specifies the restrictions for the batch build. |
default ProjectBuildBatchConfig.Builder |
restrictions(Consumer<BatchRestrictions.Builder> restrictions)
A
BatchRestrictions object that specifies the restrictions for the batch build. |
ProjectBuildBatchConfig.Builder |
serviceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
|
ProjectBuildBatchConfig.Builder |
timeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ProjectBuildBatchConfig.Builder serviceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
serviceRole
- Specifies the service role ARN for the batch build project.ProjectBuildBatchConfig.Builder combineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
combineArtifacts
- Specifies if the build artifacts for the batch build should be combined into a single artifact
location.ProjectBuildBatchConfig.Builder restrictions(BatchRestrictions restrictions)
A BatchRestrictions
object that specifies the restrictions for the batch build.
restrictions
- A BatchRestrictions
object that specifies the restrictions for the batch build.default ProjectBuildBatchConfig.Builder restrictions(Consumer<BatchRestrictions.Builder> restrictions)
A BatchRestrictions
object that specifies the restrictions for the batch build.
BatchRestrictions.Builder
avoiding the need to
create one manually via BatchRestrictions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to restrictions(BatchRestrictions)
.restrictions
- a consumer that will call methods on BatchRestrictions.Builder
restrictions(BatchRestrictions)
ProjectBuildBatchConfig.Builder timeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
timeoutInMins
- Specifies the maximum amount of time, in minutes, that the batch build must be completed in.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.