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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #commits(List) .commits - a consumer that will call methods on List.Builder #commits(List) 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 or that commit was not found in the specified repository, the ID will return an error object with additional 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 or that commit was not found in the specified repository, the ID will return an
error object with additional 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 or that commit was not found in the specified repository, the ID will return an error object with additional 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 or that commit was not found in the specified repository, the ID will return an
error object with additional 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 or that commit was not found in the specified repository, the ID will return an error object with additional information.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #errors(List) .errors - a consumer that will call methods on List.Builder #errors(List) Copyright © 2019. All rights reserved.