Interface GetFolderRequest.Builder

  • Method Details

    • provider

      GetFolderRequest.Builder provider(String 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

      GetFolderRequest.Builder repositoryName(String 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

      GetFolderRequest.Builder repositoryPath(String 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.
    • folderPath

      GetFolderRequest.Builder folderPath(String folderPath)

      The path of the folder, relative to the root of the repository, for example src/app. To list the root of the repository, use /.

      Parameters:
      folderPath - The path of the folder, relative to the root of the repository, for example src/app. To list the root of the repository, use /.
      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

      GetFolderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.