@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()
The 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()
The description for the test recommendation.
|
String |
getIntent()
The intent of the test recommendation.
|
List<RecommendationItem> |
getItems()
The test recommendation items.
|
String |
getName()
The name of the test recommendation.
|
String |
getPrerequisite()
The prerequisite of the test recommendation.
|
String |
getRecommendationId()
Identifier for the test recommendation.
|
String |
getReferenceId()
The reference identifier for the test recommendation.
|
String |
getRisk()
The level of risk for this test recommendation.
|
String |
getType()
The type of test recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppComponentName(String appComponentName)
The 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)
The description for the test recommendation.
|
void |
setIntent(String intent)
The intent of the test recommendation.
|
void |
setItems(Collection<RecommendationItem> items)
The test recommendation items.
|
void |
setName(String name)
The name of the test recommendation.
|
void |
setPrerequisite(String prerequisite)
The prerequisite of the test recommendation.
|
void |
setRecommendationId(String recommendationId)
Identifier for the test recommendation.
|
void |
setReferenceId(String referenceId)
The reference identifier for the test recommendation.
|
void |
setRisk(String risk)
The level of risk for this test recommendation.
|
void |
setType(String type)
The type of test recommendation.
|
String |
toString()
Returns a string representation of this object.
|
TestRecommendation |
withAppComponentName(String appComponentName)
The 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)
The description for the test recommendation.
|
TestRecommendation |
withIntent(String intent)
The 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)
The name of the test recommendation.
|
TestRecommendation |
withPrerequisite(String prerequisite)
The prerequisite of the test recommendation.
|
TestRecommendation |
withRecommendationId(String recommendationId)
Identifier for the test recommendation.
|
TestRecommendation |
withReferenceId(String referenceId)
The reference identifier for the test recommendation.
|
TestRecommendation |
withRisk(String risk)
The level of risk for this test recommendation.
|
TestRecommendation |
withRisk(TestRisk risk)
The level of risk for this test recommendation.
|
TestRecommendation |
withType(String type)
The type of test recommendation.
|
TestRecommendation |
withType(TestType type)
The type of test recommendation.
|
public void setAppComponentName(String appComponentName)
The name of the application component.
appComponentName
- The name of the application component.public String getAppComponentName()
The name of the application component.
public TestRecommendation withAppComponentName(String appComponentName)
The name of the application component.
appComponentName
- The 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)
The description for the test recommendation.
description
- The description for the test recommendation.public String getDescription()
The description for the test recommendation.
public TestRecommendation withDescription(String description)
The description for the test recommendation.
description
- The description for the test recommendation.public void setIntent(String intent)
The intent of the test recommendation.
intent
- The intent of the test recommendation.public String getIntent()
The intent of the test recommendation.
public TestRecommendation withIntent(String intent)
The intent of the test recommendation.
intent
- The 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)
The name of the test recommendation.
name
- The name of the test recommendation.public String getName()
The name of the test recommendation.
public TestRecommendation withName(String name)
The name of the test recommendation.
name
- The name of the test recommendation.public void setPrerequisite(String prerequisite)
The prerequisite of the test recommendation.
prerequisite
- The prerequisite of the test recommendation.public String getPrerequisite()
The prerequisite of the test recommendation.
public TestRecommendation withPrerequisite(String prerequisite)
The prerequisite of the test recommendation.
prerequisite
- The 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 setReferenceId(String referenceId)
The reference identifier for the test recommendation.
referenceId
- The reference identifier for the test recommendation.public String getReferenceId()
The reference identifier for the test recommendation.
public TestRecommendation withReferenceId(String referenceId)
The reference identifier for the test recommendation.
referenceId
- The reference identifier for the test recommendation.public void setRisk(String risk)
The level of risk for this test recommendation.
risk
- The level of risk for this test recommendation.TestRisk
public String getRisk()
The level of risk for this test recommendation.
TestRisk
public TestRecommendation withRisk(String risk)
The level of risk for this test recommendation.
risk
- The level of risk for this test recommendation.TestRisk
public TestRecommendation withRisk(TestRisk risk)
The level of risk for this test recommendation.
risk
- The level of risk for this test recommendation.TestRisk
public void setType(String type)
The type of test recommendation.
type
- The type of test recommendation.TestType
public String getType()
The type of test recommendation.
TestType
public TestRecommendation withType(String type)
The type of test recommendation.
type
- The type of test recommendation.TestType
public TestRecommendation withType(TestType type)
The type of test recommendation.
type
- The 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.