Interface SourceBuildInformation.Builder

    • Method Detail

      • sourceType

        SourceBuildInformation.Builder sourceType​(String sourceType)

        The type of repository.

        • Git

        • Zip

        Parameters:
        sourceType - The type of repository.

        • Git

        • Zip

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • sourceRepository

        SourceBuildInformation.Builder sourceRepository​(String sourceRepository)

        Location where the repository is stored.

        • CodeCommit

        • S3

        Parameters:
        sourceRepository - Location where the repository is stored.

        • CodeCommit

        • S3

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceRepository, SourceRepository
      • sourceLocation

        SourceBuildInformation.Builder sourceLocation​(String sourceLocation)

        The location of the source code, as a formatted string, depending on the value of SourceRepository

        • For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.

        • For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file.

        Parameters:
        sourceLocation - The location of the source code, as a formatted string, depending on the value of SourceRepository

        • For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.

        • For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file.

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