@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Defines a recommendation for a CloudWatch alarm.
Constructor and Description |
---|
AlarmRecommendation() |
Modifier and Type | Method and Description |
---|---|
AlarmRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAppComponentName()
The Application Component for the CloudWatch alarm recommendation.
|
String |
getDescription()
The description of the recommendation.
|
List<RecommendationItem> |
getItems()
The list of CloudWatch alarm recommendations.
|
String |
getName()
The name of the alarm recommendation.
|
String |
getPrerequisite()
The prerequisite for the alarm recommendation.
|
String |
getRecommendationId()
The identifier of the alarm recommendation.
|
String |
getReferenceId()
The reference identifier of the alarm recommendation.
|
String |
getType()
The type of alarm recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppComponentName(String appComponentName)
The Application Component for the CloudWatch alarm recommendation.
|
void |
setDescription(String description)
The description of the recommendation.
|
void |
setItems(Collection<RecommendationItem> items)
The list of CloudWatch alarm recommendations.
|
void |
setName(String name)
The name of the alarm recommendation.
|
void |
setPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
|
void |
setRecommendationId(String recommendationId)
The identifier of the alarm recommendation.
|
void |
setReferenceId(String referenceId)
The reference identifier of the alarm recommendation.
|
void |
setType(String type)
The type of alarm recommendation.
|
String |
toString()
Returns a string representation of this object.
|
AlarmRecommendation |
withAppComponentName(String appComponentName)
The Application Component for the CloudWatch alarm recommendation.
|
AlarmRecommendation |
withDescription(String description)
The description of the recommendation.
|
AlarmRecommendation |
withItems(Collection<RecommendationItem> items)
The list of CloudWatch alarm recommendations.
|
AlarmRecommendation |
withItems(RecommendationItem... items)
The list of CloudWatch alarm recommendations.
|
AlarmRecommendation |
withName(String name)
The name of the alarm recommendation.
|
AlarmRecommendation |
withPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
|
AlarmRecommendation |
withRecommendationId(String recommendationId)
The identifier of the alarm recommendation.
|
AlarmRecommendation |
withReferenceId(String referenceId)
The reference identifier of the alarm recommendation.
|
AlarmRecommendation |
withType(AlarmType type)
The type of alarm recommendation.
|
AlarmRecommendation |
withType(String type)
The type of alarm recommendation.
|
public void setAppComponentName(String appComponentName)
The Application Component for the CloudWatch alarm recommendation.
appComponentName
- The Application Component for the CloudWatch alarm recommendation.public String getAppComponentName()
The Application Component for the CloudWatch alarm recommendation.
public AlarmRecommendation withAppComponentName(String appComponentName)
The Application Component for the CloudWatch alarm recommendation.
appComponentName
- The Application Component for the CloudWatch alarm recommendation.public void setDescription(String description)
The description of the recommendation.
description
- The description of the recommendation.public String getDescription()
The description of the recommendation.
public AlarmRecommendation withDescription(String description)
The description of the recommendation.
description
- The description of the recommendation.public List<RecommendationItem> getItems()
The list of CloudWatch alarm recommendations.
public void setItems(Collection<RecommendationItem> items)
The list of CloudWatch alarm recommendations.
items
- The list of CloudWatch alarm recommendations.public AlarmRecommendation withItems(RecommendationItem... items)
The list of CloudWatch alarm recommendations.
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 list of CloudWatch alarm recommendations.public AlarmRecommendation withItems(Collection<RecommendationItem> items)
The list of CloudWatch alarm recommendations.
items
- The list of CloudWatch alarm recommendations.public void setName(String name)
The name of the alarm recommendation.
name
- The name of the alarm recommendation.public String getName()
The name of the alarm recommendation.
public AlarmRecommendation withName(String name)
The name of the alarm recommendation.
name
- The name of the alarm recommendation.public void setPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
prerequisite
- The prerequisite for the alarm recommendation.public String getPrerequisite()
The prerequisite for the alarm recommendation.
public AlarmRecommendation withPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
prerequisite
- The prerequisite for the alarm recommendation.public void setRecommendationId(String recommendationId)
The identifier of the alarm recommendation.
recommendationId
- The identifier of the alarm recommendation.public String getRecommendationId()
The identifier of the alarm recommendation.
public AlarmRecommendation withRecommendationId(String recommendationId)
The identifier of the alarm recommendation.
recommendationId
- The identifier of the alarm recommendation.public void setReferenceId(String referenceId)
The reference identifier of the alarm recommendation.
referenceId
- The reference identifier of the alarm recommendation.public String getReferenceId()
The reference identifier of the alarm recommendation.
public AlarmRecommendation withReferenceId(String referenceId)
The reference identifier of the alarm recommendation.
referenceId
- The reference identifier of the alarm recommendation.public void setType(String type)
The type of alarm recommendation.
type
- The type of alarm recommendation.AlarmType
public String getType()
The type of alarm recommendation.
AlarmType
public AlarmRecommendation withType(String type)
The type of alarm recommendation.
type
- The type of alarm recommendation.AlarmType
public AlarmRecommendation withType(AlarmType type)
The type of alarm recommendation.
type
- The type of alarm recommendation.AlarmType
public String toString()
toString
in class Object
Object.toString()
public AlarmRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.