| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
Alarm |
Alarm.clone() |
Alarm |
Alarm.withArn(String arn)
The Amazon Resource Name (ARN) of the alarm.
|
Alarm |
Alarm.withComparisonOperator(ComparisonOperator comparisonOperator)
The arithmetic operation used when comparing the specified statistic and threshold.
|
Alarm |
Alarm.withComparisonOperator(String comparisonOperator)
The arithmetic operation used when comparing the specified statistic and threshold.
|
Alarm |
Alarm.withContactProtocols(Collection<String> contactProtocols)
The contact protocols for the alarm, such as
Email, SMS (text messaging), or both. |
Alarm |
Alarm.withContactProtocols(ContactProtocol... contactProtocols)
The contact protocols for the alarm, such as
Email, SMS (text messaging), or both. |
Alarm |
Alarm.withContactProtocols(String... contactProtocols)
The contact protocols for the alarm, such as
Email, SMS (text messaging), or both. |
Alarm |
Alarm.withCreatedAt(Date createdAt)
The timestamp when the alarm was created.
|
Alarm |
Alarm.withDatapointsToAlarm(Integer datapointsToAlarm)
The number of data points that must not within the specified threshold to trigger the alarm.
|
Alarm |
Alarm.withEvaluationPeriods(Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
Alarm |
Alarm.withLocation(ResourceLocation location)
An object that lists information about the location of the alarm.
|
Alarm |
Alarm.withMetricName(MetricName metricName)
The name of the metric associated with the alarm.
|
Alarm |
Alarm.withMetricName(String metricName)
The name of the metric associated with the alarm.
|
Alarm |
Alarm.withMonitoredResourceInfo(MonitoredResourceInfo monitoredResourceInfo)
An object that lists information about the resource monitored by the alarm.
|
Alarm |
Alarm.withName(String name)
The name of the alarm.
|
Alarm |
Alarm.withNotificationEnabled(Boolean notificationEnabled)
Indicates whether the alarm is enabled.
|
Alarm |
Alarm.withNotificationTriggers(AlarmState... notificationTriggers)
The alarm states that trigger a notification.
|
Alarm |
Alarm.withNotificationTriggers(Collection<String> notificationTriggers)
The alarm states that trigger a notification.
|
Alarm |
Alarm.withNotificationTriggers(String... notificationTriggers)
The alarm states that trigger a notification.
|
Alarm |
Alarm.withPeriod(Integer period)
The period, in seconds, over which the statistic is applied.
|
Alarm |
Alarm.withResourceType(ResourceType resourceType)
The Lightsail resource type (e.g.,
Alarm). |
Alarm |
Alarm.withResourceType(String resourceType)
The Lightsail resource type (e.g.,
Alarm). |
Alarm |
Alarm.withState(AlarmState state)
The current state of the alarm.
|
Alarm |
Alarm.withState(String state)
The current state of the alarm.
|
Alarm |
Alarm.withStatistic(MetricStatistic statistic)
The statistic for the metric associated with the alarm.
|
Alarm |
Alarm.withStatistic(String statistic)
The statistic for the metric associated with the alarm.
|
Alarm |
Alarm.withSupportCode(String supportCode)
The support code.
|
Alarm |
Alarm.withThreshold(Double threshold)
The value against which the specified statistic is compared.
|
Alarm |
Alarm.withTreatMissingData(String treatMissingData)
Specifies how the alarm handles missing data points.
|
Alarm |
Alarm.withTreatMissingData(TreatMissingData treatMissingData)
Specifies how the alarm handles missing data points.
|
Alarm |
Alarm.withUnit(MetricUnit unit)
The unit of the metric associated with the alarm.
|
Alarm |
Alarm.withUnit(String unit)
The unit of the metric associated with the alarm.
|
| Modifier and Type | Method and Description |
|---|---|
List<Alarm> |
GetAlarmsResult.getAlarms()
An array of objects that describe the alarms.
|
| Modifier and Type | Method and Description |
|---|---|
GetAlarmsResult |
GetAlarmsResult.withAlarms(Alarm... alarms)
An array of objects that describe the alarms.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetAlarmsResult.setAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
|
GetAlarmsResult |
GetAlarmsResult.withAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
|
Copyright © 2022. All rights reserved.