Interface GitConfiguration.Builder

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

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

    • sourceActionName

      GitConfiguration.Builder sourceActionName(String sourceActionName)

      The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

      You can only specify one trigger configuration per source action.

      Parameters:
      sourceActionName - The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

      You can only specify one trigger configuration per source action.

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

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Git tags is the only supported event type.

      Parameters:
      push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Git tags is the only supported event type.

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

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Git tags is the only supported event type.

      Parameters:
      push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Git tags is the only supported event type.

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

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Git tags is the only supported event type.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to push(List<GitPushFilter>).

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