Interface DescribeChannelModeratorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<DescribeChannelModeratorResponse.Builder,
,DescribeChannelModeratorResponse> SdkBuilder<DescribeChannelModeratorResponse.Builder,
,DescribeChannelModeratorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeChannelModeratorResponse
public static interface DescribeChannelModeratorResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<DescribeChannelModeratorResponse.Builder,DescribeChannelModeratorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelModerator
(Consumer<ChannelModerator.Builder> channelModerator) The details of the channel moderator.channelModerator
(ChannelModerator channelModerator) The details of the channel moderator.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelModerator
The details of the channel moderator.
- Parameters:
channelModerator
- The details of the channel moderator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerator
default DescribeChannelModeratorResponse.Builder channelModerator(Consumer<ChannelModerator.Builder> channelModerator) The details of the channel moderator.
This is a convenience method that creates an instance of theChannelModerator.Builder
avoiding the need to create one manually viaChannelModerator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelModerator(ChannelModerator)
.- Parameters:
channelModerator
- a consumer that will call methods onChannelModerator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-