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.Buildercomment(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.Buildercontact(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.Builderfile(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
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
-
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.Builderavoiding the need to create one manually viaCommentContent.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaContact.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFileContent.builder().When the
Consumercompletes,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:
-