@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReactionForComment extends Object implements Serializable, Cloneable, StructuredPojo
Information about the reaction values provided by users on a comment.
Constructor and Description |
---|
ReactionForComment() |
Modifier and Type | Method and Description |
---|---|
ReactionForComment |
clone() |
boolean |
equals(Object obj) |
ReactionValueFormats |
getReaction()
The reaction for a specified comment.
|
Integer |
getReactionsFromDeletedUsersCount()
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted
from IAM.
|
List<String> |
getReactionUsers()
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReaction(ReactionValueFormats reaction)
The reaction for a specified comment.
|
void |
setReactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted
from IAM.
|
void |
setReactionUsers(Collection<String> reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
|
String |
toString()
Returns a string representation of this object.
|
ReactionForComment |
withReaction(ReactionValueFormats reaction)
The reaction for a specified comment.
|
ReactionForComment |
withReactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted
from IAM.
|
ReactionForComment |
withReactionUsers(Collection<String> reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
|
ReactionForComment |
withReactionUsers(String... reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
|
public void setReaction(ReactionValueFormats reaction)
The reaction for a specified comment.
reaction
- The reaction for a specified comment.public ReactionValueFormats getReaction()
The reaction for a specified comment.
public ReactionForComment withReaction(ReactionValueFormats reaction)
The reaction for a specified comment.
reaction
- The reaction for a specified comment.public List<String> getReactionUsers()
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
public void setReactionUsers(Collection<String> reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
reactionUsers
- The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.public ReactionForComment withReactionUsers(String... reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
NOTE: This method appends the values to the existing list (if any). Use
setReactionUsers(java.util.Collection)
or withReactionUsers(java.util.Collection)
if you want
to override the existing values.
reactionUsers
- The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.public ReactionForComment withReactionUsers(Collection<String> reactionUsers)
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
reactionUsers
- The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.public void setReactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
reactionsFromDeletedUsersCount
- A numerical count of users who reacted with the specified emoji whose identities have been subsequently
deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in
total reaction counts.public Integer getReactionsFromDeletedUsersCount()
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
public ReactionForComment withReactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
reactionsFromDeletedUsersCount
- A numerical count of users who reacted with the specified emoji whose identities have been subsequently
deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in
total reaction counts.public String toString()
toString
in class Object
Object.toString()
public ReactionForComment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.