Interface DescribeAccountLimitsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccountLimitsResponse.Builder,DescribeAccountLimitsResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeAccountLimitsResponse.Builder,DescribeAccountLimitsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAccountLimitsResponse
public static interface DescribeAccountLimitsResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeAccountLimitsResponse.Builder,DescribeAccountLimitsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAccountLimitsResponse.BuilderaccountLimits(Collection<AccountLimit> accountLimits)An array of AccountLimit objects that show the current spend limits.DescribeAccountLimitsResponse.BuilderaccountLimits(Consumer<AccountLimit.Builder>... accountLimits)An array of AccountLimit objects that show the current spend limits.DescribeAccountLimitsResponse.BuilderaccountLimits(AccountLimit... accountLimits)An array of AccountLimit objects that show the current spend limits.DescribeAccountLimitsResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.-
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
-
accountLimits
DescribeAccountLimitsResponse.Builder accountLimits(Collection<AccountLimit> 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(AccountLimit... 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 to#accountLimits(List.) - 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:
#accountLimits(java.util.Collection)
-
nextToken
DescribeAccountLimitsResponse.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.
-
-