Interface DescribeRegistrationAttachmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRegistrationAttachmentsResponse.Builder,,DescribeRegistrationAttachmentsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeRegistrationAttachmentsResponse.Builder,,DescribeRegistrationAttachmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRegistrationAttachmentsResponse
@Mutable
@NotThreadSafe
public static interface DescribeRegistrationAttachmentsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRegistrationAttachmentsResponse.Builder,DescribeRegistrationAttachmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.registrationAttachments(Collection<RegistrationAttachmentsInformation> registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.registrationAttachments(Consumer<RegistrationAttachmentsInformation.Builder>... registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.registrationAttachments(RegistrationAttachmentsInformation... registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.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
-
registrationAttachments
DescribeRegistrationAttachmentsResponse.Builder registrationAttachments(Collection<RegistrationAttachmentsInformation> registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.
- Parameters:
registrationAttachments- An array of RegistrationAttachments objects that contain the details for the requested registration attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAttachments
DescribeRegistrationAttachmentsResponse.Builder registrationAttachments(RegistrationAttachmentsInformation... registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.
- Parameters:
registrationAttachments- An array of RegistrationAttachments objects that contain the details for the requested registration attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAttachments
DescribeRegistrationAttachmentsResponse.Builder registrationAttachments(Consumer<RegistrationAttachmentsInformation.Builder>... registrationAttachments) An array of RegistrationAttachments objects that contain the details for the requested registration attachments.
This is a convenience method that creates an instance of theRegistrationAttachmentsInformation.Builderavoiding the need to create one manually viaRegistrationAttachmentsInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistrationAttachments(List<RegistrationAttachmentsInformation>).- Parameters:
registrationAttachments- a consumer that will call methods onRegistrationAttachmentsInformation.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. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-