Interface HealthEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HealthEvent.Builder,
,HealthEvent> SdkBuilder<HealthEvent.Builder,
,HealthEvent> SdkPojo
- Enclosing class:
HealthEvent
-
Method Summary
Modifier and TypeMethodDescriptionWhen the health event was created.The time when a health event ended.The Amazon Resource Name (ARN) of the event.The internally-generated identifier of a specific network traffic impairment health event.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.impactedLocations
(Collection<ImpactedLocation> impactedLocations) The locations impacted by the health event.impactedLocations
(Consumer<ImpactedLocation.Builder>... impactedLocations) The locations impacted by the health event.impactedLocations
(ImpactedLocation... impactedLocations) The locations impacted by the health event.impactType
(String impactType) The type of impairment for a health event.impactType
(HealthEventImpactType impactType) The type of impairment for a health event.lastUpdatedAt
(Instant lastUpdatedAt) When the health event was last updated.percentOfTotalTrafficImpacted
(Double percentOfTotalTrafficImpacted) The impact on total traffic that a health event has, in increased latency or reduced availability.When a health event started.The status of a health event.status
(HealthEventStatus status) The status of a health event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 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
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
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
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
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
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
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
The locations impacted by the health event.
This is a convenience method that creates an instance of theImpactedLocation.Builder
avoiding the need to create one manually viaImpactedLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimpactedLocations(List<ImpactedLocation>)
.- Parameters:
impactedLocations
- a consumer that will call methods onImpactedLocation.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
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
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
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.
-