@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Group extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about one group.
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
Group |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Group |
clearTagsEntries()
Removes all the entries added into Tags.
|
Group |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the group.
|
Date |
getCreatedTime()
The date and time that the group was created.
|
String |
getId()
The unique ID of the group.
|
Date |
getLastModifiedTime()
The date and time that the group was most recently updated.
|
String |
getName()
The name of the group.
|
Map<String,String> |
getTags()
The list of key-value pairs that are associated with the canary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the group.
|
void |
setCreatedTime(Date createdTime)
The date and time that the group was created.
|
void |
setId(String id)
The unique ID of the group.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the group was most recently updated.
|
void |
setName(String name)
The name of the group.
|
void |
setTags(Map<String,String> tags)
The list of key-value pairs that are associated with the canary.
|
String |
toString()
Returns a string representation of this object.
|
Group |
withArn(String arn)
The ARN of the group.
|
Group |
withCreatedTime(Date createdTime)
The date and time that the group was created.
|
Group |
withId(String id)
The unique ID of the group.
|
Group |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the group was most recently updated.
|
Group |
withName(String name)
The name of the group.
|
Group |
withTags(Map<String,String> tags)
The list of key-value pairs that are associated with the canary.
|
public void setId(String id)
The unique ID of the group.
id
- The unique ID of the group.public String getId()
The unique ID of the group.
public Group withId(String id)
The unique ID of the group.
id
- The unique ID of the group.public void setName(String name)
The name of the group.
name
- The name of the group.public String getName()
The name of the group.
public Group withName(String name)
The name of the group.
name
- The name of the group.public void setArn(String arn)
The ARN of the group.
arn
- The ARN of the group.public String getArn()
The ARN of the group.
public Group withArn(String arn)
The ARN of the group.
arn
- The ARN of the group.public Map<String,String> getTags()
The list of key-value pairs that are associated with the canary.
public void setTags(Map<String,String> tags)
The list of key-value pairs that are associated with the canary.
tags
- The list of key-value pairs that are associated with the canary.public Group withTags(Map<String,String> tags)
The list of key-value pairs that are associated with the canary.
tags
- The list of key-value pairs that are associated with the canary.public Group clearTagsEntries()
public void setCreatedTime(Date createdTime)
The date and time that the group was created.
createdTime
- The date and time that the group was created.public Date getCreatedTime()
The date and time that the group was created.
public Group withCreatedTime(Date createdTime)
The date and time that the group was created.
createdTime
- The date and time that the group was created.public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the group was most recently updated.
lastModifiedTime
- The date and time that the group was most recently updated.public Date getLastModifiedTime()
The date and time that the group was most recently updated.
public Group withLastModifiedTime(Date lastModifiedTime)
The date and time that the group was most recently updated.
lastModifiedTime
- The date and time that the group was most recently updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.