Interface DescribeSpendLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSpendLimitsResponse.Builder,
,DescribeSpendLimitsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeSpendLimitsResponse.Builder,
,DescribeSpendLimitsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSpendLimitsResponse
public static interface DescribeSpendLimitsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeSpendLimitsResponse.Builder,DescribeSpendLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.spendLimits
(Collection<SpendLimit> spendLimits) An array of SpendLimit objects that contain the details for the requested spend limits.spendLimits
(Consumer<SpendLimit.Builder>... spendLimits) An array of SpendLimit objects that contain the details for the requested spend limits.spendLimits
(SpendLimit... spendLimits) An array of SpendLimit objects that contain the details for the requested spend limits.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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
-
spendLimits
An array of SpendLimit objects that contain the details for the requested spend limits.
- Parameters:
spendLimits
- An array of SpendLimit objects that contain the details for the requested spend limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendLimits
An array of SpendLimit objects that contain the details for the requested spend limits.
- Parameters:
spendLimits
- An array of SpendLimit objects that contain the details for the requested spend limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendLimits
An array of SpendLimit objects that contain the details for the requested spend limits.
This is a convenience method that creates an instance of theSpendLimit.Builder
avoiding the need to create one manually viaSpendLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospendLimits(List<SpendLimit>)
.- Parameters:
spendLimits
- a consumer that will call methods onSpendLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-