Interface HealthEvent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HealthEvent.Builder,HealthEvent>, SdkBuilder<HealthEvent.Builder,HealthEvent>, SdkPojo
Enclosing class:
HealthEvent

public static interface HealthEvent.Builder extends SdkPojo, CopyableBuilder<HealthEvent.Builder,HealthEvent>
  • Method Details

    • eventArn

      HealthEvent.Builder eventArn(String 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

      HealthEvent.Builder eventId(String eventId)

      The internally-generated identifier of a specific network traffic impairment health event.

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

      HealthEvent.Builder startedAt(Instant startedAt)

      When a health event started.

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

      HealthEvent.Builder endedAt(Instant endedAt)

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

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

      HealthEvent.Builder createdAt(Instant createdAt)

      When the health event was created.

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

      HealthEvent.Builder lastUpdatedAt(Instant lastUpdatedAt)

      When the health event was last updated.

      Parameters:
      lastUpdatedAt - When the health event was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedLocations

      HealthEvent.Builder impactedLocations(Collection<ImpactedLocation> impactedLocations)

      The locations impacted by the health event.

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

      HealthEvent.Builder impactedLocations(ImpactedLocation... impactedLocations)

      The locations impacted by the health event.

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

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

      The locations impacted by the 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

      HealthEvent.Builder status(String 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

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

      HealthEvent.Builder impactType(String impactType)

      The type of impairment for a health event.

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

      The type of impairment for a health event.

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

      HealthEvent.Builder healthScoreThreshold(Double healthScoreThreshold)

      The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch Internet Monitor created the health event.

      Parameters:
      healthScoreThreshold - The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch Internet Monitor created the health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.