Interface RelatedItemInputContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelatedItemInputContent.Builder,
,RelatedItemInputContent> SdkBuilder<RelatedItemInputContent.Builder,
,RelatedItemInputContent> SdkPojo
- Enclosing class:
RelatedItemInputContent
public static interface RelatedItemInputContent.Builder
extends SdkPojo, CopyableBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemInputContent.Builder
comment
(Consumer<CommentContent.Builder> comment) Represents the content of a comment to be returned to agents.comment
(CommentContent comment) Represents the content of a comment to be returned to agents.default RelatedItemInputContent.Builder
contact
(Consumer<Contact.Builder> contact) Object representing a contact in Amazon Connect as an API request field.Object representing a contact in Amazon Connect as an API request field.default RelatedItemInputContent.Builder
file
(Consumer<FileContent.Builder> file) A file of related items.file
(FileContent file) A file of related items.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
-
comment
Represents the content of a comment to be returned to agents.
- Parameters:
comment
- Represents the content of a comment to be returned to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
Represents the content of a comment to be returned to agents.
This is a convenience method that creates an instance of theCommentContent.Builder
avoiding the need to create one manually viaCommentContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomment(CommentContent)
.- Parameters:
comment
- a consumer that will call methods onCommentContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contact
Object representing a contact in Amazon Connect as an API request field.
- Parameters:
contact
- Object representing a contact in Amazon Connect as an API request field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contact
Object representing a contact in Amazon Connect as an API request field.
This is a convenience method that creates an instance of theContact.Builder
avoiding the need to create one manually viaContact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontact(Contact)
.- Parameters:
contact
- a consumer that will call methods onContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
file
A file of related items.
- Parameters:
file
- A file of related items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
file
A file of related items.
This is a convenience method that creates an instance of theFileContent.Builder
avoiding the need to create one manually viaFileContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofile(FileContent)
.- Parameters:
file
- a consumer that will call methods onFileContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-