Interface ConnectAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectAttachment.Builder,
,ConnectAttachment> SdkBuilder<ConnectAttachment.Builder,
,ConnectAttachment> SdkPojo
- Enclosing class:
ConnectAttachment
public static interface ConnectAttachment.Builder
extends SdkPojo, CopyableBuilder<ConnectAttachment.Builder,ConnectAttachment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectAttachment.Builder
attachment
(Consumer<Attachment.Builder> attachment) The attachment details.attachment
(Attachment attachment) The attachment details.default ConnectAttachment.Builder
options
(Consumer<ConnectAttachmentOptions.Builder> options) Options for connecting an attachment.options
(ConnectAttachmentOptions options) Options for connecting an attachment.transportAttachmentId
(String transportAttachmentId) The ID of the transport attachment.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
-
Method Details
-
attachment
The attachment details.
- Parameters:
attachment
- The attachment details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
The attachment details.
This is a convenience method that creates an instance of theAttachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachment(Attachment)
.- Parameters:
attachment
- a consumer that will call methods onAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transportAttachmentId
The ID of the transport attachment.
- Parameters:
transportAttachmentId
- The ID of the transport attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Options for connecting an attachment.
- Parameters:
options
- Options for connecting an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaConnectAttachmentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(ConnectAttachmentOptions)
.- Parameters:
options
- a consumer that will call methods onConnectAttachmentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-