Interface GitConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GitConfig.Builder,GitConfig>, SdkBuilder<GitConfig.Builder,GitConfig>, SdkPojo
Enclosing class:
GitConfig

public static interface GitConfig.Builder extends SdkPojo, CopyableBuilder<GitConfig.Builder,GitConfig>
  • Method Details

    • repositoryUrl

      GitConfig.Builder repositoryUrl(String repositoryUrl)

      The URL where the Git repository is located.

      Parameters:
      repositoryUrl - The URL where the Git repository is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branch

      GitConfig.Builder branch(String branch)

      The default branch for the Git repository.

      Parameters:
      branch - The default branch for the Git repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretArn

      GitConfig.Builder secretArn(String secretArn)

      The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

      {"username": UserName, "password": Password}

      Parameters:
      secretArn - The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

      {"username": UserName, "password": Password}

      Returns:
      Returns a reference to this object so that method calls can be chained together.