Class AlarmIdentifier
- java.lang.Object
-
- com.amazonaws.services.route53.model.AlarmIdentifier
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlarmIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmIdentifier
clone()
boolean
equals(Object obj)
String
getName()
The name of the CloudWatch alarm.String
getRegion()
TheCloudWatchRegion
that the CloudWatch alarm was created in.int
hashCode()
void
setName(String name)
The name of the CloudWatch alarm.void
setRegion(CloudWatchRegion region)
TheCloudWatchRegion
that the CloudWatch alarm was created in.void
setRegion(String region)
TheCloudWatchRegion
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)
TheCloudWatchRegion
that the CloudWatch alarm was created in.AlarmIdentifier
withRegion(String region)
TheCloudWatchRegion
that the CloudWatch alarm was created in.
-
-
-
Method Detail
-
setRegion
public void setRegion(String region)
The
CloudWatchRegion
that the CloudWatch alarm was created in.- Parameters:
region
- TheCloudWatchRegion
that the CloudWatch alarm was created in.- See Also:
CloudWatchRegion
-
getRegion
public String getRegion()
The
CloudWatchRegion
that the CloudWatch alarm was created in.- Returns:
- The
CloudWatchRegion
that the CloudWatch alarm was created in. - See Also:
CloudWatchRegion
-
withRegion
public AlarmIdentifier withRegion(String region)
The
CloudWatchRegion
that the CloudWatch alarm was created in.- Parameters:
region
- TheCloudWatchRegion
that the CloudWatch alarm was created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchRegion
-
setRegion
public void setRegion(CloudWatchRegion region)
The
CloudWatchRegion
that the CloudWatch alarm was created in.- Parameters:
region
- TheCloudWatchRegion
that the CloudWatch alarm was created in.- See Also:
CloudWatchRegion
-
withRegion
public AlarmIdentifier withRegion(CloudWatchRegion region)
The
CloudWatchRegion
that the CloudWatch alarm was created in.- Parameters:
region
- TheCloudWatchRegion
that the CloudWatch alarm was created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchRegion
-
setName
public void setName(String name)
The name of the CloudWatch alarm.
- Parameters:
name
- The name of the CloudWatch alarm.
-
getName
public String getName()
The name of the CloudWatch alarm.
- Returns:
- The name of the CloudWatch alarm.
-
withName
public AlarmIdentifier withName(String name)
The name of the CloudWatch alarm.
- Parameters:
name
- The name of the CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AlarmIdentifier clone()
-
-