Interface Insight.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Insight.Builder,
,Insight> SdkBuilder<Insight.Builder,
,Insight> SdkPojo
- Enclosing class:
Insight
-
Method Summary
Modifier and TypeMethodDescriptioncategories
(Collection<InsightCategory> categories) The categories that label and describe the type of insight.categories
(InsightCategory... categories) The categories that label and describe the type of insight.categoriesWithStrings
(String... categories) The categories that label and describe the type of insight.categoriesWithStrings
(Collection<String> categories) The categories that label and describe the type of insight.default Insight.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 insight ended.The Amazon Resource Name (ARN) of the group that the insight belongs to.The name of the group that the insight belongs to.The insights unique identifier.default Insight.Builder
rootCauseServiceId
(Consumer<ServiceId.Builder> rootCauseServiceId) Sets the value of the RootCauseServiceId property for this object.rootCauseServiceId
(ServiceId rootCauseServiceId) Sets the value of the RootCauseServiceId property for this object.default Insight.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.The time, in Unix seconds, at which the insight began.The current state of the insight.state
(InsightState state) The current state of the insight.A brief description of the insight.topAnomalousServices
(Collection<AnomalousService> topAnomalousServices) The service within the insight that is most impacted by the incident.topAnomalousServices
(Consumer<AnomalousService.Builder>... topAnomalousServices) The service within the insight that is most impacted by the incident.topAnomalousServices
(AnomalousService... topAnomalousServices) The service within the insight 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
-
insightId
The insights unique identifier.
- Parameters:
insightId
- The insights unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupARN
The Amazon Resource Name (ARN) of the group that the insight belongs to.
- Parameters:
groupARN
- The Amazon Resource Name (ARN) of the group that the insight belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the group that the insight belongs to.
- Parameters:
groupName
- The name of the group that the insight belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauseServiceId
Sets the value of the RootCauseServiceId property for this object.- Parameters:
rootCauseServiceId
- The new value for the RootCauseServiceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauseServiceId
Sets the value of the RootCauseServiceId property for this object. This is a convenience method that creates an instance of theServiceId.Builder
avoiding the need to create one manually viaServiceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torootCauseServiceId(ServiceId)
.- Parameters:
rootCauseServiceId
- a consumer that will call methods onServiceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
categoriesWithStrings
The categories that label and describe the type of insight.
- Parameters:
categories
- The categories that label and describe the type of insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoriesWithStrings
The categories that label and describe the type of insight.
- Parameters:
categories
- The categories that label and describe the type of insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that label and describe the type of insight.
- Parameters:
categories
- The categories that label and describe the type of insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that label and describe the type of insight.
- Parameters:
categories
- The categories that label and describe the type of insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the insight.
- Parameters:
state
- The current state of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the insight.
- Parameters:
state
- The current state of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time, in Unix seconds, at which the insight began.
- Parameters:
startTime
- The time, in Unix seconds, at which the insight began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time, in Unix seconds, at which the insight ended.
- Parameters:
endTime
- The time, in Unix seconds, at which the insight ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
A brief description of the insight.
- Parameters:
summary
- A brief description of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestImpactStatistics
Insight.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 Insight.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
Insight.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 Insight.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 within the insight that is most impacted by the incident.
- Parameters:
topAnomalousServices
- The service within the insight 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 within the insight that is most impacted by the incident.
- Parameters:
topAnomalousServices
- The service within the insight 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 within the insight 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:
-