public static interface HealthEvent.Builder extends SdkPojo, CopyableBuilder<HealthEvent.Builder,HealthEvent>
| Modifier and Type | Method and Description |
|---|---|
HealthEvent.Builder |
createdAt(Instant createdAt)
When the health event was created.
|
HealthEvent.Builder |
endedAt(Instant endedAt)
The time when a health event ended.
|
HealthEvent.Builder |
eventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
|
HealthEvent.Builder |
eventId(String eventId)
The internally generated identifier of a specific network traffic impairment health event.
|
HealthEvent.Builder |
impactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
|
HealthEvent.Builder |
impactedLocations(Consumer<ImpactedLocation.Builder>... impactedLocations)
The locations impacted by the health event.
|
HealthEvent.Builder |
impactedLocations(ImpactedLocation... impactedLocations)
The locations impacted by the health event.
|
HealthEvent.Builder |
impactType(HealthEventImpactType impactType)
The type of impairment for a health event.
|
HealthEvent.Builder |
impactType(String impactType)
The type of impairment for a health event.
|
HealthEvent.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
When the health event was last updated.
|
HealthEvent.Builder |
percentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on global traffic monitored by this monitor for this health event.
|
HealthEvent.Builder |
startedAt(Instant startedAt)
When a health event started.
|
HealthEvent.Builder |
status(HealthEventStatus status)
Health event list member.
|
HealthEvent.Builder |
status(String status)
Health event list member.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHealthEvent.Builder eventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
eventArn - The Amazon Resource Name (ARN) of the event.HealthEvent.Builder eventId(String eventId)
The internally generated identifier of a specific network traffic impairment health event.
eventId - The internally generated identifier of a specific network traffic impairment health event.HealthEvent.Builder startedAt(Instant startedAt)
When a health event started.
startedAt - When a health event started.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.
endedAt - The time when a health event ended. If the health event is still active, then the end time is not set.HealthEvent.Builder createdAt(Instant createdAt)
When the health event was created.
createdAt - When the health event was created.HealthEvent.Builder lastUpdatedAt(Instant lastUpdatedAt)
When the health event was last updated.
lastUpdatedAt - When the health event was last updated.HealthEvent.Builder impactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
impactedLocations - The locations impacted by the health event.HealthEvent.Builder impactedLocations(ImpactedLocation... impactedLocations)
The locations impacted by the health event.
impactedLocations - The locations impacted by the health event.HealthEvent.Builder impactedLocations(Consumer<ImpactedLocation.Builder>... 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 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) HealthEvent.Builder status(String status)
Health event list member.
status - Health event list member.HealthEventStatus,
HealthEventStatusHealthEvent.Builder status(HealthEventStatus status)
Health event list member.
status - Health event list member.HealthEventStatus,
HealthEventStatusHealthEvent.Builder percentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on global traffic monitored by this monitor for this health event.
percentOfTotalTrafficImpacted - The impact on global traffic monitored by this monitor for this health event.HealthEvent.Builder impactType(String impactType)
The type of impairment for a health event.
impactType - The type of impairment for a health event.HealthEventImpactType,
HealthEventImpactTypeHealthEvent.Builder impactType(HealthEventImpactType impactType)
The type of impairment for a health event.
impactType - The type of impairment for a health event.HealthEventImpactType,
HealthEventImpactTypeCopyright © 2023. All rights reserved.