Interface StartAttachmentUploadResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectParticipantResponse.Builder
,CopyableBuilder<StartAttachmentUploadResponse.Builder,
,StartAttachmentUploadResponse> SdkBuilder<StartAttachmentUploadResponse.Builder,
,StartAttachmentUploadResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartAttachmentUploadResponse
public static interface StartAttachmentUploadResponse.Builder
extends ConnectParticipantResponse.Builder, SdkPojo, CopyableBuilder<StartAttachmentUploadResponse.Builder,StartAttachmentUploadResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId
(String attachmentId) A unique identifier for the attachment.uploadMetadata
(Consumer<UploadMetadata.Builder> uploadMetadata) Fields to be used while uploading the attachment.uploadMetadata
(UploadMetadata uploadMetadata) Fields to be used while uploading the attachment.Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
attachmentId
A unique identifier for the attachment.
- Parameters:
attachmentId
- A unique identifier for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadMetadata
Fields to be used while uploading the attachment.
- Parameters:
uploadMetadata
- Fields to be used while uploading the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadMetadata
default StartAttachmentUploadResponse.Builder uploadMetadata(Consumer<UploadMetadata.Builder> uploadMetadata) Fields to be used while uploading the attachment.
This is a convenience method that creates an instance of theUploadMetadata.Builder
avoiding the need to create one manually viaUploadMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touploadMetadata(UploadMetadata)
.- Parameters:
uploadMetadata
- a consumer that will call methods onUploadMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-