Interface GetFileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<GetFileRequest.Builder,
,GetFileRequest> SdkBuilder<GetFileRequest.Builder,
,GetFileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetFileRequest
public static interface GetFileRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<GetFileRequest.Builder,GetFileRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncommitSpecifier
(String commitSpecifier) The fully quaified reference that identifies the commit that contains the file.The fully qualified path to the file, including the full name and extension of the file.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 as refs/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 fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.
- Parameters:
filePath
- The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
GetFileRequest.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.
-