@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Defines a test recommendation.
Constructor and Description |
---|
TestRecommendation() |
Modifier and Type | Method and Description |
---|---|
TestRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAppComponentName()
Name of the Application Component.
|
List<String> |
getDependsOnAlarms()
A list of recommended alarms that are used in the test and must be exported before or with the test.
|
String |
getDescription()
Description for the test recommendation.
|
String |
getIntent()
Intent of the test recommendation.
|
List<RecommendationItem> |
getItems()
The test recommendation items.
|
String |
getName()
Name of the test recommendation.
|
String |
getPrerequisite()
Prerequisite of the test recommendation.
|
String |
getRecommendationId()
Identifier for the test recommendation.
|
String |
getRecommendationStatus()
Status of the recommended test.
|
String |
getReferenceId()
Reference identifier for the test recommendation.
|
String |
getRisk()
Level of risk for this test recommendation.
|
String |
getType()
Type of test recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppComponentName(String appComponentName)
Name of the Application Component.
|
void |
setDependsOnAlarms(Collection<String> dependsOnAlarms)
A list of recommended alarms that are used in the test and must be exported before or with the test.
|
void |
setDescription(String description)
Description for the test recommendation.
|
void |
setIntent(String intent)
Intent of the test recommendation.
|
void |
setItems(Collection<RecommendationItem> items)
The test recommendation items.
|
void |
setName(String name)
Name of the test recommendation.
|
void |
setPrerequisite(String prerequisite)
Prerequisite of the test recommendation.
|
void |
setRecommendationId(String recommendationId)
Identifier for the test recommendation.
|
void |
setRecommendationStatus(String recommendationStatus)
Status of the recommended test.
|
void |
setReferenceId(String referenceId)
Reference identifier for the test recommendation.
|
void |
setRisk(String risk)
Level of risk for this test recommendation.
|
void |
setType(String type)
Type of test recommendation.
|
String |
toString()
Returns a string representation of this object.
|
TestRecommendation |
withAppComponentName(String appComponentName)
Name of the Application Component.
|
TestRecommendation |
withDependsOnAlarms(Collection<String> dependsOnAlarms)
A list of recommended alarms that are used in the test and must be exported before or with the test.
|
TestRecommendation |
withDependsOnAlarms(String... dependsOnAlarms)
A list of recommended alarms that are used in the test and must be exported before or with the test.
|
TestRecommendation |
withDescription(String description)
Description for the test recommendation.
|
TestRecommendation |
withIntent(String intent)
Intent of the test recommendation.
|
TestRecommendation |
withItems(Collection<RecommendationItem> items)
The test recommendation items.
|
TestRecommendation |
withItems(RecommendationItem... items)
The test recommendation items.
|
TestRecommendation |
withName(String name)
Name of the test recommendation.
|
TestRecommendation |
withPrerequisite(String prerequisite)
Prerequisite of the test recommendation.
|
TestRecommendation |
withRecommendationId(String recommendationId)
Identifier for the test recommendation.
|
TestRecommendation |
withRecommendationStatus(RecommendationStatus recommendationStatus)
Status of the recommended test.
|
TestRecommendation |
withRecommendationStatus(String recommendationStatus)
Status of the recommended test.
|
TestRecommendation |
withReferenceId(String referenceId)
Reference identifier for the test recommendation.
|
TestRecommendation |
withRisk(String risk)
Level of risk for this test recommendation.
|
TestRecommendation |
withRisk(TestRisk risk)
Level of risk for this test recommendation.
|
TestRecommendation |
withType(String type)
Type of test recommendation.
|
TestRecommendation |
withType(TestType type)
Type of test recommendation.
|
public void setAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public String getAppComponentName()
Name of the Application Component.
public TestRecommendation withAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public List<String> getDependsOnAlarms()
A list of recommended alarms that are used in the test and must be exported before or with the test.
public void setDependsOnAlarms(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.public TestRecommendation withDependsOnAlarms(String... dependsOnAlarms)
A list of recommended alarms that are used in the test and must be exported before or with the test.
NOTE: This method appends the values to the existing list (if any). Use
setDependsOnAlarms(java.util.Collection)
or withDependsOnAlarms(java.util.Collection)
if you
want to override the existing values.
dependsOnAlarms
- A list of recommended alarms that are used in the test and must be exported before or with the test.public TestRecommendation withDependsOnAlarms(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.public void setDescription(String description)
Description for the test recommendation.
description
- Description for the test recommendation.public String getDescription()
Description for the test recommendation.
public TestRecommendation withDescription(String description)
Description for the test recommendation.
description
- Description for the test recommendation.public void setIntent(String intent)
Intent of the test recommendation.
intent
- Intent of the test recommendation.public String getIntent()
Intent of the test recommendation.
public TestRecommendation withIntent(String intent)
Intent of the test recommendation.
intent
- Intent of the test recommendation.public List<RecommendationItem> getItems()
The test recommendation items.
public void setItems(Collection<RecommendationItem> items)
The test recommendation items.
items
- The test recommendation items.public TestRecommendation withItems(RecommendationItem... items)
The test recommendation items.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The test recommendation items.public TestRecommendation withItems(Collection<RecommendationItem> items)
The test recommendation items.
items
- The test recommendation items.public void setName(String name)
Name of the test recommendation.
name
- Name of the test recommendation.public String getName()
Name of the test recommendation.
public TestRecommendation withName(String name)
Name of the test recommendation.
name
- Name of the test recommendation.public void setPrerequisite(String prerequisite)
Prerequisite of the test recommendation.
prerequisite
- Prerequisite of the test recommendation.public String getPrerequisite()
Prerequisite of the test recommendation.
public TestRecommendation withPrerequisite(String prerequisite)
Prerequisite of the test recommendation.
prerequisite
- Prerequisite of the test recommendation.public void setRecommendationId(String recommendationId)
Identifier for the test recommendation.
recommendationId
- Identifier for the test recommendation.public String getRecommendationId()
Identifier for the test recommendation.
public TestRecommendation withRecommendationId(String recommendationId)
Identifier for the test recommendation.
recommendationId
- Identifier for the test recommendation.public void setRecommendationStatus(String recommendationStatus)
Status of the recommended test.
recommendationStatus
- Status of the recommended test.RecommendationStatus
public String getRecommendationStatus()
Status of the recommended test.
RecommendationStatus
public TestRecommendation withRecommendationStatus(String recommendationStatus)
Status of the recommended test.
recommendationStatus
- Status of the recommended test.RecommendationStatus
public TestRecommendation withRecommendationStatus(RecommendationStatus recommendationStatus)
Status of the recommended test.
recommendationStatus
- Status of the recommended test.RecommendationStatus
public void setReferenceId(String referenceId)
Reference identifier for the test recommendation.
referenceId
- Reference identifier for the test recommendation.public String getReferenceId()
Reference identifier for the test recommendation.
public TestRecommendation withReferenceId(String referenceId)
Reference identifier for the test recommendation.
referenceId
- Reference identifier for the test recommendation.public void setRisk(String risk)
Level of risk for this test recommendation.
risk
- Level of risk for this test recommendation.TestRisk
public String getRisk()
Level of risk for this test recommendation.
TestRisk
public TestRecommendation withRisk(String risk)
Level of risk for this test recommendation.
risk
- Level of risk for this test recommendation.TestRisk
public TestRecommendation withRisk(TestRisk risk)
Level of risk for this test recommendation.
risk
- Level of risk for this test recommendation.TestRisk
public void setType(String type)
Type of test recommendation.
type
- Type of test recommendation.TestType
public String getType()
Type of test recommendation.
TestType
public TestRecommendation withType(String type)
Type of test recommendation.
type
- Type of test recommendation.TestType
public TestRecommendation withType(TestType type)
Type of test recommendation.
type
- Type of test recommendation.TestType
public String toString()
toString
in class Object
Object.toString()
public TestRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.