Interface ReactionForComment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReactionForComment.Builder,
,ReactionForComment> SdkBuilder<ReactionForComment.Builder,
,ReactionForComment> SdkPojo
- Enclosing class:
ReactionForComment
@Mutable
@NotThreadSafe
public static interface ReactionForComment.Builder
extends SdkPojo, CopyableBuilder<ReactionForComment.Builder,ReactionForComment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReactionForComment.Builder
reaction
(Consumer<ReactionValueFormats.Builder> reaction) The reaction for a specified comment.reaction
(ReactionValueFormats reaction) The reaction for a specified comment.reactionsFromDeletedUsersCount
(Integer reactionsFromDeletedUsersCount) A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM.reactionUsers
(String... reactionUsers) The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.reactionUsers
(Collection<String> reactionUsers) The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
reaction
The reaction for a specified comment.
- Parameters:
reaction
- The reaction for a specified comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reaction
The reaction for a specified comment.
This is a convenience method that creates an instance of theReactionValueFormats.Builder
avoiding the need to create one manually viaReactionValueFormats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreaction(ReactionValueFormats)
.- Parameters:
reaction
- a consumer that will call methods onReactionValueFormats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reactionUsers
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
- Parameters:
reactionUsers
- The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactionUsers
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
- Parameters:
reactionUsers
- The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-