Interface GetHealthEventResponse.Builder

  • Method Details

    • eventArn

      The Amazon Resource Name (ARN) of the event.

      Parameters:
      eventArn - The Amazon Resource Name (ARN) of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventId

      The internally-generated identifier of a health event.

      Parameters:
      eventId - The internally-generated identifier of a health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The time when a health event started.

      Parameters:
      startedAt - The time when a health event started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The time when a health event was resolved. If the health event is still active, the end time is not set.

      Parameters:
      endedAt - The time when a health event was resolved. If the health event is still active, the end time is not set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The time when a health event was created.

      Parameters:
      createdAt - The time when a health event was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetHealthEventResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The time when a health event was last updated or recalculated.

      Parameters:
      lastUpdatedAt - The time when a health event was last updated or recalculated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedLocations

      GetHealthEventResponse.Builder impactedLocations(Collection<ImpactedLocation> impactedLocations)

      The locations affected by a health event.

      Parameters:
      impactedLocations - The locations affected by a health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedLocations

      GetHealthEventResponse.Builder impactedLocations(ImpactedLocation... impactedLocations)

      The locations affected by a health event.

      Parameters:
      impactedLocations - The locations affected by a health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedLocations

      GetHealthEventResponse.Builder impactedLocations(Consumer<ImpactedLocation.Builder>... impactedLocations)

      The locations affected by a health event.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to impactedLocations(List<ImpactedLocation>).

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

      The status of a health event.

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

      The status of a health event.

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

      GetHealthEventResponse.Builder percentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)

      The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.

      Parameters:
      percentOfTotalTrafficImpacted - The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactType

      GetHealthEventResponse.Builder impactType(String impactType)

      The type of impairment of a specific health event.

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

      The type of impairment of a specific health event.

      Parameters:
      impactType - The type of impairment of a specific health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • healthScoreThreshold

      GetHealthEventResponse.Builder healthScoreThreshold(Double healthScoreThreshold)

      The threshold percentage for a health score that determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.

      Parameters:
      healthScoreThreshold - The threshold percentage for a health score that determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.