Interface ReactionForComment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReactionForComment.Builder,ReactionForComment>,SdkBuilder<ReactionForComment.Builder,ReactionForComment>,SdkPojo
- Enclosing class:
- ReactionForComment
public static interface ReactionForComment.Builder extends SdkPojo, CopyableBuilder<ReactionForComment.Builder,ReactionForComment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReactionForComment.Builderreaction(Consumer<ReactionValueFormats.Builder> reaction)The reaction for a specified comment.ReactionForComment.Builderreaction(ReactionValueFormats reaction)The reaction for a specified comment.ReactionForComment.BuilderreactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM.ReactionForComment.BuilderreactionUsers(String... reactionUsers)The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.ReactionForComment.BuilderreactionUsers(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, sdkFields
-
-
-
-
Method Detail
-
reaction
ReactionForComment.Builder reaction(ReactionValueFormats 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
default ReactionForComment.Builder reaction(Consumer<ReactionValueFormats.Builder> reaction)
The reaction for a specified comment.
This is a convenience method that creates an instance of theReactionValueFormats.Builderavoiding the need to create one manually viaReactionValueFormats.builder().When the
Consumercompletes,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:
reaction(ReactionValueFormats)
-
reactionUsers
ReactionForComment.Builder reactionUsers(Collection<String> 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
ReactionForComment.Builder reactionUsers(String... 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
ReactionForComment.Builder reactionsFromDeletedUsersCount(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.
- 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.
-
-