Interface DescribeAccountLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccountLimitsResponse.Builder,,DescribeAccountLimitsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeAccountLimitsResponse.Builder,,DescribeAccountLimitsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAccountLimitsResponse
@Mutable
@NotThreadSafe
public static interface DescribeAccountLimitsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeAccountLimitsResponse.Builder,DescribeAccountLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountLimits(Collection<AccountLimit> accountLimits) An array of AccountLimit objects that show the current spend limits.accountLimits(Consumer<AccountLimit.Builder>... accountLimits) An array of AccountLimit objects that show the current spend limits.accountLimits(AccountLimit... accountLimits) An array of AccountLimit objects that show the current spend limits.The token to be used for the next set of paginated results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountLimits
An array of AccountLimit objects that show the current spend limits.
- Parameters:
accountLimits- An array of AccountLimit objects that show the current spend limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLimits
An array of AccountLimit objects that show the current spend limits.
- Parameters:
accountLimits- An array of AccountLimit objects that show the current spend limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLimits
DescribeAccountLimitsResponse.Builder accountLimits(Consumer<AccountLimit.Builder>... accountLimits) An array of AccountLimit objects that show the current spend limits.
This is a convenience method that creates an instance of theAccountLimit.Builderavoiding the need to create one manually viaAccountLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountLimits(List<AccountLimit>).- Parameters:
accountLimits- a consumer that will call methods onAccountLimit.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.
-