Interface InsightEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InsightEvent.Builder,InsightEvent>,SdkBuilder<InsightEvent.Builder,InsightEvent>,SdkPojo
- Enclosing class:
- InsightEvent
@Mutable @NotThreadSafe public static interface InsightEvent.Builder extends SdkPojo, CopyableBuilder<InsightEvent.Builder,InsightEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InsightEvent.BuilderclientRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> clientRequestImpactStatistics)The impact statistics of the client side service.InsightEvent.BuilderclientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)The impact statistics of the client side service.InsightEvent.BuildereventTime(Instant eventTime)The time, in Unix seconds, at which the event was recorded.default InsightEvent.BuilderrootCauseServiceRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> rootCauseServiceRequestImpactStatistics)The impact statistics of the root cause service.InsightEvent.BuilderrootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)The impact statistics of the root cause service.InsightEvent.Buildersummary(String summary)A brief description of the event.InsightEvent.BuildertopAnomalousServices(Collection<AnomalousService> topAnomalousServices)The service during the event that is most impacted by the incident.InsightEvent.BuildertopAnomalousServices(Consumer<AnomalousService.Builder>... topAnomalousServices)The service during the event that is most impacted by the incident.InsightEvent.BuildertopAnomalousServices(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
summary
InsightEvent.Builder summary(String 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
InsightEvent.Builder eventTime(Instant 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.Builderavoiding the need to create one manually viaRequestImpactStatistics.builder().When the
Consumercompletes,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:
clientRequestImpactStatistics(RequestImpactStatistics)
-
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.Builderavoiding the need to create one manually viaRequestImpactStatistics.builder().When the
Consumercompletes,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:
rootCauseServiceRequestImpactStatistics(RequestImpactStatistics)
-
topAnomalousServices
InsightEvent.Builder topAnomalousServices(Collection<AnomalousService> 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(AnomalousService... 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.Builderavoiding the need to create one manually viaAnomalousService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topAnomalousServices(List.) - 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:
#topAnomalousServices(java.util.Collection)
-
-