public static interface TestRecommendation.Builder extends SdkPojo, CopyableBuilder<TestRecommendation.Builder,TestRecommendation>
| Modifier and Type | Method and Description |
|---|---|
TestRecommendation.Builder |
appComponentName(String appComponentName)
The name of the application component.
|
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.
|
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.
|
TestRecommendation.Builder |
description(String description)
The description for the test recommendation.
|
TestRecommendation.Builder |
intent(String intent)
The intent of the test recommendation.
|
TestRecommendation.Builder |
items(Collection<RecommendationItem> items)
The test recommendation items.
|
TestRecommendation.Builder |
items(Consumer<RecommendationItem.Builder>... items)
The test recommendation items.
|
TestRecommendation.Builder |
items(RecommendationItem... items)
The test recommendation items.
|
TestRecommendation.Builder |
name(String name)
The name of the test recommendation.
|
TestRecommendation.Builder |
prerequisite(String prerequisite)
The prerequisite of the test recommendation.
|
TestRecommendation.Builder |
recommendationId(String recommendationId)
Identifier for the test recommendation.
|
TestRecommendation.Builder |
referenceId(String referenceId)
The reference identifier for the test recommendation.
|
TestRecommendation.Builder |
risk(String risk)
The level of risk for this test recommendation.
|
TestRecommendation.Builder |
risk(TestRisk risk)
The level of risk for this test recommendation.
|
TestRecommendation.Builder |
type(String type)
The type of test recommendation.
|
TestRecommendation.Builder |
type(TestType type)
The type of test recommendation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTestRecommendation.Builder appComponentName(String appComponentName)
The name of the application component.
appComponentName - The name of the application component.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.
dependsOnAlarms - A list of recommended alarms that are used in the test and must be exported before or with the test.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.
dependsOnAlarms - A list of recommended alarms that are used in the test and must be exported before or with the test.TestRecommendation.Builder description(String description)
The description for the test recommendation.
description - The description for the test recommendation.TestRecommendation.Builder intent(String intent)
The intent of the test recommendation.
intent - The intent of the test recommendation.TestRecommendation.Builder items(Collection<RecommendationItem> items)
The test recommendation items.
items - The test recommendation items.TestRecommendation.Builder items(RecommendationItem... items)
The test recommendation items.
items - The test recommendation items.TestRecommendation.Builder items(Consumer<RecommendationItem.Builder>... items)
The test recommendation items.
This is a convenience method that creates an instance of theRecommendationItem.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.
items - a consumer that will call methods on
RecommendationItem.Builder#items(java.util.Collection) TestRecommendation.Builder name(String name)
The name of the test recommendation.
name - The name of the test recommendation.TestRecommendation.Builder prerequisite(String prerequisite)
The prerequisite of the test recommendation.
prerequisite - The prerequisite of the test recommendation.TestRecommendation.Builder recommendationId(String recommendationId)
Identifier for the test recommendation.
recommendationId - Identifier for the test recommendation.TestRecommendation.Builder referenceId(String referenceId)
The reference identifier for the test recommendation.
referenceId - The reference identifier for the test recommendation.TestRecommendation.Builder risk(String risk)
The level of risk for this test recommendation.
TestRecommendation.Builder risk(TestRisk risk)
The level of risk for this test recommendation.
TestRecommendation.Builder type(String type)
The type of test recommendation.
TestRecommendation.Builder type(TestType type)
The type of test recommendation.
Copyright © 2022. All rights reserved.