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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSpendLimitsResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribeSpendLimitsResponse.BuilderspendLimits(Collection<SpendLimit> spendLimits)An array of SpendLimit objects that contain the details for the requested spend limits.DescribeSpendLimitsResponse.BuilderspendLimits(Consumer<SpendLimit.Builder>... spendLimits)An array of SpendLimit objects that contain the details for the requested spend limits.DescribeSpendLimitsResponse.BuilderspendLimits(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 Detail
-
spendLimits
DescribeSpendLimitsResponse.Builder spendLimits(Collection<SpendLimit> 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
DescribeSpendLimitsResponse.Builder spendLimits(SpendLimit... 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
DescribeSpendLimitsResponse.Builder spendLimits(Consumer<SpendLimit.Builder>... 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.Builderavoiding the need to create one manually viaSpendLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#spendLimits(List.) - 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:
#spendLimits(java.util.Collection)
-
nextToken
DescribeSpendLimitsResponse.Builder nextToken(String 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.
-
-