@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCloudWatchAlarmTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
UpdateCloudWatchAlarmTemplateResult () |
| Modifier and Type | Method and Description |
|---|---|
UpdateCloudWatchAlarmTemplateResult |
addTagsEntry (String key,
String value)
Add a single Tags entry
|
UpdateCloudWatchAlarmTemplateResult |
clearTagsEntries ()
Removes all the entries added into Tags.
|
UpdateCloudWatchAlarmTemplateResult |
clone () |
boolean |
equals (Object obj) |
String |
getArn ()
A cloudwatch alarm template's ARN (Amazon Resource Name)
|
String |
getComparisonOperator () |
Date |
getCreatedAt () |
Integer |
getDatapointsToAlarm ()
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
String |
getDescription ()
A resource's optional description.
|
Integer |
getEvaluationPeriods ()
The number of periods over which data is compared to the specified threshold.
|
String |
getGroupId ()
A cloudwatch alarm template group's id.
|
String |
getId ()
A cloudwatch alarm template's id.
|
String |
getMetricName ()
The name of the metric associated with the alarm.
|
Date |
getModifiedAt () |
String |
getName ()
A resource's name.
|
Integer |
getPeriod ()
The period, in seconds, over which the specified statistic is applied.
|
String |
getStatistic () |
Map<String,String> |
getTags () |
String |
getTargetResourceType () |
Double |
getThreshold ()
The threshold value to compare with the specified statistic.
|
String |
getTreatMissingData () |
int |
hashCode () |
void |
setArn (String arn)
A cloudwatch alarm template's ARN (Amazon Resource Name)
|
void |
setComparisonOperator (String comparisonOperator) |
void |
setCreatedAt (Date createdAt) |
void |
setDatapointsToAlarm (Integer datapointsToAlarm)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
void |
setDescription (String description)
A resource's optional description.
|
void |
setEvaluationPeriods (Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
void |
setGroupId (String groupId)
A cloudwatch alarm template group's id.
|
void |
setId (String id)
A cloudwatch alarm template's id.
|
void |
setMetricName (String metricName)
The name of the metric associated with the alarm.
|
void |
setModifiedAt (Date modifiedAt) |
void |
setName (String name)
A resource's name.
|
void |
setPeriod (Integer period)
The period, in seconds, over which the specified statistic is applied.
|
void |
setStatistic (String statistic) |
void |
setTags (Map<String,String> tags) |
void |
setTargetResourceType (String targetResourceType) |
void |
setThreshold (Double threshold)
The threshold value to compare with the specified statistic.
|
void |
setTreatMissingData (String treatMissingData) |
String |
toString ()
Returns a string representation of this object.
|
UpdateCloudWatchAlarmTemplateResult |
withArn (String arn)
A cloudwatch alarm template's ARN (Amazon Resource Name)
|
UpdateCloudWatchAlarmTemplateResult |
withComparisonOperator (CloudWatchAlarmTemplateComparisonOperator comparisonOperator) |
UpdateCloudWatchAlarmTemplateResult |
withComparisonOperator (String comparisonOperator) |
UpdateCloudWatchAlarmTemplateResult |
withCreatedAt (Date createdAt) |
UpdateCloudWatchAlarmTemplateResult |
withDatapointsToAlarm (Integer datapointsToAlarm)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
UpdateCloudWatchAlarmTemplateResult |
withDescription (String description)
A resource's optional description.
|
UpdateCloudWatchAlarmTemplateResult |
withEvaluationPeriods (Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
UpdateCloudWatchAlarmTemplateResult |
withGroupId (String groupId)
A cloudwatch alarm template group's id.
|
UpdateCloudWatchAlarmTemplateResult |
withId (String id)
A cloudwatch alarm template's id.
|
UpdateCloudWatchAlarmTemplateResult |
withMetricName (String metricName)
The name of the metric associated with the alarm.
|
UpdateCloudWatchAlarmTemplateResult |
withModifiedAt (Date modifiedAt) |
UpdateCloudWatchAlarmTemplateResult |
withName (String name)
A resource's name.
|
UpdateCloudWatchAlarmTemplateResult |
withPeriod (Integer period)
The period, in seconds, over which the specified statistic is applied.
|
UpdateCloudWatchAlarmTemplateResult |
withStatistic (CloudWatchAlarmTemplateStatistic statistic) |
UpdateCloudWatchAlarmTemplateResult |
withStatistic (String statistic) |
UpdateCloudWatchAlarmTemplateResult |
withTags (Map<String,String> tags) |
UpdateCloudWatchAlarmTemplateResult |
withTargetResourceType (CloudWatchAlarmTemplateTargetResourceType targetResourceType) |
UpdateCloudWatchAlarmTemplateResult |
withTargetResourceType (String targetResourceType) |
UpdateCloudWatchAlarmTemplateResult |
withThreshold (Double threshold)
The threshold value to compare with the specified statistic.
|
UpdateCloudWatchAlarmTemplateResult |
withTreatMissingData (CloudWatchAlarmTemplateTreatMissingData treatMissingData) |
UpdateCloudWatchAlarmTemplateResult |
withTreatMissingData (String treatMissingData) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public UpdateCloudWatchAlarmTemplateResult()
public void setArn(String arn)
arn - A cloudwatch alarm template's ARN (Amazon Resource Name)public String getArn()
public UpdateCloudWatchAlarmTemplateResult withArn(String arn)
arn - A cloudwatch alarm template's ARN (Amazon Resource Name)public void setComparisonOperator(String comparisonOperator)
comparisonOperator - CloudWatchAlarmTemplateComparisonOperator public String getComparisonOperator()
CloudWatchAlarmTemplateComparisonOperator public UpdateCloudWatchAlarmTemplateResult withComparisonOperator(String comparisonOperator)
comparisonOperator - CloudWatchAlarmTemplateComparisonOperator public UpdateCloudWatchAlarmTemplateResult withComparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)
comparisonOperator - CloudWatchAlarmTemplateComparisonOperator public void setCreatedAt(Date createdAt)
createdAt - public Date getCreatedAt()
public UpdateCloudWatchAlarmTemplateResult withCreatedAt(Date createdAt)
createdAt - public void setDatapointsToAlarm(Integer datapointsToAlarm)
datapointsToAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.public Integer getDatapointsToAlarm()
public UpdateCloudWatchAlarmTemplateResult withDatapointsToAlarm(Integer datapointsToAlarm)
datapointsToAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.public void setDescription(String description)
description - A resource's optional description.public String getDescription()
public UpdateCloudWatchAlarmTemplateResult withDescription(String description)
description - A resource's optional description.public void setEvaluationPeriods(Integer evaluationPeriods)
evaluationPeriods - The number of periods over which data is compared to the specified threshold.public Integer getEvaluationPeriods()
public UpdateCloudWatchAlarmTemplateResult withEvaluationPeriods(Integer evaluationPeriods)
evaluationPeriods - The number of periods over which data is compared to the specified threshold.public void setGroupId(String groupId)
groupId - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`public String getGroupId()
public UpdateCloudWatchAlarmTemplateResult withGroupId(String groupId)
groupId - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`public void setId(String id)
id - A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`public String getId()
public UpdateCloudWatchAlarmTemplateResult withId(String id)
id - A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`public void setMetricName(String metricName)
metricName - The name of the metric associated with the alarm. Must be compatible with targetResourceType.public String getMetricName()
public UpdateCloudWatchAlarmTemplateResult withMetricName(String metricName)
metricName - The name of the metric associated with the alarm. Must be compatible with targetResourceType.public void setModifiedAt(Date modifiedAt)
modifiedAt - public Date getModifiedAt()
public UpdateCloudWatchAlarmTemplateResult withModifiedAt(Date modifiedAt)
modifiedAt - public void setName(String name)
name - A resource's name. Names must be unique within the scope of a resource type in a specific region.public String getName()
public UpdateCloudWatchAlarmTemplateResult withName(String name)
name - A resource's name. Names must be unique within the scope of a resource type in a specific region.public void setPeriod(Integer period)
period - The period, in seconds, over which the specified statistic is applied.public Integer getPeriod()
public UpdateCloudWatchAlarmTemplateResult withPeriod(Integer period)
period - The period, in seconds, over which the specified statistic is applied.public void setStatistic(String statistic)
statistic - CloudWatchAlarmTemplateStatistic public String getStatistic()
CloudWatchAlarmTemplateStatistic public UpdateCloudWatchAlarmTemplateResult withStatistic(String statistic)
statistic - CloudWatchAlarmTemplateStatistic public UpdateCloudWatchAlarmTemplateResult withStatistic(CloudWatchAlarmTemplateStatistic statistic)
statistic - CloudWatchAlarmTemplateStatistic public UpdateCloudWatchAlarmTemplateResult withTags(Map<String,String> tags)
tags - public UpdateCloudWatchAlarmTemplateResult addTagsEntry(String key, String value)
public UpdateCloudWatchAlarmTemplateResult clearTagsEntries()
public void setTargetResourceType(String targetResourceType)
targetResourceType - CloudWatchAlarmTemplateTargetResourceType public String getTargetResourceType()
CloudWatchAlarmTemplateTargetResourceType public UpdateCloudWatchAlarmTemplateResult withTargetResourceType(String targetResourceType)
targetResourceType - CloudWatchAlarmTemplateTargetResourceType public UpdateCloudWatchAlarmTemplateResult withTargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)
targetResourceType - CloudWatchAlarmTemplateTargetResourceType public void setThreshold(Double threshold)
threshold - The threshold value to compare with the specified statistic.public Double getThreshold()
public UpdateCloudWatchAlarmTemplateResult withThreshold(Double threshold)
threshold - The threshold value to compare with the specified statistic.public void setTreatMissingData(String treatMissingData)
treatMissingData - CloudWatchAlarmTemplateTreatMissingData public String getTreatMissingData()
CloudWatchAlarmTemplateTreatMissingData public UpdateCloudWatchAlarmTemplateResult withTreatMissingData(String treatMissingData)
treatMissingData - CloudWatchAlarmTemplateTreatMissingData public UpdateCloudWatchAlarmTemplateResult withTreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)
treatMissingData - CloudWatchAlarmTemplateTreatMissingData public String toString()
toString in class Object Object.toString() public UpdateCloudWatchAlarmTemplateResult clone()