Interface ListGitBranchesRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListGitBranchesRequest.Builder,,ListGitBranchesRequest> SdkBuilder<ListGitBranchesRequest.Builder,,ListGitBranchesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListGitBranchesRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in a single response.The pagination token returned in a previous response, used to retrieve the next page of results.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.
-
maxResults
The maximum number of results to return in a single response.
- Parameters:
maxResults- The maximum number of results to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token returned in a previous response, used to retrieve the next page of results.
- Parameters:
nextToken- The pagination token returned in a previous response, used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListGitBranchesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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
ListGitBranchesRequest.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.
-