Interface InsightEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InsightEvent.Builder,
,InsightEvent> SdkBuilder<InsightEvent.Builder,
,InsightEvent> SdkPojo
- Enclosing class:
InsightEvent
-
Method Summary
Modifier and TypeMethodDescriptiondefault InsightEvent.Builder
clientRequestImpactStatistics
(Consumer<RequestImpactStatistics.Builder> clientRequestImpactStatistics) The impact statistics of the client side service.clientRequestImpactStatistics
(RequestImpactStatistics clientRequestImpactStatistics) The impact statistics of the client side service.The time, in Unix seconds, at which the event was recorded.default InsightEvent.Builder
rootCauseServiceRequestImpactStatistics
(Consumer<RequestImpactStatistics.Builder> rootCauseServiceRequestImpactStatistics) The impact statistics of the root cause service.rootCauseServiceRequestImpactStatistics
(RequestImpactStatistics rootCauseServiceRequestImpactStatistics) The impact statistics of the root cause service.A brief description of the event.topAnomalousServices
(Collection<AnomalousService> topAnomalousServices) The service during the event that is most impacted by the incident.topAnomalousServices
(Consumer<AnomalousService.Builder>... topAnomalousServices) The service during the event that is most impacted by the incident.topAnomalousServices
(AnomalousService... topAnomalousServices) The service during the event that is most impacted by the incident.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
-
summary
A brief description of the event.
- Parameters:
summary
- A brief description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTime
The time, in Unix seconds, at which the event was recorded.
- Parameters:
eventTime
- The time, in Unix seconds, at which the event was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestImpactStatistics
InsightEvent.Builder clientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics) The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
- Parameters:
clientRequestImpactStatistics
- The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestImpactStatistics
default InsightEvent.Builder clientRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> clientRequestImpactStatistics) The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
This is a convenience method that creates an instance of theRequestImpactStatistics.Builder
avoiding the need to create one manually viaRequestImpactStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientRequestImpactStatistics(RequestImpactStatistics)
.- Parameters:
clientRequestImpactStatistics
- a consumer that will call methods onRequestImpactStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rootCauseServiceRequestImpactStatistics
InsightEvent.Builder rootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics) The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
- Parameters:
rootCauseServiceRequestImpactStatistics
- The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauseServiceRequestImpactStatistics
default InsightEvent.Builder rootCauseServiceRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> rootCauseServiceRequestImpactStatistics) The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
This is a convenience method that creates an instance of theRequestImpactStatistics.Builder
avoiding the need to create one manually viaRequestImpactStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torootCauseServiceRequestImpactStatistics(RequestImpactStatistics)
.- Parameters:
rootCauseServiceRequestImpactStatistics
- a consumer that will call methods onRequestImpactStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topAnomalousServices
The service during the event that is most impacted by the incident.
- Parameters:
topAnomalousServices
- The service during the event that is most impacted by the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topAnomalousServices
The service during the event that is most impacted by the incident.
- Parameters:
topAnomalousServices
- The service during the event that is most impacted by the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topAnomalousServices
InsightEvent.Builder topAnomalousServices(Consumer<AnomalousService.Builder>... topAnomalousServices) The service during the event that is most impacted by the incident.
This is a convenience method that creates an instance of theAnomalousService.Builder
avoiding the need to create one manually viaAnomalousService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopAnomalousServices(List<AnomalousService>)
.- Parameters:
topAnomalousServices
- a consumer that will call methods onAnomalousService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-