Interface DefinitionRepository.Builder

  • Method Details

    • connectionArn

      DefinitionRepository.Builder connectionArn(String connectionArn)

      The Amazon Resource Name (ARN) of the connection to the source code repository.

      Parameters:
      connectionArn - The Amazon Resource Name (ARN) of the connection to the source code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fullRepositoryId

      DefinitionRepository.Builder fullRepositoryId(String fullRepositoryId)

      The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.

      Parameters:
      fullRepositoryId - The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceReference

      DefinitionRepository.Builder sourceReference(SourceReference sourceReference)

      The source reference for the repository, such as a branch name, tag, or commit ID.

      Parameters:
      sourceReference - The source reference for the repository, such as a branch name, tag, or commit ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceReference

      default DefinitionRepository.Builder sourceReference(Consumer<SourceReference.Builder> sourceReference)

      The source reference for the repository, such as a branch name, tag, or commit ID.

      This is a convenience method that creates an instance of the SourceReference.Builder avoiding the need to create one manually via SourceReference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceReference(SourceReference).

      Parameters:
      sourceReference - a consumer that will call methods on SourceReference.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • excludeFilePatterns

      DefinitionRepository.Builder excludeFilePatterns(Collection<String> excludeFilePatterns)

      A list of file patterns to exclude when retrieving the workflow definition from the repository.

      Parameters:
      excludeFilePatterns - A list of file patterns to exclude when retrieving the workflow definition from the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeFilePatterns

      DefinitionRepository.Builder excludeFilePatterns(String... excludeFilePatterns)

      A list of file patterns to exclude when retrieving the workflow definition from the repository.

      Parameters:
      excludeFilePatterns - A list of file patterns to exclude when retrieving the workflow definition from the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.