Interface RelatedItemContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemContent.Builder,,RelatedItemContent> SdkBuilder<RelatedItemContent.Builder,,RelatedItemContent> SdkPojo
- Enclosing class:
RelatedItemContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemContent.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 RelatedItemContent.Buildercontact(Consumer<ContactContent.Builder> contact) Represents the content of a contact to be returned to agents.contact(ContactContent contact) Represents the content of a contact to be returned to agents.default RelatedItemContent.Builderfile(Consumer<FileContent.Builder> file) Represents the content of a File to be returned to agents.file(FileContent file) Represents the content of a File to be returned to agents.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, 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
Represents the content of a contact to be returned to agents.
- Parameters:
contact- Represents the content of a contact to be returned to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contact
Represents the content of a contact to be returned to agents.
This is a convenience method that creates an instance of theContactContent.Builderavoiding the need to create one manually viaContactContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontact(ContactContent).- Parameters:
contact- a consumer that will call methods onContactContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
file
Represents the content of a File to be returned to agents.
- Parameters:
file- Represents the content of a File to be returned to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
file
Represents the content of a File to be returned to agents.
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:
-