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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelBansResponse.BuilderchannelArn(String channelArn)The ARN of the channel.ListChannelBansResponse.BuilderchannelBans(Collection<ChannelBanSummary> channelBans)The information for each requested ban.ListChannelBansResponse.BuilderchannelBans(Consumer<ChannelBanSummary.Builder>... channelBans)The information for each requested ban.ListChannelBansResponse.BuilderchannelBans(ChannelBanSummary... channelBans)The information for each requested ban.ListChannelBansResponse.BuildernextToken(String nextToken)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, 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
ListChannelBansResponse.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.
-
nextToken
ListChannelBansResponse.Builder nextToken(String 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
ListChannelBansResponse.Builder channelBans(Collection<ChannelBanSummary> 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
ListChannelBansResponse.Builder channelBans(ChannelBanSummary... 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
ListChannelBansResponse.Builder channelBans(Consumer<ChannelBanSummary.Builder>... 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 to#channelBans(List.) - 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:
#channelBans(java.util.Collection)
-
-