Interface TestRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TestRecommendation.Builder,TestRecommendation>,SdkBuilder<TestRecommendation.Builder,TestRecommendation>,SdkPojo
- Enclosing class:
- TestRecommendation
public static interface TestRecommendation.Builder extends SdkPojo, CopyableBuilder<TestRecommendation.Builder,TestRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestRecommendation.BuilderappComponentName(String appComponentName)Name of the Application Component.TestRecommendation.BuilderdependsOnAlarms(String... dependsOnAlarms)A list of recommended alarms that are used in the test and must be exported before or with the test.TestRecommendation.BuilderdependsOnAlarms(Collection<String> dependsOnAlarms)A list of recommended alarms that are used in the test and must be exported before or with the test.TestRecommendation.Builderdescription(String description)Description for the test recommendation.TestRecommendation.Builderintent(String intent)Intent of the test recommendation.TestRecommendation.Builderitems(Collection<RecommendationItem> items)The test recommendation items.TestRecommendation.Builderitems(Consumer<RecommendationItem.Builder>... items)The test recommendation items.TestRecommendation.Builderitems(RecommendationItem... items)The test recommendation items.TestRecommendation.Buildername(String name)Name of the test recommendation.TestRecommendation.Builderprerequisite(String prerequisite)Prerequisite of the test recommendation.TestRecommendation.BuilderrecommendationId(String recommendationId)Identifier for the test recommendation.TestRecommendation.BuilderrecommendationStatus(String recommendationStatus)Status of the recommended test.TestRecommendation.BuilderrecommendationStatus(RecommendationStatus recommendationStatus)Status of the recommended test.TestRecommendation.BuilderreferenceId(String referenceId)Reference identifier for the test recommendation.TestRecommendation.Builderrisk(String risk)Level of risk for this test recommendation.TestRecommendation.Builderrisk(TestRisk risk)Level of risk for this test recommendation.TestRecommendation.Buildertype(String type)Type of test recommendation.TestRecommendation.Buildertype(TestType type)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, sdkFields
-
-
-
-
Method Detail
-
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
TestRecommendation.Builder intent(String 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
TestRecommendation.Builder items(Collection<RecommendationItem> 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
TestRecommendation.Builder items(RecommendationItem... 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
TestRecommendation.Builder items(Consumer<RecommendationItem.Builder>... items)
The test recommendation items.
This is a convenience method that creates an instance of theRecommendationItem.Builderavoiding the need to create one manually viaRecommendationItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
name
TestRecommendation.Builder name(String 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,RecommendationStatus
-
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:
RecommendationStatus,RecommendationStatus
-
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
TestRecommendation.Builder risk(String risk)
Level of risk for this test recommendation.
-
risk
TestRecommendation.Builder risk(TestRisk risk)
Level of risk for this test recommendation.
-
type
TestRecommendation.Builder type(String type)
Type of test recommendation.
-
type
TestRecommendation.Builder type(TestType type)
Type of test recommendation.
-
-