Interface GetFileRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetFileRequest.Builder,,GetFileRequest> SdkBuilder<GetFileRequest.Builder,,GetFileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetFileRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the branch to read from.The path of the file, relative to the root of the repository, for example package.json.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The account that the Git connection is for.The Git provider.provider(GitProvider provider) The Git provider.repositoryName(String repositoryName) The name of the repository, which is the last segment of RepositoryPath.repositoryPath(String repositoryPath) The full path of the repository in the Git provider, for example my-org/my-app.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
provider
The Git provider.
- Parameters:
provider- The Git provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The Git provider.
- Parameters:
provider- The Git provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
The account that the Git connection is for. The value depends on the provider:
-
For GitHub, specify the user or organization name.
-
For GitLab, specify the user name.
To get this value, call ListGitConnections.
- Parameters:
owner- The account that the Git connection is for. The value depends on the provider:-
For GitHub, specify the user or organization name.
-
For GitLab, specify the user name.
To get this value, call ListGitConnections.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
repositoryName
The name of the repository, which is the last segment of RepositoryPath.
- Parameters:
repositoryName- The name of the repository, which is the last segment of RepositoryPath.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryPath
The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app. To get this value, call ListRepositories.
- Parameters:
repositoryPath- The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app. To get this value, call ListRepositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
The path of the file, relative to the root of the repository, for example package.json.
- Parameters:
filePath- The path of the file, relative to the root of the repository, for example package.json.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
The name of the branch to read from.
- Parameters:
branch- The name of the branch to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-