Interface RelatedItemContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemContent.Builder,RelatedItemContent>,SdkBuilder<RelatedItemContent.Builder,RelatedItemContent>,SdkPojo
- Enclosing class:
- RelatedItemContent
public static interface RelatedItemContent.Builder extends SdkPojo, CopyableBuilder<RelatedItemContent.Builder,RelatedItemContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RelatedItemContent.Buildercomment(Consumer<CommentContent.Builder> comment)Represents the content of a comment to be returned to agents.RelatedItemContent.Buildercomment(CommentContent comment)Represents the content of a comment to be returned to agents.default RelatedItemContent.Buildercontact(Consumer<ContactContent.Builder> contact)Represents the content of a contact to be returned to agents.RelatedItemContent.Buildercontact(ContactContent contact)Represents the content of a contact to be returned to agents.default RelatedItemContent.Builderfile(Consumer<FileContent.Builder> file)Represents the content of a File to be returned to agents.RelatedItemContent.Builderfile(FileContent file)Represents the content of a File 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, sdkFields
-
-
-
-
Method Detail
-
comment
RelatedItemContent.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 RelatedItemContent.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
RelatedItemContent.Builder contact(ContactContent 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
default RelatedItemContent.Builder contact(Consumer<ContactContent.Builder> 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:
contact(ContactContent)
-
file
RelatedItemContent.Builder file(FileContent 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
default RelatedItemContent.Builder file(Consumer<FileContent.Builder> 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:
file(FileContent)
-
-