Interface ListRepositoriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<ListRepositoriesResponse.Builder,,ListRepositoriesResponse> SdkBuilder<ListRepositoriesResponse.Builder,,ListRepositoriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRepositoriesResponse
public static interface ListRepositoriesResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<ListRepositoriesResponse.Builder,ListRepositoriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that allows the operation to batch the results of the operation.repositories(Collection<RepositoryNameIdPair> repositories) Lists the repositories called by the list repositories operation.repositories(Consumer<RepositoryNameIdPair.Builder>... repositories) Lists the repositories called by the list repositories operation.repositories(RepositoryNameIdPair... repositories) Lists the repositories called by the list repositories operation.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
repositories
Lists the repositories called by the list repositories operation.
- Parameters:
repositories- Lists the repositories called by the list repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
Lists the repositories called by the list repositories operation.
- Parameters:
repositories- Lists the repositories called by the list repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
ListRepositoriesResponse.Builder repositories(Consumer<RepositoryNameIdPair.Builder>... repositories) Lists the repositories called by the list repositories operation.
This is a convenience method that creates an instance of theRepositoryNameIdPair.Builderavoiding the need to create one manually viaRepositoryNameIdPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositories(List<RepositoryNameIdPair>).- Parameters:
repositories- a consumer that will call methods onRepositoryNameIdPair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.
- Parameters:
nextToken- An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-