Interface CreateChannelModeratorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<CreateChannelModeratorResponse.Builder,CreateChannelModeratorResponse>,SdkBuilder<CreateChannelModeratorResponse.Builder,CreateChannelModeratorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateChannelModeratorResponse
public static interface CreateChannelModeratorResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelModeratorResponse.Builder,CreateChannelModeratorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateChannelModeratorResponse.BuilderchannelArn(String channelArn)The ARN of the channel.default CreateChannelModeratorResponse.BuilderchannelModerator(Consumer<Identity.Builder> channelModerator)The ARNs of the channel and the moderator.CreateChannelModeratorResponse.BuilderchannelModerator(Identity channelModerator)The ARNs of the channel and the moderator.-
Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.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 Detail
-
channelArn
CreateChannelModeratorResponse.Builder channelArn(String channelArn)
The ARN of the channel.
- Parameters:
channelArn- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerator
CreateChannelModeratorResponse.Builder channelModerator(Identity channelModerator)
The ARNs of the channel and the moderator.
- Parameters:
channelModerator- The ARNs of the channel and the moderator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerator
default CreateChannelModeratorResponse.Builder channelModerator(Consumer<Identity.Builder> channelModerator)
The ARNs of the channel and the 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 tochannelModerator(Identity).- Parameters:
channelModerator- 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:
channelModerator(Identity)
-
-