Interface ListChannelBansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelBansResponse.Builder,,ListChannelBansResponse> SdkBuilder<ListChannelBansResponse.Builder,,ListChannelBansResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelBansResponse
public static interface ListChannelBansResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelBansResponse.Builder,ListChannelBansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.channelBans(Collection<ChannelBanSummary> channelBans) The information for each requested ban.channelBans(Consumer<ChannelBanSummary.Builder>... channelBans) The information for each requested ban.channelBans(ChannelBanSummary... channelBans) The information for each requested ban.The token passed by previous API calls until all requested bans are returned.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, sdkFieldNameToField, 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.
-
nextToken
The token passed by previous API calls until all requested bans are returned.
- Parameters:
nextToken- The token passed by previous API calls until all requested bans are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelBans
The information for each requested ban.
- Parameters:
channelBans- The information for each requested ban.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelBans
The information for each requested ban.
- Parameters:
channelBans- The information for each requested ban.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelBans
The information for each requested ban.
This is a convenience method that creates an instance of theChannelBanSummary.Builderavoiding the need to create one manually viaChannelBanSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelBans(List<ChannelBanSummary>).- Parameters:
channelBans- a consumer that will call methods onChannelBanSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-