Interface GetHealthEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetHealthEventResponse.Builder,
,GetHealthEventResponse> InternetMonitorResponse.Builder
,SdkBuilder<GetHealthEventResponse.Builder,
,GetHealthEventResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetHealthEventResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe time when a health event was created.The time when a health event was resolved.The Amazon Resource Name (ARN) of the event.The internally-generated identifier of a health event.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.impactedLocations
(Collection<ImpactedLocation> impactedLocations) The locations affected by a health event.impactedLocations
(Consumer<ImpactedLocation.Builder>... impactedLocations) The locations affected by a health event.impactedLocations
(ImpactedLocation... impactedLocations) The locations affected by a health event.impactType
(String impactType) The type of impairment of a specific health event.impactType
(HealthEventImpactType impactType) The type of impairment of a specific health event.lastUpdatedAt
(Instant lastUpdatedAt) The time when a health event was last updated or recalculated.percentOfTotalTrafficImpacted
(Double percentOfTotalTrafficImpacted) The impact on total traffic that a health event has, in increased latency or reduced availability.The time 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.services.internetmonitor.model.InternetMonitorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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
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 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 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
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.
-