Interface SourceCodeVersion.Builder

    • Method Detail

      • type

        SourceCodeVersion.Builder type​(String type)

        The type of version identifier.

        For a git-based repository, branches represent versions.

        Parameters:
        type - The type of version identifier.

        For a git-based repository, branches represent versions.

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

        SourceCodeVersion.Builder value​(String value)

        A source code version.

        For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.

        Parameters:
        value - A source code version.

        For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.

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