Interface TestRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestRecommendation.Builder,
,TestRecommendation> SdkBuilder<TestRecommendation.Builder,
,TestRecommendation> SdkPojo
- Enclosing class:
TestRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionappComponentId
(String appComponentId) Indicates the identifier of the AppComponent.appComponentName
(String appComponentName) Name of the Application Component.dependsOnAlarms
(String... dependsOnAlarms) A list of recommended alarms that are used in the test and must be exported before or with the test.dependsOnAlarms
(Collection<String> dependsOnAlarms) A list of recommended alarms that are used in the test and must be exported before or with the test.description
(String description) Description for the test recommendation.Intent of the test recommendation.items
(Collection<RecommendationItem> items) The test recommendation items.items
(Consumer<RecommendationItem.Builder>... items) The test recommendation items.items
(RecommendationItem... items) The test recommendation items.Name of the test recommendation.prerequisite
(String prerequisite) Prerequisite of the test recommendation.recommendationId
(String recommendationId) Identifier for the test recommendation.recommendationStatus
(String recommendationStatus) Status of the recommended test.recommendationStatus
(RecommendationStatus recommendationStatus) Status of the recommended test.referenceId
(String referenceId) Reference identifier for the test recommendation.Level of risk for this test recommendation.Level of risk for this test recommendation.Type of test recommendation.Type of test recommendation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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 theRecommendationItem.Builder
avoiding the need to create one manually viaRecommendationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<RecommendationItem>)
.- Parameters:
items
- a consumer that will call methods onRecommendationItem.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
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
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
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
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
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:
-