Interface HealthEvent.Builder

    • Method Detail

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