Interface Action.Builder

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

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

    • ssmAutomation

      Action.Builder ssmAutomation(SsmAutomation ssmAutomation)

      The Systems Manager automation document to start as the runbook at the beginning of the incident.

      Parameters:
      ssmAutomation - The Systems Manager automation document to start as the runbook at the beginning of the incident.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ssmAutomation

      default Action.Builder ssmAutomation(Consumer<SsmAutomation.Builder> ssmAutomation)

      The Systems Manager automation document to start as the runbook at the beginning of the incident.

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

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

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