Interface RelatedItemInputContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>,SdkBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>,SdkPojo
- Enclosing class:
- RelatedItemInputContent
public static interface RelatedItemInputContent.Builder extends SdkPojo, CopyableBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RelatedItemInputContent.Buildercomment(Consumer<CommentContent.Builder> comment)Represents the content of a comment to be returned to agents.RelatedItemInputContent.Buildercomment(CommentContent comment)Represents the content of a comment to be returned to agents.default RelatedItemInputContent.Buildercontact(Consumer<Contact.Builder> contact)Object representing a contact in Amazon Connect as an API request field.RelatedItemInputContent.Buildercontact(Contact contact)Object representing a contact in Amazon Connect as an API request field.default RelatedItemInputContent.Builderfile(Consumer<FileContent.Builder> file)A file of related items.RelatedItemInputContent.Builderfile(FileContent file)A file of related items.-
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, sdkFields
-
-
-
-
Method Detail
-
comment
RelatedItemInputContent.Builder comment(CommentContent 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
default RelatedItemInputContent.Builder comment(Consumer<CommentContent.Builder> 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:
comment(CommentContent)
-
contact
RelatedItemInputContent.Builder contact(Contact 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
default RelatedItemInputContent.Builder contact(Consumer<Contact.Builder> 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:
contact(Contact)
-
file
RelatedItemInputContent.Builder file(FileContent 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
default RelatedItemInputContent.Builder file(Consumer<FileContent.Builder> 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:
file(FileContent)
-
-