Class ProjectBuildBatchConfig

    • Method Detail

      • serviceRole

        public final String serviceRole()

        Specifies the service role ARN for the batch build project.

        Returns:
        Specifies the service role ARN for the batch build project.
      • combineArtifacts

        public final Boolean combineArtifacts()

        Specifies if the build artifacts for the batch build should be combined into a single artifact location.

        Returns:
        Specifies if the build artifacts for the batch build should be combined into a single artifact location.
      • restrictions

        public final BatchRestrictions restrictions()

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

        Returns:
        A BatchRestrictions object that specifies the restrictions for the batch build.
      • timeoutInMins

        public final Integer timeoutInMins()

        Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

        Returns:
        Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
      • batchReportMode

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, batchReportMode will return BatchReportModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from batchReportModeAsString().

        Returns:
        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.

        See Also:
        BatchReportModeType
      • batchReportModeAsString

        public final String batchReportModeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, batchReportMode will return BatchReportModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from batchReportModeAsString().

        Returns:
        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.

        See Also:
        BatchReportModeType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)