@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchAlarmTemplateSummary extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CloudWatchAlarmTemplateSummary() |
Modifier and Type | Method and Description |
---|---|
CloudWatchAlarmTemplateSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CloudWatchAlarmTemplateSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
CloudWatchAlarmTemplateSummary |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
CloudWatchAlarmTemplateSummary |
withArn(String arn)
A cloudwatch alarm template's ARN (Amazon Resource Name)
|
CloudWatchAlarmTemplateSummary |
withComparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator) |
CloudWatchAlarmTemplateSummary |
withComparisonOperator(String comparisonOperator) |
CloudWatchAlarmTemplateSummary |
withCreatedAt(Date createdAt) |
CloudWatchAlarmTemplateSummary |
withDatapointsToAlarm(Integer datapointsToAlarm)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
CloudWatchAlarmTemplateSummary |
withDescription(String description)
A resource's optional description.
|
CloudWatchAlarmTemplateSummary |
withEvaluationPeriods(Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
CloudWatchAlarmTemplateSummary |
withGroupId(String groupId)
A cloudwatch alarm template group's id.
|
CloudWatchAlarmTemplateSummary |
withId(String id)
A cloudwatch alarm template's id.
|
CloudWatchAlarmTemplateSummary |
withMetricName(String metricName)
The name of the metric associated with the alarm.
|
CloudWatchAlarmTemplateSummary |
withModifiedAt(Date modifiedAt) |
CloudWatchAlarmTemplateSummary |
withName(String name)
A resource's name.
|
CloudWatchAlarmTemplateSummary |
withPeriod(Integer period)
The period, in seconds, over which the specified statistic is applied.
|
CloudWatchAlarmTemplateSummary |
withStatistic(CloudWatchAlarmTemplateStatistic statistic) |
CloudWatchAlarmTemplateSummary |
withStatistic(String statistic) |
CloudWatchAlarmTemplateSummary |
withTags(Map<String,String> tags) |
CloudWatchAlarmTemplateSummary |
withTargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType) |
CloudWatchAlarmTemplateSummary |
withTargetResourceType(String targetResourceType) |
CloudWatchAlarmTemplateSummary |
withThreshold(Double threshold)
The threshold value to compare with the specified statistic.
|
CloudWatchAlarmTemplateSummary |
withTreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData) |
CloudWatchAlarmTemplateSummary |
withTreatMissingData(String treatMissingData) |
public void setArn(String arn)
arn
- A cloudwatch alarm template's ARN (Amazon Resource Name)public String getArn()
public CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary withComparisonOperator(String comparisonOperator)
comparisonOperator
- CloudWatchAlarmTemplateComparisonOperator
public CloudWatchAlarmTemplateSummary withComparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)
comparisonOperator
- CloudWatchAlarmTemplateComparisonOperator
public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary withStatistic(String statistic)
statistic
- CloudWatchAlarmTemplateStatistic
public CloudWatchAlarmTemplateSummary withStatistic(CloudWatchAlarmTemplateStatistic statistic)
statistic
- CloudWatchAlarmTemplateStatistic
public CloudWatchAlarmTemplateSummary withTags(Map<String,String> tags)
tags
- public CloudWatchAlarmTemplateSummary addTagsEntry(String key, String value)
public CloudWatchAlarmTemplateSummary clearTagsEntries()
public void setTargetResourceType(String targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public String getTargetResourceType()
CloudWatchAlarmTemplateTargetResourceType
public CloudWatchAlarmTemplateSummary withTargetResourceType(String targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public CloudWatchAlarmTemplateSummary withTargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public void setThreshold(Double threshold)
threshold
- The threshold value to compare with the specified statistic.public Double getThreshold()
public CloudWatchAlarmTemplateSummary 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 CloudWatchAlarmTemplateSummary withTreatMissingData(String treatMissingData)
treatMissingData
- CloudWatchAlarmTemplateTreatMissingData
public CloudWatchAlarmTemplateSummary withTreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)
treatMissingData
- CloudWatchAlarmTemplateTreatMissingData
public String toString()
toString
in class Object
Object.toString()
public CloudWatchAlarmTemplateSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.