Interface GetAutomationEventResponse.Builder

  • Method Details

    • eventId

      The ID of the automation event to retrieve.

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

      GetAutomationEventResponse.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

      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

      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

      GetAutomationEventResponse.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

      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

      GetAutomationEventResponse.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

      GetAutomationEventResponse.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

      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

      GetAutomationEventResponse.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

      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

      GetAutomationEventResponse.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

      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

      GetAutomationEventResponse.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

      GetAutomationEventResponse.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

      GetAutomationEventResponse.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 GetAutomationEventResponse.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: