Interface ListUsageLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsageLimitsResponse.Builder,,ListUsageLimitsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListUsageLimitsResponse.Builder,,ListUsageLimitsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUsageLimitsResponse
@Mutable
@NotThreadSafe
public static interface ListUsageLimitsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListUsageLimitsResponse.Builder,ListUsageLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhennextTokenis returned, there are more results available.usageLimits(Collection<UsageLimit> usageLimits) An array of returned usage limit objects.usageLimits(Consumer<UsageLimit.Builder>... usageLimits) An array of returned usage limit objects.usageLimits(UsageLimit... usageLimits) An array of returned usage limit objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimits
An array of returned usage limit objects.
- Parameters:
usageLimits- An array of returned usage limit objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimits
An array of returned usage limit objects.
- Parameters:
usageLimits- An array of returned usage limit objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimits
An array of returned usage limit objects.
This is a convenience method that creates an instance of theUsageLimit.Builderavoiding the need to create one manually viaUsageLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousageLimits(List<UsageLimit>).- Parameters:
usageLimits- a consumer that will call methods onUsageLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-