@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationRecipientType extends Object implements Serializable, Cloneable, StructuredPojo
The type of notification recipient.
Constructor and Description |
---|
NotificationRecipientType() |
Modifier and Type | Method and Description |
---|---|
NotificationRecipientType |
addUserTagsEntry(String key,
String value)
Add a single UserTags entry
|
NotificationRecipientType |
clearUserTagsEntries()
Removes all the entries added into UserTags.
|
NotificationRecipientType |
clone() |
boolean |
equals(Object obj) |
List<String> |
getUserIds()
A list of user IDs.
|
Map<String,String> |
getUserTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserIds(Collection<String> userIds)
A list of user IDs.
|
void |
setUserTags(Map<String,String> userTags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
NotificationRecipientType |
withUserIds(Collection<String> userIds)
A list of user IDs.
|
NotificationRecipientType |
withUserIds(String... userIds)
A list of user IDs.
|
NotificationRecipientType |
withUserTags(Map<String,String> userTags)
The tags used to organize, track, or control access for this resource.
|
public Map<String,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.
public void setUserTags(Map<String,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(Map<String,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 addUserTagsEntry(String key, String value)
public NotificationRecipientType clearUserTagsEntries()
public void setUserIds(Collection<String> userIds)
A list of user IDs.
userIds
- A list of user IDs.public NotificationRecipientType withUserIds(String... userIds)
A list of user IDs.
NOTE: This method appends the values to the existing list (if any). Use
setUserIds(java.util.Collection)
or withUserIds(java.util.Collection)
if you want to override
the existing values.
userIds
- A list of user IDs.public NotificationRecipientType withUserIds(Collection<String> userIds)
A list of user IDs.
userIds
- A list of user IDs.public String toString()
toString
in class Object
Object.toString()
public NotificationRecipientType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.