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.CloudWatchRegion
public String getRegion()
The CloudWatchRegion
that the CloudWatch alarm was created
in.
CloudWatchRegion
that the CloudWatch alarm was
created in.CloudWatchRegion
public AlarmIdentifier withRegion(String region)
The CloudWatchRegion
that the CloudWatch alarm was created
in.
region
- The CloudWatchRegion
that the CloudWatch alarm was
created in.CloudWatchRegion
public void setRegion(CloudWatchRegion region)
The CloudWatchRegion
that the CloudWatch alarm was created
in.
region
- The CloudWatchRegion
that the CloudWatch alarm was
created in.CloudWatchRegion
public AlarmIdentifier withRegion(CloudWatchRegion region)
The CloudWatchRegion
that the CloudWatch alarm was created
in.
region
- The CloudWatchRegion
that the CloudWatch alarm was
created in.CloudWatchRegion
public 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 Object
Object.toString()
public AlarmIdentifier clone()
Copyright © 2018. All rights reserved.