public static interface RelatedItemContent.Builder extends SdkPojo, CopyableBuilder<RelatedItemContent.Builder,RelatedItemContent>
| Modifier and Type | Method and Description |
|---|---|
RelatedItemContent.Builder |
comment(CommentContent comment)
Represents the content of a comment to be returned to agents.
|
default RelatedItemContent.Builder |
comment(Consumer<CommentContent.Builder> comment)
Represents the content of a comment to be returned to agents.
|
default RelatedItemContent.Builder |
contact(Consumer<ContactContent.Builder> contact)
Represents the content of a contact to be returned to agents.
|
RelatedItemContent.Builder |
contact(ContactContent contact)
Represents the content of a contact to be returned to agents.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRelatedItemContent.Builder comment(CommentContent comment)
Represents the content of a comment to be returned to agents.
comment - Represents the content of a comment to be returned to agents.default RelatedItemContent.Builder comment(Consumer<CommentContent.Builder> 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 via CommentContent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to comment(CommentContent).
comment - a consumer that will call methods on CommentContent.Buildercomment(CommentContent)RelatedItemContent.Builder contact(ContactContent contact)
Represents the content of a contact to be returned to agents.
contact - Represents the content of a contact to be returned to agents.default RelatedItemContent.Builder contact(Consumer<ContactContent.Builder> contact)
Represents the content of a contact to be returned to agents.
This is a convenience method that creates an instance of theContactContent.Builder avoiding the need
to create one manually via ContactContent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to contact(ContactContent).
contact - a consumer that will call methods on ContactContent.Buildercontact(ContactContent)Copyright © 2023. All rights reserved.