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) TheChannelNamespaceobjects.channelNamespaces(Consumer<ChannelNamespace.Builder>... channelNamespaces) TheChannelNamespaceobjects.channelNamespaces(ChannelNamespace... channelNamespaces) TheChannelNamespaceobjects.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, 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
-
channelNamespaces
ListChannelNamespacesResponse.Builder channelNamespaces(Collection<ChannelNamespace> channelNamespaces) The
ChannelNamespaceobjects.- Parameters:
channelNamespaces- TheChannelNamespaceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelNamespaces
The
ChannelNamespaceobjects.- Parameters:
channelNamespaces- TheChannelNamespaceobjects.- 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 theChannelNamespaceobjects.ChannelNamespace.Builderavoiding the need to create one manually viaChannelNamespace.builder().When the
Consumercompletes,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.
-