Interface GitHubCodeDestination.Builder

    • Method Detail

      • name

        GitHubCodeDestination.Builder name​(String 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

        GitHubCodeDestination.Builder type​(String 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

        GitHubCodeDestination.Builder owner​(String 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

        GitHubCodeDestination.Builder token​(String 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.