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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkgroupsRequest.BuildermaxResults(Integer maxResults)An optional parameter that specifies the maximum number of results to return.ListWorkgroupsRequest.BuildernextToken(String nextToken)If your initial ListWorkgroups operation returns anextToken, you can include the returnednextTokenin following ListNamespaces operations, which returns results in the next page.ListWorkgroupsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListWorkgroupsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListWorkgroupsRequest.BuilderownerAccount(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, sdkFields
-
-
-
-
Method Detail
-
maxResults
ListWorkgroupsRequest.Builder maxResults(Integer 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
ListWorkgroupsRequest.Builder nextToken(String 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
ListWorkgroupsRequest.Builder ownerAccount(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListWorkgroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-