Interface AutomationEventStep.Builder

  • Method Details

    • eventId

      The ID of the automation event this step belongs to.

      Parameters:
      eventId - The ID of the automation event this step belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepId

      The unique identifier for this step.

      Parameters:
      stepId - The unique identifier for this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepType

      AutomationEventStep.Builder stepType(String stepType)

      The type of step.

      Parameters:
      stepType - The type of step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepType

      The type of step.

      Parameters:
      stepType - The type of step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepStatus

      AutomationEventStep.Builder stepStatus(String stepStatus)

      The current status of the step.

      Parameters:
      stepStatus - The current status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepStatus

      AutomationEventStep.Builder stepStatus(StepStatus stepStatus)

      The current status of the step.

      Parameters:
      stepStatus - The current status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceId

      AutomationEventStep.Builder resourceId(String resourceId)

      The unique identifier of the resource being acted upon in this step.

      Parameters:
      resourceId - The unique identifier of the resource being acted upon in this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimestamp

      AutomationEventStep.Builder startTimestamp(Instant startTimestamp)

      The timestamp when this automation event step started execution.

      Parameters:
      startTimestamp - The timestamp when this automation event step started execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedTimestamp

      AutomationEventStep.Builder completedTimestamp(Instant completedTimestamp)

      The timestamp when this automation event step completed execution.

      Parameters:
      completedTimestamp - The timestamp when this automation event step completed execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      AutomationEventStep.Builder estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)
      Sets the value of the EstimatedMonthlySavings property for this object.
      Parameters:
      estimatedMonthlySavings - The new value for the EstimatedMonthlySavings property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      default AutomationEventStep.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings)
      Sets the value of the EstimatedMonthlySavings property for this object. This is a convenience method that creates an instance of the EstimatedMonthlySavings.Builder avoiding the need to create one manually via EstimatedMonthlySavings.builder().

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

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