Interface UpdateJobFromSourceControlRequest.Builder

    • Method Detail

      • jobName

        UpdateJobFromSourceControlRequest.Builder jobName​(String jobName)

        The name of the Glue job to be synchronized to or from the remote repository.

        Parameters:
        jobName - The name of the Glue job to be synchronized to or from the remote repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provider

        UpdateJobFromSourceControlRequest.Builder provider​(String provider)

        The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.

        Parameters:
        provider - The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceControlProvider, SourceControlProvider
      • repositoryName

        UpdateJobFromSourceControlRequest.Builder repositoryName​(String repositoryName)

        The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format <WorkspaceName>/<RepositoryName>.

        Parameters:
        repositoryName - The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format <WorkspaceName>/<RepositoryName>.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryOwner

        UpdateJobFromSourceControlRequest.Builder repositoryOwner​(String repositoryOwner)

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

        Parameters:
        repositoryOwner - 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.
      • branchName

        UpdateJobFromSourceControlRequest.Builder branchName​(String branchName)

        An optional branch in the remote repository.

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

        UpdateJobFromSourceControlRequest.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.
      • commitId

        UpdateJobFromSourceControlRequest.Builder commitId​(String commitId)

        A commit ID for a commit in the remote repository.

        Parameters:
        commitId - A 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

        UpdateJobFromSourceControlRequest.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
      • authToken

        UpdateJobFromSourceControlRequest.Builder authToken​(String authToken)

        The value of the authorization token.

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