Interface GetHealthEventResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetHealthEventResponse.Builder,GetHealthEventResponse>,InternetMonitorResponse.Builder,SdkBuilder<GetHealthEventResponse.Builder,GetHealthEventResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetHealthEventResponse
public static interface GetHealthEventResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetHealthEventResponse.Builder,GetHealthEventResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetHealthEventResponse.BuildercreatedAt(Instant createdAt)The time when a health event was created.GetHealthEventResponse.BuilderendedAt(Instant endedAt)The time when a health event was resolved.GetHealthEventResponse.BuildereventArn(String eventArn)The Amazon Resource Name (ARN) of the event.GetHealthEventResponse.BuildereventId(String eventId)The internally-generated identifier of a health event.GetHealthEventResponse.BuilderhealthScoreThreshold(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.GetHealthEventResponse.BuilderimpactedLocations(Collection<ImpactedLocation> impactedLocations)The locations affected by a health event.GetHealthEventResponse.BuilderimpactedLocations(Consumer<ImpactedLocation.Builder>... impactedLocations)The locations affected by a health event.GetHealthEventResponse.BuilderimpactedLocations(ImpactedLocation... impactedLocations)The locations affected by a health event.GetHealthEventResponse.BuilderimpactType(String impactType)The type of impairment of a specific health event.GetHealthEventResponse.BuilderimpactType(HealthEventImpactType impactType)The type of impairment of a specific health event.GetHealthEventResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The time when a health event was last updated or recalculated.GetHealthEventResponse.BuilderpercentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)The impact on total traffic that a health event has, in increased latency or reduced availability.GetHealthEventResponse.BuilderstartedAt(Instant startedAt)The time when a health event started.GetHealthEventResponse.Builderstatus(String status)The status of a health event.GetHealthEventResponse.Builderstatus(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
eventArn
GetHealthEventResponse.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
GetHealthEventResponse.Builder eventId(String 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
GetHealthEventResponse.Builder startedAt(Instant 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
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.
- 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
GetHealthEventResponse.Builder createdAt(Instant 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
GetHealthEventResponse.Builder lastUpdatedAt(Instant 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
GetHealthEventResponse.Builder impactedLocations(Collection<ImpactedLocation> 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(ImpactedLocation... 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.Builderavoiding the need to create one manually viaImpactedLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#impactedLocations(List.) - 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:
#impactedLocations(java.util.Collection)
-
status
GetHealthEventResponse.Builder status(String 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:
HealthEventStatus,HealthEventStatus
-
status
GetHealthEventResponse.Builder status(HealthEventStatus 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:
HealthEventStatus,HealthEventStatus
-
percentOfTotalTrafficImpacted
GetHealthEventResponse.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.
-
impactType
GetHealthEventResponse.Builder impactType(String 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:
HealthEventImpactType,HealthEventImpactType
-
impactType
GetHealthEventResponse.Builder impactType(HealthEventImpactType 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:
HealthEventImpactType,HealthEventImpactType
-
healthScoreThreshold
GetHealthEventResponse.Builder 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.
- 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.
-
-