Interface AutomationEvent.Builder

  • Method Details

    • eventId

      AutomationEvent.Builder eventId(String eventId)

      The unique identifier for the automation event.

      Parameters:
      eventId - The unique identifier for the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventDescription

      AutomationEvent.Builder eventDescription(String eventDescription)

      A description of the automation event.

      Parameters:
      eventDescription - A description of the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventType

      AutomationEvent.Builder eventType(String eventType)

      The type of automation event.

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

      AutomationEvent.Builder eventType(EventType eventType)

      The type of automation event.

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

      AutomationEvent.Builder eventStatus(String eventStatus)

      The current status of the automation event.

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

      AutomationEvent.Builder eventStatus(EventStatus eventStatus)

      The current status of the automation event.

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

      AutomationEvent.Builder eventStatusReason(String eventStatusReason)

      The reason for the current event status.

      Parameters:
      eventStatusReason - The reason for the current event status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      AutomationEvent.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource affected by the automation event.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource affected by the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      AutomationEvent.Builder resourceId(String resourceId)

      The ID of the resource affected by the automation event.

      Parameters:
      resourceId - The ID of the resource affected by the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActionId

      AutomationEvent.Builder recommendedActionId(String recommendedActionId)

      The ID of the recommended action associated with this automation event.

      Parameters:
      recommendedActionId - The ID of the recommended action associated with this automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      AutomationEvent.Builder accountId(String accountId)

      The Amazon Web Services account ID associated with the automation event.

      Parameters:
      accountId - The Amazon Web Services account ID associated with the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services Region where the automation event occurred.

      Parameters:
      region - The Amazon Web Services Region where the automation event occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleId

      The ID of the automation rule that triggered this event.

      Parameters:
      ruleId - The ID of the automation rule that triggered this event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      AutomationEvent.Builder resourceType(String resourceType)

      The type of resource affected by the automation event.

      Parameters:
      resourceType - The type of resource affected by the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      AutomationEvent.Builder resourceType(ResourceType resourceType)

      The type of resource affected by the automation event.

      Parameters:
      resourceType - The type of resource affected by the automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      AutomationEvent.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp when the automation event was created.

      Parameters:
      createdTimestamp - The timestamp when the automation event was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedTimestamp

      AutomationEvent.Builder completedTimestamp(Instant completedTimestamp)

      The timestamp when the automation event completed.

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

      AutomationEvent.Builder estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)

      The estimated monthly cost savings associated with this automation event.

      Parameters:
      estimatedMonthlySavings - The estimated monthly cost savings associated with this automation event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      default AutomationEvent.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings)

      The estimated monthly cost savings associated with this automation event.

      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: