Interface InsightSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InsightSummary.Builder,InsightSummary>, SdkBuilder<InsightSummary.Builder,InsightSummary>, SdkPojo
Enclosing class:
InsightSummary

public static interface InsightSummary.Builder extends SdkPojo, CopyableBuilder<InsightSummary.Builder,InsightSummary>
  • Method Details

    • insightId

      InsightSummary.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

      InsightSummary.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

      InsightSummary.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

      InsightSummary.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 InsightSummary.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 the 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).

      Parameters:
      rootCauseServiceId - a consumer that will call methods on ServiceId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • categoriesWithStrings

      InsightSummary.Builder categoriesWithStrings(Collection<String> categories)

      Categories The categories that label and describe the type of insight.

      Parameters:
      categories - 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

      InsightSummary.Builder categoriesWithStrings(String... categories)

      Categories The categories that label and describe the type of insight.

      Parameters:
      categories - 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

      Categories The categories that label and describe the type of insight.

      Parameters:
      categories - 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

      InsightSummary.Builder categories(InsightCategory... categories)

      Categories The categories that label and describe the type of insight.

      Parameters:
      categories - 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

      InsightSummary.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

      InsightSummary.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

      InsightSummary.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

      InsightSummary.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 InsightSummary.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 the RequestImpactStatistics.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).

      Parameters:
      clientRequestImpactStatistics - a consumer that will call methods on RequestImpactStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rootCauseServiceRequestImpactStatistics

      InsightSummary.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 InsightSummary.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 the RequestImpactStatistics.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).

      Parameters:
      rootCauseServiceRequestImpactStatistics - a consumer that will call methods on RequestImpactStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • topAnomalousServices

      InsightSummary.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

      InsightSummary.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

      InsightSummary.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 the AnomalousService.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<AnomalousService>).

      Parameters:
      topAnomalousServices - a consumer that will call methods on AnomalousService.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdateTime

      InsightSummary.Builder lastUpdateTime(Instant lastUpdateTime)

      The time, in Unix seconds, that the insight was last updated.

      Parameters:
      lastUpdateTime - The time, in Unix seconds, that the insight was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.