Interface ListNamespacesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListNamespacesRequest.Builder,
,ListNamespacesRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<ListNamespacesRequest.Builder,
,ListNamespacesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListNamespacesRequest
public static interface ListNamespacesRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListNamespacesRequest.Builder,ListNamespacesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialListNamespaces
operation returns anextToken
, you can include the returnednextToken
in followingListNamespaces
operations, which returns results in the next page.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to display the next page of results.- Parameters:
maxResults
- An optional parameter that specifies the maximum number of results to return. You can usenextToken
to display the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial
ListNamespaces
operation returns anextToken
, you can include the returnednextToken
in followingListNamespaces
operations, which returns results in the next page.- Parameters:
nextToken
- If your initialListNamespaces
operation returns anextToken
, you can include the returnednextToken
in followingListNamespaces
operations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListNamespacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListNamespacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-