Interface BatchGetCommitsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeCommitResponse.Builder, CopyableBuilder<BatchGetCommitsResponse.Builder,BatchGetCommitsResponse>, SdkBuilder<BatchGetCommitsResponse.Builder,BatchGetCommitsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
BatchGetCommitsResponse

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

    • commits

      An array of commit data type objects, each of which contains information about a specified commit.

      Parameters:
      commits - An array of commit data type objects, each of which contains information about a specified commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commits

      An array of commit data type objects, each of which contains information about a specified commit.

      Parameters:
      commits - An array of commit data type objects, each of which contains information about a specified commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commits

      An array of commit data type objects, each of which contains information about a specified commit.

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

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

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

      Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.

      Parameters:
      errors - Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.

      Parameters:
      errors - Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.

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

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

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