Interface ProjectBuildBatchConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectBuildBatchConfig.Builder,
,ProjectBuildBatchConfig> SdkBuilder<ProjectBuildBatchConfig.Builder,
,ProjectBuildBatchConfig> SdkPojo
- Enclosing class:
ProjectBuildBatchConfig
-
Method Summary
Modifier and TypeMethodDescriptionbatchReportMode
(String batchReportMode) Specifies how build status reports are sent to the source provider for the batch build.batchReportMode
(BatchReportModeType batchReportMode) Specifies how build status reports are sent to the source provider for the batch build.combineArtifacts
(Boolean combineArtifacts) Specifies if the build artifacts for the batch build should be combined into a single artifact location.default ProjectBuildBatchConfig.Builder
restrictions
(Consumer<BatchRestrictions.Builder> restrictions) ABatchRestrictions
object that specifies the restrictions for the batch build.restrictions
(BatchRestrictions restrictions) ABatchRestrictions
object that specifies the restrictions for the batch build.serviceRole
(String serviceRole) Specifies the service role ARN for the batch build project.timeoutInMins
(Integer timeoutInMins) Specifies the maximum amount of time, in minutes, that the batch build must be completed in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceRole
Specifies the service role ARN for the batch build project.
- Parameters:
serviceRole
- Specifies the service role ARN for the batch build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
combineArtifacts
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
- Parameters:
combineArtifacts
- Specifies if the build artifacts for the batch build should be combined into a single artifact location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictions
A
BatchRestrictions
object that specifies the restrictions for the batch build.- Parameters:
restrictions
- ABatchRestrictions
object that specifies the restrictions for the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictions
default ProjectBuildBatchConfig.Builder restrictions(Consumer<BatchRestrictions.Builder> restrictions) A
This is a convenience method that creates an instance of theBatchRestrictions
object that specifies the restrictions for the batch build.BatchRestrictions.Builder
avoiding the need to create one manually viaBatchRestrictions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestrictions(BatchRestrictions)
.- Parameters:
restrictions
- a consumer that will call methods onBatchRestrictions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutInMins
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
- Parameters:
timeoutInMins
- Specifies the maximum amount of time, in minutes, that the batch build must be completed in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchReportMode
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- Parameters:
batchReportMode
- Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchReportMode
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- Parameters:
batchReportMode
- Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-