Interface Code.Builder

    • Method Detail

      • source

        Code.Builder source​(CodeSource source)

        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

        Parameters:
        source - The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destination

        Code.Builder destination​(CodeDestination destination)

        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

        Parameters:
        destination - The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.