Interface Insight.Builder

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