Interface ListWorkgroupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListWorkgroupsRequest.Builder,,ListWorkgroupsRequest> RedshiftServerlessRequest.Builder,SdkBuilder<ListWorkgroupsRequest.Builder,,ListWorkgroupsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListWorkgroupsRequest
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 returnednextTokenin 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
nextTokento display the next page of results.- Parameters:
maxResults- An optional parameter that specifies the maximum number of results to return. You can usenextTokento 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 returnednextTokenin following ListNamespaces operations, which returns results in the next page.- Parameters:
nextToken- If your initial ListWorkgroups operation returns anextToken, you can include the returnednextTokenin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-