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.Buildermoderator(Consumer<Identity.Builder> moderator) The data for a moderator.The data for a moderator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,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:
-