Interface ConnectAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectAttachment.Builder,,ConnectAttachment> SdkBuilder<ConnectAttachment.Builder,,ConnectAttachment> SdkPojo
- Enclosing class:
ConnectAttachment
@Mutable
@NotThreadSafe
public static interface ConnectAttachment.Builder
extends SdkPojo, CopyableBuilder<ConnectAttachment.Builder,ConnectAttachment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectAttachment.Builderattachment(Consumer<Attachment.Builder> attachment) The attachment details.attachment(Attachment attachment) The attachment details.default ConnectAttachment.Builderoptions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConnectAttachmentOptions.builder().When the
Consumercompletes,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:
-