Interface RelatedItemInputContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelatedItemInputContent.Builder,
,RelatedItemInputContent> SdkBuilder<RelatedItemInputContent.Builder,
,RelatedItemInputContent> SdkPojo
- Enclosing class:
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
connectCase
(Consumer<ConnectCaseInputContent.Builder> connectCase) Represents the Amazon Connect case to be created as a related item.connectCase
(ConnectCaseInputContent connectCase) Represents the Amazon Connect case to be created as a related item.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
custom
(Consumer<CustomInputContent.Builder> custom) Represents the content of aCustom
type related item.custom
(CustomInputContent custom) Represents the content of aCustom
type related item.default RelatedItemInputContent.Builder
file
(Consumer<FileContent.Builder> file) A file of related items.file
(FileContent file) A file of related items.default RelatedItemInputContent.Builder
Represents the content of an SLA to be created.sla
(SlaInputContent sla) Represents the content of an SLA to be created.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
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:
-
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
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:
-
sla
Represents the content of an SLA to be created.
- Parameters:
sla
- Represents the content of an SLA to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sla
Represents the content of an SLA to be created.
This is a convenience method that creates an instance of theSlaInputContent.Builder
avoiding the need to create one manually viaSlaInputContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosla(SlaInputContent)
.- Parameters:
sla
- a consumer that will call methods onSlaInputContent.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
default RelatedItemInputContent.Builder connectCase(Consumer<ConnectCaseInputContent.Builder> connectCase) Represents the Amazon Connect case to be created as a related item.
This is a convenience method that creates an instance of theConnectCaseInputContent.Builder
avoiding the need to create one manually viaConnectCaseInputContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectCase(ConnectCaseInputContent)
.- Parameters:
connectCase
- a consumer that will call methods onConnectCaseInputContent.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.CustomInputContent.Builder
avoiding the need to create one manually viaCustomInputContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustom(CustomInputContent)
.- Parameters:
custom
- a consumer that will call methods onCustomInputContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-