Interface ProjectBuildBatchConfig.Builder

    • Method Detail

      • 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

        ProjectBuildBatchConfig.Builder restrictions​(BatchRestrictions 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.
      • 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:
        BatchReportModeType, BatchReportModeType
      • 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:
        BatchReportModeType, BatchReportModeType