@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCloudWatchAlarmTemplateGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateCloudWatchAlarmTemplateGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateCloudWatchAlarmTemplateGroupResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateCloudWatchAlarmTemplateGroupResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateCloudWatchAlarmTemplateGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
A cloudwatch alarm template group's ARN (Amazon Resource Name)
|
Date |
getCreatedAt() |
String |
getDescription()
A resource's optional description.
|
String |
getId()
A cloudwatch alarm template group's id.
|
Date |
getModifiedAt() |
String |
getName()
A resource's name.
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setArn(String arn)
A cloudwatch alarm template group's ARN (Amazon Resource Name)
|
void |
setCreatedAt(Date createdAt) |
void |
setDescription(String description)
A resource's optional description.
|
void |
setId(String id)
A cloudwatch alarm template group's id.
|
void |
setModifiedAt(Date modifiedAt) |
void |
setName(String name)
A resource's name.
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateCloudWatchAlarmTemplateGroupResult |
withArn(String arn)
A cloudwatch alarm template group's ARN (Amazon Resource Name)
|
CreateCloudWatchAlarmTemplateGroupResult |
withCreatedAt(Date createdAt) |
CreateCloudWatchAlarmTemplateGroupResult |
withDescription(String description)
A resource's optional description.
|
CreateCloudWatchAlarmTemplateGroupResult |
withId(String id)
A cloudwatch alarm template group's id.
|
CreateCloudWatchAlarmTemplateGroupResult |
withModifiedAt(Date modifiedAt) |
CreateCloudWatchAlarmTemplateGroupResult |
withName(String name)
A resource's name.
|
CreateCloudWatchAlarmTemplateGroupResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateCloudWatchAlarmTemplateGroupResult()
public void setArn(String arn)
arn
- A cloudwatch alarm template group's ARN (Amazon Resource Name)public String getArn()
public CreateCloudWatchAlarmTemplateGroupResult withArn(String arn)
arn
- A cloudwatch alarm template group's ARN (Amazon Resource Name)public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public CreateCloudWatchAlarmTemplateGroupResult withCreatedAt(Date createdAt)
createdAt
- public void setDescription(String description)
description
- A resource's optional description.public String getDescription()
public CreateCloudWatchAlarmTemplateGroupResult withDescription(String description)
description
- A resource's optional description.public void setId(String id)
id
- A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`public String getId()
public CreateCloudWatchAlarmTemplateGroupResult withId(String id)
id
- A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`public void setModifiedAt(Date modifiedAt)
modifiedAt
- public Date getModifiedAt()
public CreateCloudWatchAlarmTemplateGroupResult withModifiedAt(Date modifiedAt)
modifiedAt
- public void setName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public String getName()
public CreateCloudWatchAlarmTemplateGroupResult withName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public CreateCloudWatchAlarmTemplateGroupResult withTags(Map<String,String> tags)
tags
- public CreateCloudWatchAlarmTemplateGroupResult addTagsEntry(String key, String value)
public CreateCloudWatchAlarmTemplateGroupResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateCloudWatchAlarmTemplateGroupResult clone()