Interface BatchGetBuildBatchesResponse.Builder

  • Method Details

    • buildBatches

      An array of BuildBatch objects that represent the retrieved batch builds.

      Parameters:
      buildBatches - An array of BuildBatch objects that represent the retrieved batch builds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildBatches

      BatchGetBuildBatchesResponse.Builder buildBatches(BuildBatch... buildBatches)

      An array of BuildBatch objects that represent the retrieved batch builds.

      Parameters:
      buildBatches - An array of BuildBatch objects that represent the retrieved batch builds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildBatches

      An array of BuildBatch objects that represent the retrieved batch builds.

      This is a convenience method that creates an instance of the BuildBatch.Builder avoiding the need to create one manually via BuildBatch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to buildBatches(List<BuildBatch>).

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

      BatchGetBuildBatchesResponse.Builder buildBatchesNotFound(Collection<String> buildBatchesNotFound)

      An array that contains the identifiers of any batch builds that are not found.

      Parameters:
      buildBatchesNotFound - An array that contains the identifiers of any batch builds that are not found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildBatchesNotFound

      BatchGetBuildBatchesResponse.Builder buildBatchesNotFound(String... buildBatchesNotFound)

      An array that contains the identifiers of any batch builds that are not found.

      Parameters:
      buildBatchesNotFound - An array that contains the identifiers of any batch builds that are not found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.