Interface GitHubCodeDestination.Builder

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

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

    • name

      Name of the GitHub repository to be created in AWS CodeStar.

      Parameters:
      name - Name of the GitHub repository to be created in AWS CodeStar.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GitHubCodeDestination.Builder description(String description)

      Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.

      Parameters:
      description - Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.

      Parameters:
      type - The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.

      Parameters:
      owner - The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateRepository

      GitHubCodeDestination.Builder privateRepository(Boolean privateRepository)

      Whether the GitHub repository is to be a private repository.

      Parameters:
      privateRepository - Whether the GitHub repository is to be a private repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuesEnabled

      GitHubCodeDestination.Builder issuesEnabled(Boolean issuesEnabled)

      Whether to enable issues for the GitHub repository.

      Parameters:
      issuesEnabled - Whether to enable issues for the GitHub repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • token

      The GitHub user's personal access token for the GitHub repository.

      Parameters:
      token - The GitHub user's personal access token for the GitHub repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.