Interface ChannelModeratorSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChannelModeratorSummary.Builder,
,ChannelModeratorSummary> SdkBuilder<ChannelModeratorSummary.Builder,
,ChannelModeratorSummary> SdkPojo
- Enclosing class:
ChannelModeratorSummary
public static interface ChannelModeratorSummary.Builder
extends SdkPojo, CopyableBuilder<ChannelModeratorSummary.Builder,ChannelModeratorSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelModeratorSummary.Builder
moderator
(Consumer<Identity.Builder> moderator) The data for a moderator.The data for a moderator.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 Details
-
moderator
The data for a moderator.
- Parameters:
moderator
- The data for a moderator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderator
The data for a moderator.
This is a convenience method that creates an instance of theIdentity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomoderator(Identity)
.- Parameters:
moderator
- a consumer that will call methods onIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-