public static interface ConnectAttachment.Builder extends SdkPojo, CopyableBuilder<ConnectAttachment.Builder,ConnectAttachment>
| Modifier and Type | Method and Description |
|---|---|
ConnectAttachment.Builder |
attachment(Attachment attachment)
The attachment details.
|
default ConnectAttachment.Builder |
attachment(Consumer<Attachment.Builder> attachment)
The attachment details.
|
ConnectAttachment.Builder |
options(ConnectAttachmentOptions options)
Options for connecting an attachment.
|
default ConnectAttachment.Builder |
options(Consumer<ConnectAttachmentOptions.Builder> options)
Options for connecting an attachment.
|
ConnectAttachment.Builder |
transportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConnectAttachment.Builder attachment(Attachment attachment)
The attachment details.
attachment - The attachment details.default ConnectAttachment.Builder attachment(Consumer<Attachment.Builder> attachment)
The attachment details.
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)ConnectAttachment.Builder transportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
transportAttachmentId - The ID of the transport attachment.ConnectAttachment.Builder options(ConnectAttachmentOptions options)
Options for connecting an attachment.
options - Options for connecting an attachment.default ConnectAttachment.Builder options(Consumer<ConnectAttachmentOptions.Builder> options)
Options for connecting an attachment.
This is a convenience method that creates an instance of theConnectAttachmentOptions.Builder
avoiding the need to create one manually via ConnectAttachmentOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to options(ConnectAttachmentOptions).
options - a consumer that will call methods on ConnectAttachmentOptions.Builderoptions(ConnectAttachmentOptions)Copyright © 2022. All rights reserved.