@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCloudWatchAlarmTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCloudWatchAlarmTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCloudWatchAlarmTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComparisonOperator() |
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 |
getGroupIdentifier()
A cloudwatch alarm template group's identifier.
|
String |
getIdentifier()
A cloudwatch alarm template's identifier.
|
String |
getMetricName()
The name of the metric associated with the alarm.
|
String |
getName()
A resource's name.
|
Integer |
getPeriod()
The period, in seconds, over which the specified statistic is applied.
|
String |
getStatistic() |
String |
getTargetResourceType() |
Double |
getThreshold()
The threshold value to compare with the specified statistic.
|
String |
getTreatMissingData() |
int |
hashCode() |
void |
setComparisonOperator(String comparisonOperator) |
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 |
setGroupIdentifier(String groupIdentifier)
A cloudwatch alarm template group's identifier.
|
void |
setIdentifier(String identifier)
A cloudwatch alarm template's identifier.
|
void |
setMetricName(String metricName)
The name of the metric associated with the alarm.
|
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 |
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.
|
UpdateCloudWatchAlarmTemplateRequest |
withComparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator) |
UpdateCloudWatchAlarmTemplateRequest |
withComparisonOperator(String comparisonOperator) |
UpdateCloudWatchAlarmTemplateRequest |
withDatapointsToAlarm(Integer datapointsToAlarm)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
UpdateCloudWatchAlarmTemplateRequest |
withDescription(String description)
A resource's optional description.
|
UpdateCloudWatchAlarmTemplateRequest |
withEvaluationPeriods(Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
UpdateCloudWatchAlarmTemplateRequest |
withGroupIdentifier(String groupIdentifier)
A cloudwatch alarm template group's identifier.
|
UpdateCloudWatchAlarmTemplateRequest |
withIdentifier(String identifier)
A cloudwatch alarm template's identifier.
|
UpdateCloudWatchAlarmTemplateRequest |
withMetricName(String metricName)
The name of the metric associated with the alarm.
|
UpdateCloudWatchAlarmTemplateRequest |
withName(String name)
A resource's name.
|
UpdateCloudWatchAlarmTemplateRequest |
withPeriod(Integer period)
The period, in seconds, over which the specified statistic is applied.
|
UpdateCloudWatchAlarmTemplateRequest |
withStatistic(CloudWatchAlarmTemplateStatistic statistic) |
UpdateCloudWatchAlarmTemplateRequest |
withStatistic(String statistic) |
UpdateCloudWatchAlarmTemplateRequest |
withTargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType) |
UpdateCloudWatchAlarmTemplateRequest |
withTargetResourceType(String targetResourceType) |
UpdateCloudWatchAlarmTemplateRequest |
withThreshold(Double threshold)
The threshold value to compare with the specified statistic.
|
UpdateCloudWatchAlarmTemplateRequest |
withTreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData) |
UpdateCloudWatchAlarmTemplateRequest |
withTreatMissingData(String treatMissingData) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdateCloudWatchAlarmTemplateRequest()
public void setComparisonOperator(String comparisonOperator)
comparisonOperator
- CloudWatchAlarmTemplateComparisonOperator
public String getComparisonOperator()
CloudWatchAlarmTemplateComparisonOperator
public UpdateCloudWatchAlarmTemplateRequest withComparisonOperator(String comparisonOperator)
comparisonOperator
- CloudWatchAlarmTemplateComparisonOperator
public UpdateCloudWatchAlarmTemplateRequest withComparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)
comparisonOperator
- CloudWatchAlarmTemplateComparisonOperator
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 UpdateCloudWatchAlarmTemplateRequest 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 UpdateCloudWatchAlarmTemplateRequest 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 UpdateCloudWatchAlarmTemplateRequest withEvaluationPeriods(Integer evaluationPeriods)
evaluationPeriods
- The number of periods over which data is compared to the specified threshold.public void setGroupIdentifier(String groupIdentifier)
groupIdentifier
- A cloudwatch alarm template group's identifier. Can be either be its id or current name.public String getGroupIdentifier()
public UpdateCloudWatchAlarmTemplateRequest withGroupIdentifier(String groupIdentifier)
groupIdentifier
- A cloudwatch alarm template group's identifier. Can be either be its id or current name.public void setIdentifier(String identifier)
identifier
- A cloudwatch alarm template's identifier. Can be either be its id or current name.public String getIdentifier()
public UpdateCloudWatchAlarmTemplateRequest withIdentifier(String identifier)
identifier
- A cloudwatch alarm template's identifier. Can be either be its id or current name.public void setMetricName(String metricName)
metricName
- The name of the metric associated with the alarm. Must be compatible with targetResourceType.public String getMetricName()
public UpdateCloudWatchAlarmTemplateRequest withMetricName(String metricName)
metricName
- The name of the metric associated with the alarm. Must be compatible with targetResourceType.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 UpdateCloudWatchAlarmTemplateRequest 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 UpdateCloudWatchAlarmTemplateRequest 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 UpdateCloudWatchAlarmTemplateRequest withStatistic(String statistic)
statistic
- CloudWatchAlarmTemplateStatistic
public UpdateCloudWatchAlarmTemplateRequest withStatistic(CloudWatchAlarmTemplateStatistic statistic)
statistic
- CloudWatchAlarmTemplateStatistic
public void setTargetResourceType(String targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public String getTargetResourceType()
CloudWatchAlarmTemplateTargetResourceType
public UpdateCloudWatchAlarmTemplateRequest withTargetResourceType(String targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public UpdateCloudWatchAlarmTemplateRequest withTargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)
targetResourceType
- CloudWatchAlarmTemplateTargetResourceType
public void setThreshold(Double threshold)
threshold
- The threshold value to compare with the specified statistic.public Double getThreshold()
public UpdateCloudWatchAlarmTemplateRequest 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 UpdateCloudWatchAlarmTemplateRequest withTreatMissingData(String treatMissingData)
treatMissingData
- CloudWatchAlarmTemplateTreatMissingData
public UpdateCloudWatchAlarmTemplateRequest withTreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)
treatMissingData
- CloudWatchAlarmTemplateTreatMissingData
public String toString()
toString
in class Object
Object.toString()
public UpdateCloudWatchAlarmTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()