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
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
-
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.Builderavoiding the need to create one manually viaAccountAttribute.builder().When the
Consumercompletes,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.
-