Interface Insight.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Insight.Builder,Insight>,SdkBuilder<Insight.Builder,Insight>,SdkPojo
- Enclosing class:
- Insight
@Mutable @NotThreadSafe public static interface Insight.Builder extends SdkPojo, CopyableBuilder<Insight.Builder,Insight>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Insight.Buildercategories(Collection<InsightCategory> categories)The categories that label and describe the type of insight.Insight.Buildercategories(InsightCategory... categories)The categories that label and describe the type of insight.Insight.BuildercategoriesWithStrings(String... categories)The categories that label and describe the type of insight.Insight.BuildercategoriesWithStrings(Collection<String> categories)The categories that label and describe the type of insight.default Insight.BuilderclientRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> clientRequestImpactStatistics)The impact statistics of the client side service.Insight.BuilderclientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)The impact statistics of the client side service.Insight.BuilderendTime(Instant endTime)The time, in Unix seconds, at which the insight ended.Insight.BuildergroupARN(String groupARN)The Amazon Resource Name (ARN) of the group that the insight belongs to.Insight.BuildergroupName(String groupName)The name of the group that the insight belongs to.Insight.BuilderinsightId(String insightId)The insights unique identifier.default Insight.BuilderrootCauseServiceId(Consumer<ServiceId.Builder> rootCauseServiceId)Sets the value of the RootCauseServiceId property for this object.Insight.BuilderrootCauseServiceId(ServiceId rootCauseServiceId)Sets the value of the RootCauseServiceId property for this object.default Insight.BuilderrootCauseServiceRequestImpactStatistics(Consumer<RequestImpactStatistics.Builder> rootCauseServiceRequestImpactStatistics)The impact statistics of the root cause service.Insight.BuilderrootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)The impact statistics of the root cause service.Insight.BuilderstartTime(Instant startTime)The time, in Unix seconds, at which the insight began.Insight.Builderstate(String state)The current state of the insight.Insight.Builderstate(InsightState state)The current state of the insight.Insight.Buildersummary(String summary)A brief description of the insight.Insight.BuildertopAnomalousServices(Collection<AnomalousService> topAnomalousServices)The service within the insight that is most impacted by the incident.Insight.BuildertopAnomalousServices(Consumer<AnomalousService.Builder>... topAnomalousServices)The service within the insight that is most impacted by the incident.Insight.BuildertopAnomalousServices(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
insightId
Insight.Builder insightId(String 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
Insight.Builder groupARN(String 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
Insight.Builder groupName(String 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
Insight.Builder rootCauseServiceId(ServiceId 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
default Insight.Builder rootCauseServiceId(Consumer<ServiceId.Builder> rootCauseServiceId)
Sets the value of the RootCauseServiceId property for this object. This is a convenience method that creates an instance of theServiceId.Builderavoiding the need to create one manually viaServiceId.builder().When the
Consumercompletes,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:
rootCauseServiceId(ServiceId)
-
categoriesWithStrings
Insight.Builder categoriesWithStrings(Collection<String> 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.
-
categoriesWithStrings
Insight.Builder categoriesWithStrings(String... 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
Insight.Builder categories(Collection<InsightCategory> 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
Insight.Builder categories(InsightCategory... 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
Insight.Builder state(String 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:
InsightState,InsightState
-
state
Insight.Builder state(InsightState 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:
InsightState,InsightState
-
startTime
Insight.Builder startTime(Instant 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
Insight.Builder endTime(Instant 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
Insight.Builder summary(String 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.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
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.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
Insight.Builder topAnomalousServices(Collection<AnomalousService> 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
Insight.Builder topAnomalousServices(AnomalousService... 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
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.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)
-
-