Interface UpdateUsageLimitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateUsageLimitResponse.Builder,
,UpdateUsageLimitResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<UpdateUsageLimitResponse.Builder,
,UpdateUsageLimitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateUsageLimitResponse
public static interface UpdateUsageLimitResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<UpdateUsageLimitResponse.Builder,UpdateUsageLimitResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateUsageLimitResponse.Builder
usageLimit
(Consumer<UsageLimit.Builder> usageLimit) The updated usage limit object.usageLimit
(UsageLimit usageLimit) The updated usage limit object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
usageLimit
The updated usage limit object.
- Parameters:
usageLimit
- The updated usage limit object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimit
The updated usage limit object.
This is a convenience method that creates an instance of theUsageLimit.Builder
avoiding the need to create one manually viaUsageLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousageLimit(UsageLimit)
.- Parameters:
usageLimit
- 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:
-