Interface TestRecommendation.Builder

  • Method Details

    • appComponentId

      TestRecommendation.Builder appComponentId(String appComponentId)

      Indicates the identifier of the AppComponent.

      Parameters:
      appComponentId - Indicates the identifier of the AppComponent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appComponentName

      TestRecommendation.Builder appComponentName(String appComponentName)

      Name of the Application Component.

      Parameters:
      appComponentName - Name of the Application Component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependsOnAlarms

      TestRecommendation.Builder dependsOnAlarms(Collection<String> dependsOnAlarms)

      A list of recommended alarms that are used in the test and must be exported before or with the test.

      Parameters:
      dependsOnAlarms - A list of recommended alarms that are used in the test and must be exported before or with the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependsOnAlarms

      TestRecommendation.Builder dependsOnAlarms(String... dependsOnAlarms)

      A list of recommended alarms that are used in the test and must be exported before or with the test.

      Parameters:
      dependsOnAlarms - A list of recommended alarms that are used in the test and must be exported before or with the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TestRecommendation.Builder description(String description)

      Description for the test recommendation.

      Parameters:
      description - Description for the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intent

      Intent of the test recommendation.

      Parameters:
      intent - Intent of the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The test recommendation items.

      Parameters:
      items - The test recommendation items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The test recommendation items.

      Parameters:
      items - The test recommendation items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The test recommendation items.

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

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

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

      Name of the test recommendation.

      Parameters:
      name - Name of the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prerequisite

      TestRecommendation.Builder prerequisite(String prerequisite)

      Prerequisite of the test recommendation.

      Parameters:
      prerequisite - Prerequisite of the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationId

      TestRecommendation.Builder recommendationId(String recommendationId)

      Identifier for the test recommendation.

      Parameters:
      recommendationId - Identifier for the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationStatus

      TestRecommendation.Builder recommendationStatus(String recommendationStatus)

      Status of the recommended test.

      Parameters:
      recommendationStatus - Status of the recommended test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommendationStatus

      TestRecommendation.Builder recommendationStatus(RecommendationStatus recommendationStatus)

      Status of the recommended test.

      Parameters:
      recommendationStatus - Status of the recommended test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • referenceId

      TestRecommendation.Builder referenceId(String referenceId)

      Reference identifier for the test recommendation.

      Parameters:
      referenceId - Reference identifier for the test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • risk

      Level of risk for this test recommendation.

      Parameters:
      risk - Level of risk for this test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • risk

      Level of risk for this test recommendation.

      Parameters:
      risk - Level of risk for this test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of test recommendation.

      Parameters:
      type - Type of test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of test recommendation.

      Parameters:
      type - Type of test recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: