Interface ListChannelNamespacesResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListChannelNamespacesResponse.Builder,
,ListChannelNamespacesResponse> SdkBuilder<ListChannelNamespacesResponse.Builder,
,ListChannelNamespacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelNamespacesResponse
@Mutable
@NotThreadSafe
public static interface ListChannelNamespacesResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<ListChannelNamespacesResponse.Builder,ListChannelNamespacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelNamespaces
(Collection<ChannelNamespace> channelNamespaces) TheChannelNamespace
objects.channelNamespaces
(Consumer<ChannelNamespace.Builder>... channelNamespaces) TheChannelNamespace
objects.channelNamespaces
(ChannelNamespace... channelNamespaces) TheChannelNamespace
objects.An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelNamespaces
ListChannelNamespacesResponse.Builder channelNamespaces(Collection<ChannelNamespace> channelNamespaces) The
ChannelNamespace
objects.- Parameters:
channelNamespaces
- TheChannelNamespace
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelNamespaces
The
ChannelNamespace
objects.- Parameters:
channelNamespaces
- TheChannelNamespace
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelNamespaces
ListChannelNamespacesResponse.Builder channelNamespaces(Consumer<ChannelNamespace.Builder>... channelNamespaces) The
This is a convenience method that creates an instance of theChannelNamespace
objects.ChannelNamespace.Builder
avoiding the need to create one manually viaChannelNamespace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelNamespaces(List<ChannelNamespace>)
.- Parameters:
channelNamespaces
- a consumer that will call methods onChannelNamespace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
- Parameters:
nextToken
- An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-