Interface CreateChannelBanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<CreateChannelBanResponse.Builder,
,CreateChannelBanResponse> SdkBuilder<CreateChannelBanResponse.Builder,
,CreateChannelBanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateChannelBanResponse
public static interface CreateChannelBanResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelBanResponse.Builder,CreateChannelBanResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the response to the ban request.default CreateChannelBanResponse.Builder
member
(Consumer<Identity.Builder> member) TheChannelArn
andBannedIdentity
of the member in the ban response.TheChannelArn
andBannedIdentity
of the member in the ban response.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
-
channelArn
The ARN of the response to the ban request.
- Parameters:
channelArn
- The ARN of the response to the ban request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The
ChannelArn
andBannedIdentity
of the member in the ban response.- Parameters:
member
- TheChannelArn
andBannedIdentity
of the member in the ban response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The
This is a convenience method that creates an instance of theChannelArn
andBannedIdentity
of the member in the ban response.Identity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomember(Identity)
.- Parameters:
member
- 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:
-