Interface ListFileCommitHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<ListFileCommitHistoryResponse.Builder,,ListFileCommitHistoryResponse> SdkBuilder<ListFileCommitHistoryResponse.Builder,,ListFileCommitHistoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFileCommitHistoryResponse
@Mutable
@NotThreadSafe
public static interface ListFileCommitHistoryResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<ListFileCommitHistoryResponse.Builder,ListFileCommitHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that can be used to return the next batch of results.revisionDag(Collection<FileVersion> revisionDag) An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.revisionDag(Consumer<FileVersion.Builder>... revisionDag) An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.revisionDag(FileVersion... revisionDag) An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
revisionDag
An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.
- Parameters:
revisionDag- An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionDag
An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.
- Parameters:
revisionDag- An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionDag
An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.
This is a convenience method that creates an instance of theFileVersion.Builderavoiding the need to create one manually viaFileVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisionDag(List<FileVersion>).- Parameters:
revisionDag- a consumer that will call methods onFileVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that can be used to return the next batch of results.
- Parameters:
nextToken- An enumeration token that can be used to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-