Interface ListNamespacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNamespacesResponse.Builder,,ListNamespacesResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListNamespacesResponse.Builder,,ListNamespacesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNamespacesResponse
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.WhennextTokenis returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaNamespace.builder().When the
Consumercompletes,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
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis 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.
-