public class AlarmIdentifier extends Object implements Serializable, Cloneable
A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
| Constructor and Description |
|---|
AlarmIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
AlarmIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the CloudWatch alarm.
|
String |
getRegion()
The
CloudWatchRegion that the CloudWatch alarm was created
in. |
int |
hashCode() |
void |
setName(String name)
The name of the CloudWatch alarm.
|
void |
setRegion(CloudWatchRegion region)
The
CloudWatchRegion that the CloudWatch alarm was created
in. |
void |
setRegion(String region)
The
CloudWatchRegion that the CloudWatch alarm was created
in. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AlarmIdentifier |
withName(String name)
The name of the CloudWatch alarm.
|
AlarmIdentifier |
withRegion(CloudWatchRegion region)
The
CloudWatchRegion that the CloudWatch alarm was created
in. |
AlarmIdentifier |
withRegion(String region)
The
CloudWatchRegion that the CloudWatch alarm was created
in. |
public void setRegion(String region)
The CloudWatchRegion that the CloudWatch alarm was created
in.
region - The CloudWatchRegion that the CloudWatch alarm was
created in.CloudWatchRegionpublic String getRegion()
The CloudWatchRegion that the CloudWatch alarm was created
in.
CloudWatchRegion that the CloudWatch alarm was
created in.CloudWatchRegionpublic AlarmIdentifier withRegion(String region)
The CloudWatchRegion that the CloudWatch alarm was created
in.
region - The CloudWatchRegion that the CloudWatch alarm was
created in.CloudWatchRegionpublic void setRegion(CloudWatchRegion region)
The CloudWatchRegion that the CloudWatch alarm was created
in.
region - The CloudWatchRegion that the CloudWatch alarm was
created in.CloudWatchRegionpublic AlarmIdentifier withRegion(CloudWatchRegion region)
The CloudWatchRegion that the CloudWatch alarm was created
in.
region - The CloudWatchRegion that the CloudWatch alarm was
created in.CloudWatchRegionpublic void setName(String name)
The name of the CloudWatch alarm.
name - The name of the CloudWatch alarm.public String getName()
The name of the CloudWatch alarm.
public AlarmIdentifier withName(String name)
The name of the CloudWatch alarm.
name - The name of the CloudWatch alarm.public String toString()
toString in class ObjectObject.toString()public AlarmIdentifier clone()
Copyright © 2024. All rights reserved.