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
copyMethods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.Builderavoiding the need to create one manually viaChannelData.builder().When the
Consumercompletes,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.
-