Interface TriggerDetails.Builder

  • Method Details

    • rawData

      TriggerDetails.Builder rawData(String rawData)

      Raw data passed from either Amazon EventBridge, Amazon CloudWatch, or Incident Manager when an incident is created.

      Parameters:
      rawData - Raw data passed from either Amazon EventBridge, Amazon CloudWatch, or Incident Manager when an incident is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Identifies the service that sourced the event. All events sourced from within Amazon Web Services begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with " aws." We recommend the use of Java package-name style reverse domain-name strings.

      Parameters:
      source - Identifies the service that sourced the event. All events sourced from within Amazon Web Services begin with "aws. " Customer-generated events can have any value here, as long as it doesn't begin with " aws." We recommend the use of Java package-name style reverse domain-name strings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      TriggerDetails.Builder timestamp(Instant timestamp)

      The timestamp for when the incident was detected.

      Parameters:
      timestamp - The timestamp for when the incident was detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerArn

      TriggerDetails.Builder triggerArn(String triggerArn)

      The Amazon Resource Name (ARN) of the source that detected the incident.

      Parameters:
      triggerArn - The Amazon Resource Name (ARN) of the source that detected the incident.
      Returns:
      Returns a reference to this object so that method calls can be chained together.