Interface SourceControlDetails.Builder

    • Method Detail

      • repository

        SourceControlDetails.Builder repository​(String repository)

        The name of the remote repository that contains the job artifacts.

        Parameters:
        repository - The name of the remote repository that contains the job artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        SourceControlDetails.Builder owner​(String owner)

        The owner of the remote repository that contains the job artifacts.

        Parameters:
        owner - The owner of the remote repository that contains the job artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • branch

        SourceControlDetails.Builder branch​(String branch)

        An optional branch in the remote repository.

        Parameters:
        branch - An optional branch in the remote repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • folder

        SourceControlDetails.Builder folder​(String folder)

        An optional folder in the remote repository.

        Parameters:
        folder - An optional folder in the remote repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastCommitId

        SourceControlDetails.Builder lastCommitId​(String lastCommitId)

        The last commit ID for a commit in the remote repository.

        Parameters:
        lastCommitId - The last commit ID for a commit in the remote repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authStrategy

        SourceControlDetails.Builder authStrategy​(String authStrategy)

        The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

        Parameters:
        authStrategy - The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceControlAuthStrategy, SourceControlAuthStrategy
      • authStrategy

        SourceControlDetails.Builder authStrategy​(SourceControlAuthStrategy authStrategy)

        The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

        Parameters:
        authStrategy - The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceControlAuthStrategy, SourceControlAuthStrategy
      • authToken

        SourceControlDetails.Builder authToken​(String authToken)

        The value of an authorization token.

        Parameters:
        authToken - The value of an authorization token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.