Interface CopyFromSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CopyFromSource.Builder,
,CopyFromSource> SdkBuilder<CopyFromSource.Builder,
,CopyFromSource> SdkPojo
- Enclosing class:
CopyFromSource
@Mutable
@NotThreadSafe
public static interface CopyFromSource.Builder
extends SdkPojo, CopyableBuilder<CopyFromSource.Builder,CopyFromSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CopyFromSource.Builder
conversation
(Consumer<ConversationSource.Builder> conversation) A reference to an attachment in an existing conversation.conversation
(ConversationSource conversation) A reference to an attachment in an existing conversation.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, sdkFieldNameToField, sdkFields
-
Method Details
-
conversation
A reference to an attachment in an existing conversation.
- Parameters:
conversation
- A reference to an attachment in an existing conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversation
A reference to an attachment in an existing conversation.
This is a convenience method that creates an instance of theConversationSource.Builder
avoiding the need to create one manually viaConversationSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconversation(ConversationSource)
.- Parameters:
conversation
- a consumer that will call methods onConversationSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-