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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelModeratorSummary.Buildermoderator(Consumer<Identity.Builder> moderator)The data for a moderator.ChannelModeratorSummary.Buildermoderator(Identity 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 Detail
-
moderator
ChannelModeratorSummary.Builder moderator(Identity 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
default ChannelModeratorSummary.Builder moderator(Consumer<Identity.Builder> 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:
moderator(Identity)
-
-