Interface RelatedItemContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelatedItemContent.Builder,
,RelatedItemContent> SdkBuilder<RelatedItemContent.Builder,
,RelatedItemContent> SdkPojo
- Enclosing class:
RelatedItemContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemContent.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 RelatedItemContent.Builder
connectCase
(Consumer<ConnectCaseContent.Builder> connectCase) Represents the Amazon Connect case to be created as a related item.connectCase
(ConnectCaseContent connectCase) Represents the Amazon Connect case to be created as a related item.default RelatedItemContent.Builder
contact
(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.Builder
custom
(Consumer<CustomContent.Builder> custom) Represents the content of aCustom
type related item.custom
(CustomContent custom) Represents the content of aCustom
type related item.default RelatedItemContent.Builder
file
(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.default RelatedItemContent.Builder
sla
(Consumer<SlaContent.Builder> sla) Represents the content of an SLA to be returned to agents.sla
(SlaContent sla) Represents the content of an SLA to be returned to agents.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
-
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.Builder
avoiding the need to create one manually viaContactContent.builder()
.When the
Consumer
completes,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:
-
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:
-
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.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:
-
sla
Represents the content of an SLA to be returned to agents.
- Parameters:
sla
- Represents the content of an SLA to be returned to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sla
Represents the content of an SLA to be returned to agents.
This is a convenience method that creates an instance of theSlaContent.Builder
avoiding the need to create one manually viaSlaContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosla(SlaContent)
.- Parameters:
sla
- a consumer that will call methods onSlaContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectCase
Represents the Amazon Connect case to be created as a related item.
- Parameters:
connectCase
- Represents the Amazon Connect case to be created as a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectCase
Represents the Amazon Connect case to be created as a related item.
This is a convenience method that creates an instance of theConnectCaseContent.Builder
avoiding the need to create one manually viaConnectCaseContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectCase(ConnectCaseContent)
.- Parameters:
connectCase
- a consumer that will call methods onConnectCaseContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Represents the content of a
Custom
type related item.- Parameters:
custom
- Represents the content of aCustom
type related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Represents the content of a
This is a convenience method that creates an instance of theCustom
type related item.CustomContent.Builder
avoiding the need to create one manually viaCustomContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustom(CustomContent)
.- Parameters:
custom
- a consumer that will call methods onCustomContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-