Interface SourceControlDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>, SdkBuilder<SourceControlDetails.Builder,SourceControlDetails>, SdkPojo
Enclosing class:
SourceControlDetails

public static interface SourceControlDetails.Builder extends SdkPojo, CopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>
  • Method Details

    • provider

      The provider for the remote repository.

      Parameters:
      provider - The provider for the remote repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provider

      The provider for the remote repository.

      Parameters:
      provider - The provider for the remote repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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:
    • 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:
    • 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.