@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()
Deprecated.
|
List<String> |
getAppComponentNames()
List of Application Component names for the CloudWatch alarm recommendation.
|
String |
getDescription()
Description of the alarm recommendation.
|
List<RecommendationItem> |
getItems()
List of CloudWatch alarm recommendations.
|
String |
getName()
Name of the alarm recommendation.
|
String |
getPrerequisite()
The prerequisite for the alarm recommendation.
|
String |
getRecommendationId()
Identifier of the alarm recommendation.
|
String |
getRecommendationStatus()
Status of the recommended Amazon CloudWatch alarm.
|
String |
getReferenceId()
Reference identifier of the alarm recommendation.
|
String |
getType()
Type of alarm recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAppComponentName(String appComponentName)
Deprecated.
|
void |
setAppComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
|
void |
setDescription(String description)
Description of the alarm recommendation.
|
void |
setItems(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
|
void |
setName(String name)
Name of the alarm recommendation.
|
void |
setPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
|
void |
setRecommendationId(String recommendationId)
Identifier of the alarm recommendation.
|
void |
setRecommendationStatus(String recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
|
void |
setReferenceId(String referenceId)
Reference identifier of the alarm recommendation.
|
void |
setType(String type)
Type of alarm recommendation.
|
String |
toString()
Returns a string representation of this object.
|
AlarmRecommendation |
withAppComponentName(String appComponentName)
Deprecated.
|
AlarmRecommendation |
withAppComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
|
AlarmRecommendation |
withAppComponentNames(String... appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
|
AlarmRecommendation |
withDescription(String description)
Description of the alarm recommendation.
|
AlarmRecommendation |
withItems(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
|
AlarmRecommendation |
withItems(RecommendationItem... items)
List of CloudWatch alarm recommendations.
|
AlarmRecommendation |
withName(String name)
Name of the alarm recommendation.
|
AlarmRecommendation |
withPrerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
|
AlarmRecommendation |
withRecommendationId(String recommendationId)
Identifier of the alarm recommendation.
|
AlarmRecommendation |
withRecommendationStatus(RecommendationStatus recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
|
AlarmRecommendation |
withRecommendationStatus(String recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
|
AlarmRecommendation |
withReferenceId(String referenceId)
Reference identifier of the alarm recommendation.
|
AlarmRecommendation |
withType(AlarmType type)
Type of alarm recommendation.
|
AlarmRecommendation |
withType(String type)
Type of alarm recommendation.
|
@Deprecated public void setAppComponentName(String appComponentName)
Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in the
appComponentNames list.
appComponentName - Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item
in the appComponentNames list.@Deprecated public String getAppComponentName()
Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in the
appComponentNames list.
appComponentNames list.@Deprecated public AlarmRecommendation withAppComponentName(String appComponentName)
Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in the
appComponentNames list.
appComponentName - Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item
in the appComponentNames list.public List<String> getAppComponentNames()
List of Application Component names for the CloudWatch alarm recommendation.
public void setAppComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
appComponentNames - List of Application Component names for the CloudWatch alarm recommendation.public AlarmRecommendation withAppComponentNames(String... appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setAppComponentNames(java.util.Collection) or withAppComponentNames(java.util.Collection) if
you want to override the existing values.
appComponentNames - List of Application Component names for the CloudWatch alarm recommendation.public AlarmRecommendation withAppComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
appComponentNames - List of Application Component names for the CloudWatch alarm recommendation.public void setDescription(String description)
Description of the alarm recommendation.
description - Description of the alarm recommendation.public String getDescription()
Description of the alarm recommendation.
public AlarmRecommendation withDescription(String description)
Description of the alarm recommendation.
description - Description of the alarm recommendation.public List<RecommendationItem> getItems()
List of CloudWatch alarm recommendations.
public void setItems(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
items - List of CloudWatch alarm recommendations.public AlarmRecommendation withItems(RecommendationItem... items)
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 - List of CloudWatch alarm recommendations.public AlarmRecommendation withItems(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
items - List of CloudWatch alarm recommendations.public void setName(String name)
Name of the alarm recommendation.
name - Name of the alarm recommendation.public String getName()
Name of the alarm recommendation.
public AlarmRecommendation withName(String name)
Name of the alarm recommendation.
name - 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)
Identifier of the alarm recommendation.
recommendationId - Identifier of the alarm recommendation.public String getRecommendationId()
Identifier of the alarm recommendation.
public AlarmRecommendation withRecommendationId(String recommendationId)
Identifier of the alarm recommendation.
recommendationId - Identifier of the alarm recommendation.public void setRecommendationStatus(String recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
recommendationStatus - Status of the recommended Amazon CloudWatch alarm.RecommendationStatuspublic String getRecommendationStatus()
Status of the recommended Amazon CloudWatch alarm.
RecommendationStatuspublic AlarmRecommendation withRecommendationStatus(String recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
recommendationStatus - Status of the recommended Amazon CloudWatch alarm.RecommendationStatuspublic AlarmRecommendation withRecommendationStatus(RecommendationStatus recommendationStatus)
Status of the recommended Amazon CloudWatch alarm.
recommendationStatus - Status of the recommended Amazon CloudWatch alarm.RecommendationStatuspublic void setReferenceId(String referenceId)
Reference identifier of the alarm recommendation.
referenceId - Reference identifier of the alarm recommendation.public String getReferenceId()
Reference identifier of the alarm recommendation.
public AlarmRecommendation withReferenceId(String referenceId)
Reference identifier of the alarm recommendation.
referenceId - Reference identifier of the alarm recommendation.public void setType(String type)
Type of alarm recommendation.
type - Type of alarm recommendation.AlarmTypepublic String getType()
Type of alarm recommendation.
AlarmTypepublic AlarmRecommendation withType(String type)
Type of alarm recommendation.
type - Type of alarm recommendation.AlarmTypepublic AlarmRecommendation withType(AlarmType type)
Type of alarm recommendation.
type - Type of alarm recommendation.AlarmTypepublic String toString()
toString in class ObjectObject.toString()public AlarmRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.