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 AlarmIdentifierclone()booleanequals(Object obj)StringgetName()The name of the CloudWatch alarm.StringgetRegion()TheCloudWatchRegionthat the CloudWatch alarm was created in.inthashCode()voidsetName(String name)The name of the CloudWatch alarm.voidsetRegion(CloudWatchRegion region)TheCloudWatchRegionthat the CloudWatch alarm was created in.voidsetRegion(String region)TheCloudWatchRegionthat the CloudWatch alarm was created in.StringtoString()Returns a string representation of this object; useful for testing and debugging.AlarmIdentifierwithName(String name)The name of the CloudWatch alarm.AlarmIdentifierwithRegion(CloudWatchRegion region)TheCloudWatchRegionthat the CloudWatch alarm was created in.AlarmIdentifierwithRegion(String region)TheCloudWatchRegionthat the CloudWatch alarm was created in.
-
-
-
Method Detail
-
setRegion
public void setRegion(String region)
The
CloudWatchRegionthat the CloudWatch alarm was created in.- Parameters:
region- TheCloudWatchRegionthat the CloudWatch alarm was created in.- See Also:
CloudWatchRegion
-
getRegion
public String getRegion()
The
CloudWatchRegionthat the CloudWatch alarm was created in.- Returns:
- The
CloudWatchRegionthat the CloudWatch alarm was created in. - See Also:
CloudWatchRegion
-
withRegion
public AlarmIdentifier withRegion(String region)
The
CloudWatchRegionthat the CloudWatch alarm was created in.- Parameters:
region- TheCloudWatchRegionthat 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
CloudWatchRegionthat the CloudWatch alarm was created in.- Parameters:
region- TheCloudWatchRegionthat the CloudWatch alarm was created in.- See Also:
CloudWatchRegion
-
withRegion
public AlarmIdentifier withRegion(CloudWatchRegion region)
The
CloudWatchRegionthat the CloudWatch alarm was created in.- Parameters:
region- TheCloudWatchRegionthat 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AlarmIdentifier clone()
-
-