Interface ActionState.Builder

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

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

    • actionName

      ActionState.Builder actionName(String actionName)

      The name of the action.

      Parameters:
      actionName - The name of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentRevision

      ActionState.Builder currentRevision(ActionRevision currentRevision)

      Represents information about the version (or revision) of an action.

      Parameters:
      currentRevision - Represents information about the version (or revision) of an action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentRevision

      default ActionState.Builder currentRevision(Consumer<ActionRevision.Builder> currentRevision)

      Represents information about the version (or revision) of an action.

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

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

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

      ActionState.Builder latestExecution(ActionExecution latestExecution)

      Represents information about the run of an action.

      Parameters:
      latestExecution - Represents information about the run of an action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestExecution

      default ActionState.Builder latestExecution(Consumer<ActionExecution.Builder> latestExecution)

      Represents information about the run of an action.

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

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

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

      ActionState.Builder entityUrl(String entityUrl)

      A URL link for more information about the state of the action, such as a deployment group details page.

      Parameters:
      entityUrl - A URL link for more information about the state of the action, such as a deployment group details page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionUrl

      ActionState.Builder revisionUrl(String revisionUrl)

      A URL link for more information about the revision, such as a commit details page.

      Parameters:
      revisionUrl - A URL link for more information about the revision, such as a commit details page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.