Interface DescribeAccountAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccountAttributesResponse.Builder,
,DescribeAccountAttributesResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeAccountAttributesResponse.Builder,
,DescribeAccountAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccountAttributesResponse
@Mutable
@NotThreadSafe
public static interface DescribeAccountAttributesResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeAccountAttributesResponse.Builder,DescribeAccountAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountAttributes
(Collection<AccountAttribute> accountAttributes) An array of AccountAttributes objects.accountAttributes
(Consumer<AccountAttribute.Builder>... accountAttributes) An array of AccountAttributes objects.accountAttributes
(AccountAttribute... accountAttributes) An array of AccountAttributes objects.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Collection<AccountAttribute> accountAttributes) An array of AccountAttributes objects.
- Parameters:
accountAttributes
- An array of AccountAttributes objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
An array of AccountAttributes objects.
- Parameters:
accountAttributes
- An array of AccountAttributes objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Consumer<AccountAttribute.Builder>... accountAttributes) An array of AccountAttributes objects.
This is a convenience method that creates an instance of theAccountAttribute.Builder
avoiding the need to create one manually viaAccountAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountAttributes(List<AccountAttribute>)
.- Parameters:
accountAttributes
- a consumer that will call methods onAccountAttribute.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.
-