Interface RelatedItemInputContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemInputContent.Builder,,RelatedItemInputContent> SdkBuilder<RelatedItemInputContent.Builder,,RelatedItemInputContent> SdkPojo
- Enclosing class:
RelatedItemInputContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemInputContent.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 RelatedItemInputContent.BuilderconnectCase(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.Buildercontact(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.Buildercustom(Consumer<CustomInputContent.Builder> custom) Represents the content of aCustomtype related item.custom(CustomInputContent custom) Represents the content of aCustomtype related item.default RelatedItemInputContent.Builderfile(Consumer<FileContent.Builder> file) A file of related items.file(FileContent file) A file of related items.default RelatedItemInputContent.BuilderRepresents 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
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
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.Builderavoiding the need to create one manually viaContact.builder().When the
Consumercompletes,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.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
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.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 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.Builderavoiding the need to create one manually viaSlaInputContent.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConnectCaseInputContent.builder().When the
Consumercompletes,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
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.CustomInputContent.Builderavoiding the need to create one manually viaCustomInputContent.builder().When the
Consumercompletes,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:
-