Interface ListNamespacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNamespacesResponse.Builder,
,ListNamespacesResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<ListNamespacesResponse.Builder,
,ListNamespacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNamespacesResponse
@Mutable
@NotThreadSafe
public static interface ListNamespacesResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnamespaces
(Collection<Namespace> namespaces) The list of returned namespaces.namespaces
(Consumer<Namespace.Builder>... namespaces) The list of returned namespaces.namespaces
(Namespace... namespaces) The list of returned namespaces.WhennextToken
is returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.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
-
namespaces
The list of returned namespaces.
- Parameters:
namespaces
- The list of returned namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The list of returned namespaces.
- Parameters:
namespaces
- The list of returned namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The list of returned namespaces.
This is a convenience method that creates an instance of theNamespace.Builder
avoiding the need to create one manually viaNamespace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonamespaces(List<Namespace>)
.- Parameters:
namespaces
- a consumer that will call methods onNamespace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken
- WhennextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-