Interface MessageComponents.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageComponents.Builder,,MessageComponents> SdkBuilder<MessageComponents.Builder,,MessageComponents> SdkPojo
- Enclosing class:
MessageComponents
-
Method Summary
Modifier and TypeMethodDescriptioncompleteDescription(String completeDescription) A complete summary with all possible relevant information.dimensions(Collection<Dimension> dimensions) A list of properties in key-value pairs.dimensions(Consumer<Dimension.Builder>... dimensions) A list of properties in key-value pairs.dimensions(Dimension... dimensions) A list of properties in key-value pairs.A sentence long summary.paragraphSummary(String paragraphSummary) A paragraph long or multiple sentence summary.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
-
headline
A sentence long summary. For example, titles or an email subject line.
- Parameters:
headline- A sentence long summary. For example, titles or an email subject line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paragraphSummary
A paragraph long or multiple sentence summary. For example, Amazon Q Developer in chat applications notifications.
- Parameters:
paragraphSummary- A paragraph long or multiple sentence summary. For example, Amazon Q Developer in chat applications notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completeDescription
A complete summary with all possible relevant information.
- Parameters:
completeDescription- A complete summary with all possible relevant information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.
Included dimensions, keys, and values are subject to change.
- Parameters:
dimensions- A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.Included dimensions, keys, and values are subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.
Included dimensions, keys, and values are subject to change.
- Parameters:
dimensions- A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.Included dimensions, keys, and values are subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.
This is a convenience method that creates an instance of theIncluded dimensions, keys, and values are subject to change.
Dimension.Builderavoiding the need to create one manually viaDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<Dimension>).- Parameters:
dimensions- a consumer that will call methods onDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-