public static interface BatchGetCommitsResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<BatchGetCommitsResponse.Builder,BatchGetCommitsResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetCommitsResponse.Builder |
commits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
BatchGetCommitsResponse.Builder |
commits(Commit... commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
BatchGetCommitsResponse.Builder |
commits(Consumer<Commit.Builder>... commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
BatchGetCommitsResponse.Builder |
errors(BatchGetCommitsError... errors)
Returns any commit IDs for which information could not be found.
|
BatchGetCommitsResponse.Builder |
errors(Collection<BatchGetCommitsError> errors)
Returns any commit IDs for which information could not be found.
|
BatchGetCommitsResponse.Builder |
errors(Consumer<BatchGetCommitsError.Builder>... errors)
Returns any commit IDs for which information could not be found.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetCommitsResponse.Builder commits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
commits - An array of commit data type objects, each of which contains information about a specified commit.BatchGetCommitsResponse.Builder commits(Commit... commits)
An array of commit data type objects, each of which contains information about a specified commit.
commits - An array of commit data type objects, each of which contains information about a specified commit.BatchGetCommitsResponse.Builder commits(Consumer<Commit.Builder>... 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 theCommit.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.
commits - a consumer that will call methods on
Commit.Builder#commits(java.util.Collection) BatchGetCommitsResponse.Builder errors(Collection<BatchGetCommitsError> 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.
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.BatchGetCommitsResponse.Builder errors(BatchGetCommitsError... 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.
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.BatchGetCommitsResponse.Builder errors(Consumer<BatchGetCommitsError.Builder>... 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 theBatchGetCommitsError.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.
errors - a consumer that will call methods on
BatchGetCommitsError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.