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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConnectAttachment.Builderattachment(Consumer<Attachment.Builder> attachment)The attachment details.ConnectAttachment.Builderattachment(Attachment attachment)The attachment details.default ConnectAttachment.Builderoptions(Consumer<ConnectAttachmentOptions.Builder> options)Options for connecting an attachment.ConnectAttachment.Builderoptions(ConnectAttachmentOptions options)Options for connecting an attachment.ConnectAttachment.BuildertransportAttachmentId(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 Detail
-
attachment
ConnectAttachment.Builder attachment(Attachment 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
default ConnectAttachment.Builder attachment(Consumer<Attachment.Builder> 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:
attachment(Attachment)
-
transportAttachmentId
ConnectAttachment.Builder transportAttachmentId(String 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
ConnectAttachment.Builder options(ConnectAttachmentOptions 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
default ConnectAttachment.Builder options(Consumer<ConnectAttachmentOptions.Builder> 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:
options(ConnectAttachmentOptions)
-
-