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.BuilderconnectCase(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.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.Buildercustom(Consumer<CustomContent.Builder> custom) Represents the content of aCustomtype related item.custom(CustomContent custom) Represents the content of aCustomtype related item.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.default RelatedItemContent.Buildersla(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
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
-
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:
-
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:
-
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:
-
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.Builderavoiding the need to create one manually viaSlaContent.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConnectCaseContent.builder().When the
Consumercompletes,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
Customtype related item.- Parameters:
custom- Represents the content of aCustomtype 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 theCustomtype related item.CustomContent.Builderavoiding the need to create one manually viaCustomContent.builder().When the
Consumercompletes,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:
-