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
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.channelModerator(Consumer<Identity.Builder> channelModerator) The ARNs of the channel and the moderator.channelModerator(Identity channelModerator) The ARNs of the channel and the moderator.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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:
-