public static interface AcceptAttachmentResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<AcceptAttachmentResponse.Builder,AcceptAttachmentResponse>
| Modifier and Type | Method and Description |
|---|---|
AcceptAttachmentResponse.Builder |
attachment(Attachment attachment)
The response to the attachment request.
|
default AcceptAttachmentResponse.Builder |
attachment(Consumer<Attachment.Builder> attachment)
The response to the attachment request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAcceptAttachmentResponse.Builder attachment(Attachment attachment)
The response to the attachment request.
attachment - The response to the attachment request.default AcceptAttachmentResponse.Builder attachment(Consumer<Attachment.Builder> attachment)
The response to the attachment request.
This is a convenience method that creates an instance of theAttachment.Builder avoiding the need to
create one manually via Attachment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to attachment(Attachment).
attachment - a consumer that will call methods on Attachment.Builderattachment(Attachment)Copyright © 2022. All rights reserved.