Interface ListFileCommitHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<ListFileCommitHistoryResponse.Builder,ListFileCommitHistoryResponse>,SdkBuilder<ListFileCommitHistoryResponse.Builder,ListFileCommitHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFileCommitHistoryResponse
public static interface ListFileCommitHistoryResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<ListFileCommitHistoryResponse.Builder,ListFileCommitHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFileCommitHistoryResponse.BuildernextToken(String nextToken)An enumeration token that can be used to return the next batch of results.ListFileCommitHistoryResponse.BuilderrevisionDag(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.ListFileCommitHistoryResponse.BuilderrevisionDag(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.ListFileCommitHistoryResponse.BuilderrevisionDag(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
revisionDag
ListFileCommitHistoryResponse.Builder 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.
- 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
ListFileCommitHistoryResponse.Builder 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.
- 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
ListFileCommitHistoryResponse.Builder 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.
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 to#revisionDag(List.) - 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:
#revisionDag(java.util.Collection)
-
nextToken
ListFileCommitHistoryResponse.Builder nextToken(String 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.
-
-