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.BuilderusageLimit(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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaUsageLimit.builder().When the
Consumercompletes,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:
-