Interface DescribeUsageLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUsageLimitsResponse.Builder,
,DescribeUsageLimitsResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeUsageLimitsResponse.Builder,
,DescribeUsageLimitsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeUsageLimitsResponse
public static interface DescribeUsageLimitsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeUsageLimitsResponse.Builder,DescribeUsageLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA value that indicates the starting point for the next set of response records in a subsequent request.usageLimits
(Collection<UsageLimit> usageLimits) Contains the output from the DescribeUsageLimits action.usageLimits
(Consumer<UsageLimit.Builder>... usageLimits) Contains the output from the DescribeUsageLimits action.usageLimits
(UsageLimit... usageLimits) Contains the output from the DescribeUsageLimits action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
usageLimits
Contains the output from the DescribeUsageLimits action.
- Parameters:
usageLimits
- Contains the output from the DescribeUsageLimits action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimits
Contains the output from the DescribeUsageLimits action.
- Parameters:
usageLimits
- Contains the output from the DescribeUsageLimits action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimits
Contains the output from the DescribeUsageLimits action.
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 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:
-
marker
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-