Interface ProjectBuildBatchConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>, SdkBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>, SdkPojo
Enclosing class:
ProjectBuildBatchConfig

public static interface ProjectBuildBatchConfig.Builder extends SdkPojo, CopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>
  • Method Details

    • serviceRole

      ProjectBuildBatchConfig.Builder serviceRole(String 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

      ProjectBuildBatchConfig.Builder combineArtifacts(Boolean 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 - A BatchRestrictions 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

      A BatchRestrictions object that specifies the restrictions for the batch build.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      restrictions - a consumer that will call methods on BatchRestrictions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeoutInMins

      ProjectBuildBatchConfig.Builder timeoutInMins(Integer 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

      ProjectBuildBatchConfig.Builder batchReportMode(String 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

      ProjectBuildBatchConfig.Builder batchReportMode(BatchReportModeType 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: