Interface ListUsageLimitsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListUsageLimitsRequest.Builder,
,ListUsageLimitsRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<ListUsageLimitsRequest.Builder,
,ListUsageLimitsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListUsageLimitsRequest
public static interface ListUsageLimitsRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListUsageLimitsRequest.Builder,ListUsageLimitsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialListUsageLimits
operation returns anextToken
, you can include the returnednextToken
in followingListUsageLimits
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.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.The Amazon Redshift Serverless feature whose limits you want to see.usageType
(UsageLimitUsageType usageType) The Amazon Redshift Serverless feature whose limits you want to see.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 get the next page of results. The default is 100.- Parameters:
maxResults
- An optional parameter that specifies the maximum number of results to return. You can usenextToken
to get the next page of results. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial
ListUsageLimits
operation returns anextToken
, you can include the returnednextToken
in followingListUsageLimits
operations, which returns results in the next page.- Parameters:
nextToken
- If your initialListUsageLimits
operation returns anextToken
, you can include the returnednextToken
in followingListUsageLimits
operations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The Amazon Redshift Serverless feature whose limits you want to see.
- Parameters:
usageType
- The Amazon Redshift Serverless feature whose limits you want to see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageType
The Amazon Redshift Serverless feature whose limits you want to see.
- Parameters:
usageType
- The Amazon Redshift Serverless feature whose limits you want to see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListUsageLimitsRequest.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
ListUsageLimitsRequest.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.
-