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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartAttachmentUploadResponse.BuilderattachmentId(String attachmentId)A unique identifier for the attachment.default StartAttachmentUploadResponse.BuilderuploadMetadata(Consumer<UploadMetadata.Builder> uploadMetadata)Fields to be used while uploading the attachment.StartAttachmentUploadResponse.BuilderuploadMetadata(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 Detail
-
attachmentId
StartAttachmentUploadResponse.Builder attachmentId(String 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
StartAttachmentUploadResponse.Builder uploadMetadata(UploadMetadata 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.Builderavoiding the need to create one manually viaUploadMetadata.builder().When the
Consumercompletes,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:
uploadMetadata(UploadMetadata)
-
-