Interface ListFileCommitHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<ListFileCommitHistoryRequest.Builder,
,ListFileCommitHistoryRequest> SdkBuilder<ListFileCommitHistoryRequest.Builder,
,ListFileCommitHistoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListFileCommitHistoryRequest
public static interface ListFileCommitHistoryRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<ListFileCommitHistoryRequest.Builder,ListFileCommitHistoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncommitSpecifier
(String commitSpecifier) The fully quaified reference that identifies the commit that contains the file.The full path of the file whose history you want to retrieve, including the name of the file.maxResults
(Integer maxResults) A non-zero, non-negative integer used to limit the number of returned results.An enumeration token that allows the operation to batch the results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryName
(String repositoryName) The name of the repository that contains the file.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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, sdkFields
-
Method Details
-
repositoryName
The name of the repository that contains the file.
- Parameters:
repositoryName
- The name of the repository that contains the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitSpecifier
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as
refs/heads/main
. If none is provided, the head commit is used.- Parameters:
commitSpecifier
- The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such asrefs/heads/main
. If none is provided, the head commit is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
The full path of the file whose history you want to retrieve, including the name of the file.
- Parameters:
filePath
- The full path of the file whose history you want to retrieve, including the name of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
A non-zero, non-negative integer used to limit the number of returned results.
- Parameters:
maxResults
- A non-zero, non-negative integer used to limit the number of returned results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An enumeration token that allows the operation to batch the results.
- Parameters:
nextToken
- An enumeration token that allows the operation to batch the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFileCommitHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListFileCommitHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-