Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> RepostspaceResponse.Builder
,SdkBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
@Mutable
@NotThreadSafe
public static interface ListChannelsResponse.Builder
extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels
(Collection<ChannelData> channels) An array of structures that contain some information about the channels in the private re:Post.channels
(Consumer<ChannelData.Builder>... channels) An array of structures that contain some information about the channels in the private re:Post.channels
(ChannelData... channels) An array of structures that contain some information about the channels in the private re:Post.The token that you use when you request the next set of channels.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channels
An array of structures that contain some information about the channels in the private re:Post.
- Parameters:
channels
- An array of structures that contain some information about the channels in the private re:Post.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
An array of structures that contain some information about the channels in the private re:Post.
- Parameters:
channels
- An array of structures that contain some information about the channels in the private re:Post.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
An array of structures that contain some information about the channels in the private re:Post.
This is a convenience method that creates an instance of theChannelData.Builder
avoiding the need to create one manually viaChannelData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannels(List<ChannelData>)
.- Parameters:
channels
- a consumer that will call methods onChannelData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that you use when you request the next set of channels.
- Parameters:
nextToken
- The token that you use when you request the next set of channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-