public class NotificationRecipientType
extends java.lang.Object
implements java.io.Serializable
The type of notification recipient.
| Constructor and Description |
|---|
NotificationRecipientType() |
| Modifier and Type | Method and Description |
|---|---|
NotificationRecipientType |
addUserTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
NotificationRecipientType |
clearUserTagsEntries()
Removes all the entries added into UserTags.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getUserIds()
A list of user IDs.
|
java.util.Map<java.lang.String,java.lang.String> |
getUserTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setUserIds(java.util.Collection<java.lang.String> userIds)
A list of user IDs.
|
void |
setUserTags(java.util.Map<java.lang.String,java.lang.String> userTags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotificationRecipientType |
withUserIds(java.util.Collection<java.lang.String> userIds)
A list of user IDs.
|
NotificationRecipientType |
withUserIds(java.lang.String... userIds)
A list of user IDs.
|
NotificationRecipientType |
withUserTags(java.util.Map<java.lang.String,java.lang.String> userTags)
The tags used to organize, track, or control access for this resource.
|
public java.util.Map<java.lang.String,java.lang.String> getUserTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
public void setUserTags(java.util.Map<java.lang.String,java.lang.String> userTags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
userTags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
public NotificationRecipientType withUserTags(java.util.Map<java.lang.String,java.lang.String> userTags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
Returns a reference to this object so that method calls can be chained together.
userTags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
public NotificationRecipientType addUserTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
The method adds a new key-value pair into UserTags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into UserTags.value - The corresponding value of the entry to be added into
UserTags.public NotificationRecipientType clearUserTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.String> getUserIds()
A list of user IDs.
A list of user IDs.
public void setUserIds(java.util.Collection<java.lang.String> userIds)
A list of user IDs.
userIds - A list of user IDs.
public NotificationRecipientType withUserIds(java.lang.String... userIds)
A list of user IDs.
Returns a reference to this object so that method calls can be chained together.
userIds - A list of user IDs.
public NotificationRecipientType withUserIds(java.util.Collection<java.lang.String> userIds)
A list of user IDs.
Returns a reference to this object so that method calls can be chained together.
userIds - A list of user IDs.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object