public static interface Insight.Builder extends SdkPojo, CopyableBuilder<Insight.Builder,Insight>
| Modifier and Type | Method and Description |
|---|---|
Insight.Builder |
categories(Collection<InsightCategory> categories)
The categories that label and describe the type of insight.
|
Insight.Builder |
categories(InsightCategory... categories)
The categories that label and describe the type of insight.
|
Insight.Builder |
categoriesWithStrings(Collection<String> categories)
The categories that label and describe the type of insight.
|
Insight.Builder |
categoriesWithStrings(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.
|
Insight.Builder |
clientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)
The impact statistics of the client side service.
|
Insight.Builder |
endTime(Instant endTime)
The time, in Unix seconds, at which the insight ended.
|
Insight.Builder |
groupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
|
Insight.Builder |
groupName(String groupName)
The name of the group that the insight belongs to.
|
Insight.Builder |
insightId(String insightId)
The insights unique identifier.
|
default Insight.Builder |
rootCauseServiceId(Consumer<ServiceId.Builder> rootCauseServiceId)
Sets the value of the RootCauseServiceId property for this object.
|
Insight.Builder |
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.
|
Insight.Builder |
rootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)
The impact statistics of the root cause service.
|
Insight.Builder |
startTime(Instant startTime)
The time, in Unix seconds, at which the insight began.
|
Insight.Builder |
state(InsightState state)
The current state of the insight.
|
Insight.Builder |
state(String state)
The current state of the insight.
|
Insight.Builder |
summary(String summary)
A brief description of the insight.
|
Insight.Builder |
topAnomalousServices(AnomalousService... topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
Insight.Builder |
topAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
Insight.Builder |
topAnomalousServices(Consumer<AnomalousService.Builder>... topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInsight.Builder insightId(String insightId)
The insights unique identifier.
insightId - The insights unique identifier.Insight.Builder groupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
groupARN - The Amazon Resource Name (ARN) of the group that the insight belongs to.Insight.Builder groupName(String groupName)
The name of the group that the insight belongs to.
groupName - The name of the group that the insight belongs to.Insight.Builder rootCauseServiceId(ServiceId rootCauseServiceId)
rootCauseServiceId - The new value for the RootCauseServiceId property for this object.default Insight.Builder rootCauseServiceId(Consumer<ServiceId.Builder> rootCauseServiceId)
ServiceId.Builder avoiding the need to
create one manually via ServiceId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to rootCauseServiceId(ServiceId).
rootCauseServiceId - a consumer that will call methods on ServiceId.BuilderrootCauseServiceId(ServiceId)Insight.Builder categoriesWithStrings(Collection<String> categories)
The categories that label and describe the type of insight.
categories - The categories that label and describe the type of insight.Insight.Builder categoriesWithStrings(String... categories)
The categories that label and describe the type of insight.
categories - The categories that label and describe the type of insight.Insight.Builder categories(Collection<InsightCategory> categories)
The categories that label and describe the type of insight.
categories - The categories that label and describe the type of insight.Insight.Builder categories(InsightCategory... categories)
The categories that label and describe the type of insight.
categories - The categories that label and describe the type of insight.Insight.Builder state(String state)
The current state of the insight.
state - The current state of the insight.InsightState,
InsightStateInsight.Builder state(InsightState state)
The current state of the insight.
state - The current state of the insight.InsightState,
InsightStateInsight.Builder startTime(Instant startTime)
The time, in Unix seconds, at which the insight began.
startTime - The time, in Unix seconds, at which the insight began.Insight.Builder endTime(Instant endTime)
The time, in Unix seconds, at which the insight ended.
endTime - The time, in Unix seconds, at which the insight ended.Insight.Builder summary(String summary)
A brief description of the insight.
summary - A brief description of the insight.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.
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.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 via RequestImpactStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to clientRequestImpactStatistics(RequestImpactStatistics).
clientRequestImpactStatistics - a consumer that will call methods on RequestImpactStatistics.BuilderclientRequestImpactStatistics(RequestImpactStatistics)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.
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.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 via RequestImpactStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to rootCauseServiceRequestImpactStatistics(RequestImpactStatistics).
rootCauseServiceRequestImpactStatistics - a consumer that will call methods on RequestImpactStatistics.BuilderrootCauseServiceRequestImpactStatistics(RequestImpactStatistics)Insight.Builder topAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
topAnomalousServices - The service within the insight that is most impacted by the incident.Insight.Builder topAnomalousServices(AnomalousService... topAnomalousServices)
The service within the insight that is most impacted by the incident.
topAnomalousServices - The service within the insight that is most impacted by the incident.Insight.Builder topAnomalousServices(Consumer<AnomalousService.Builder>... 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 via AnomalousService.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #topAnomalousServices(List.
topAnomalousServices - a consumer that will call methods on
AnomalousService.Builder#topAnomalousServices(java.util.Collection) Copyright © 2023. All rights reserved.