Interface GetUsageLimitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUsageLimitResponse.Builder,,GetUsageLimitResponse> RedshiftServerlessResponse.Builder,SdkBuilder<GetUsageLimitResponse.Builder,,GetUsageLimitResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetUsageLimitResponse
public static interface GetUsageLimitResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<GetUsageLimitResponse.Builder,GetUsageLimitResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetUsageLimitResponse.BuilderusageLimit(Consumer<UsageLimit.Builder> usageLimit) The returned usage limit object.usageLimit(UsageLimit usageLimit) The returned 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 returned usage limit object.
- Parameters:
usageLimit- The returned usage limit object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimit
The returned 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:
-