Interface Insight.Builder

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

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

    • 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 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

      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:
    • 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

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

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

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