Interface GetDependencyInsightsResponse.Builder

  • Method Details

    • overview

      A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.

      Parameters:
      overview - A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.

      Parameters:
      insights - The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.

      Parameters:
      insights - The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.

      This is a convenience method that creates an instance of the DependencyInsight.Builder avoiding the need to create one manually via DependencyInsight.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to insights(List<DependencyInsight>).

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

      The status of the dependency insights generation. Valid values:

      • IN_PROGRESS - Insights generation is in progress.

      • COMPLETED - Insights generation completed successfully.

      • FAILED - Insights generation failed. See errorCode and errorMessage for details.

      Parameters:
      status - The status of the dependency insights generation. Valid values:

      • IN_PROGRESS - Insights generation is in progress.

      • COMPLETED - Insights generation completed successfully.

      • FAILED - Insights generation failed. See errorCode and errorMessage for details.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the dependency insights generation. Valid values:

      • IN_PROGRESS - Insights generation is in progress.

      • COMPLETED - Insights generation completed successfully.

      • FAILED - Insights generation failed. See errorCode and errorMessage for details.

      Parameters:
      status - The status of the dependency insights generation. Valid values:

      • IN_PROGRESS - Insights generation is in progress.

      • COMPLETED - Insights generation completed successfully.

      • FAILED - Insights generation failed. See errorCode and errorMessage for details.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The timestamp when the dependency insights were generated.

      Parameters:
      createdAt - The timestamp when the dependency insights were generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      The error code returned when insights generation failed. Valid values:

      • INSUFFICIENT_DATA - There was not enough dependency data to generate insights.

      • LLM_GENERATION_FAILED - The insights could not be generated.

      • INTERNAL_ERROR - An internal error occurred while generating insights.

      Parameters:
      errorCode - The error code returned when insights generation failed. Valid values:

      • INSUFFICIENT_DATA - There was not enough dependency data to generate insights.

      • LLM_GENERATION_FAILED - The insights could not be generated.

      • INTERNAL_ERROR - An internal error occurred while generating insights.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      The error code returned when insights generation failed. Valid values:

      • INSUFFICIENT_DATA - There was not enough dependency data to generate insights.

      • LLM_GENERATION_FAILED - The insights could not be generated.

      • INTERNAL_ERROR - An internal error occurred while generating insights.

      Parameters:
      errorCode - The error code returned when insights generation failed. Valid values:

      • INSUFFICIENT_DATA - There was not enough dependency data to generate insights.

      • LLM_GENERATION_FAILED - The insights could not be generated.

      • INTERNAL_ERROR - An internal error occurred while generating insights.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      GetDependencyInsightsResponse.Builder errorMessage(String errorMessage)

      A message describing why insights generation failed.

      Parameters:
      errorMessage - A message describing why insights generation failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.