Interface ListWorkgroupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListWorkgroupsRequest.Builder,
,ListWorkgroupsRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<ListWorkgroupsRequest.Builder,
,ListWorkgroupsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListWorkgroupsRequest
@Mutable
@NotThreadSafe
public static interface ListWorkgroupsRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListWorkgroupsRequest.Builder,ListWorkgroupsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initial ListWorkgroups operation returns anextToken
, you can include the returnednextToken
in following ListNamespaces 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.ownerAccount
(String ownerAccount) The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.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, sdkFieldNameToField, 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 ListWorkgroups operation returns a
nextToken
, you can include the returnednextToken
in following ListNamespaces operations, which returns results in the next page.- Parameters:
nextToken
- If your initial ListWorkgroups operation returns anextToken
, you can include the returnednextToken
in following ListNamespaces operations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
- Parameters:
ownerAccount
- The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListWorkgroupsRequest.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
ListWorkgroupsRequest.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.
-