public static interface GetHealthEventResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetHealthEventResponse.Builder,GetHealthEventResponse>
| Modifier and Type | Method and Description |
|---|---|
GetHealthEventResponse.Builder |
createdAt(Instant createdAt)
The time when a health event was created.
|
GetHealthEventResponse.Builder |
endedAt(Instant endedAt)
The time when a health event was resolved.
|
GetHealthEventResponse.Builder |
eventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
|
GetHealthEventResponse.Builder |
eventId(String eventId)
The internally generated identifier of a health event.
|
GetHealthEventResponse.Builder |
impactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations affected by a health event.
|
GetHealthEventResponse.Builder |
impactedLocations(Consumer<ImpactedLocation.Builder>... impactedLocations)
The locations affected by a health event.
|
GetHealthEventResponse.Builder |
impactedLocations(ImpactedLocation... impactedLocations)
The locations affected by a health event.
|
GetHealthEventResponse.Builder |
impactType(HealthEventImpactType impactType)
The type of impairment of a specific health event.
|
GetHealthEventResponse.Builder |
impactType(String impactType)
The type of impairment of a specific health event.
|
GetHealthEventResponse.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time when a health event was last updated or recalculated.
|
GetHealthEventResponse.Builder |
percentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has.
|
GetHealthEventResponse.Builder |
startedAt(Instant startedAt)
The time when a health event started.
|
GetHealthEventResponse.Builder |
status(HealthEventStatus status)
The status of a health event.
|
GetHealthEventResponse.Builder |
status(String status)
The status of a health event.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetHealthEventResponse.Builder eventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
eventArn - The Amazon Resource Name (ARN) of the event.GetHealthEventResponse.Builder eventId(String eventId)
The internally generated identifier of a health event.
eventId - The internally generated identifier of a health event.GetHealthEventResponse.Builder startedAt(Instant startedAt)
The time when a health event started.
startedAt - The time when a health event started.GetHealthEventResponse.Builder endedAt(Instant endedAt)
The time when a health event was resolved. If the health event is still active, the end time is not set.
endedAt - The time when a health event was resolved. If the health event is still active, the end time is not
set.GetHealthEventResponse.Builder createdAt(Instant createdAt)
The time when a health event was created.
createdAt - The time when a health event was created.GetHealthEventResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time when a health event was last updated or recalculated.
lastUpdatedAt - The time when a health event was last updated or recalculated.GetHealthEventResponse.Builder impactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations affected by a health event.
impactedLocations - The locations affected by a health event.GetHealthEventResponse.Builder impactedLocations(ImpactedLocation... impactedLocations)
The locations affected by a health event.
impactedLocations - The locations affected by a health event.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 via
ImpactedLocation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #impactedLocations(List.
impactedLocations - a consumer that will call methods on
ImpactedLocation.Builder#impactedLocations(java.util.Collection) GetHealthEventResponse.Builder status(String status)
The status of a health event.
status - The status of a health event.HealthEventStatus,
HealthEventStatusGetHealthEventResponse.Builder status(HealthEventStatus status)
The status of a health event.
status - The status of a health event.HealthEventStatus,
HealthEventStatusGetHealthEventResponse.Builder percentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has.
percentOfTotalTrafficImpacted - The impact on total traffic that a health event has.GetHealthEventResponse.Builder impactType(String impactType)
The type of impairment of a specific health event.
impactType - The type of impairment of a specific health event.HealthEventImpactType,
HealthEventImpactTypeGetHealthEventResponse.Builder impactType(HealthEventImpactType impactType)
The type of impairment of a specific health event.
impactType - The type of impairment of a specific health event.HealthEventImpactType,
HealthEventImpactTypeCopyright © 2023. All rights reserved.