@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchAlarmTemplateGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CloudWatchAlarmTemplateGroupSummary() |
Modifier and Type | Method and Description |
---|---|
CloudWatchAlarmTemplateGroupSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CloudWatchAlarmTemplateGroupSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
CloudWatchAlarmTemplateGroupSummary |
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() |
Integer |
getTemplateCount()
The number of templates in a group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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) |
void |
setTemplateCount(Integer templateCount)
The number of templates in a group.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchAlarmTemplateGroupSummary |
withArn(String arn)
A cloudwatch alarm template group's ARN (Amazon Resource Name)
|
CloudWatchAlarmTemplateGroupSummary |
withCreatedAt(Date createdAt) |
CloudWatchAlarmTemplateGroupSummary |
withDescription(String description)
A resource's optional description.
|
CloudWatchAlarmTemplateGroupSummary |
withId(String id)
A cloudwatch alarm template group's id.
|
CloudWatchAlarmTemplateGroupSummary |
withModifiedAt(Date modifiedAt) |
CloudWatchAlarmTemplateGroupSummary |
withName(String name)
A resource's name.
|
CloudWatchAlarmTemplateGroupSummary |
withTags(Map<String,String> tags) |
CloudWatchAlarmTemplateGroupSummary |
withTemplateCount(Integer templateCount)
The number of templates in a group.
|
public void setArn(String arn)
arn
- A cloudwatch alarm template group's ARN (Amazon Resource Name)public String getArn()
public CloudWatchAlarmTemplateGroupSummary withArn(String arn)
arn
- A cloudwatch alarm template group's ARN (Amazon Resource Name)public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public CloudWatchAlarmTemplateGroupSummary withCreatedAt(Date createdAt)
createdAt
- public void setDescription(String description)
description
- A resource's optional description.public String getDescription()
public CloudWatchAlarmTemplateGroupSummary 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 CloudWatchAlarmTemplateGroupSummary 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 CloudWatchAlarmTemplateGroupSummary 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 CloudWatchAlarmTemplateGroupSummary withName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public CloudWatchAlarmTemplateGroupSummary withTags(Map<String,String> tags)
tags
- public CloudWatchAlarmTemplateGroupSummary addTagsEntry(String key, String value)
public CloudWatchAlarmTemplateGroupSummary clearTagsEntries()
public void setTemplateCount(Integer templateCount)
templateCount
- The number of templates in a group.public Integer getTemplateCount()
public CloudWatchAlarmTemplateGroupSummary withTemplateCount(Integer templateCount)
templateCount
- The number of templates in a group.public String toString()
toString
in class Object
Object.toString()
public CloudWatchAlarmTemplateGroupSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.