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
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
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
-
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:
-
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:
-
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:
-