Interface MessageComponents.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageComponents.Builder,MessageComponents>,SdkBuilder<MessageComponents.Builder,MessageComponents>,SdkPojo
- Enclosing class:
- MessageComponents
public static interface MessageComponents.Builder extends SdkPojo, CopyableBuilder<MessageComponents.Builder,MessageComponents>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageComponents.BuildercompleteDescription(String completeDescription)A complete summary with all possible relevant information.MessageComponents.Builderdimensions(Collection<Dimension> dimensions)A list of properties in key-value pairs.MessageComponents.Builderdimensions(Consumer<Dimension.Builder>... dimensions)A list of properties in key-value pairs.MessageComponents.Builderdimensions(Dimension... dimensions)A list of properties in key-value pairs.MessageComponents.Builderheadline(String headline)A sentence long summary.MessageComponents.BuilderparagraphSummary(String paragraphSummary)A paragraph long or multiple sentence summary.-
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 Detail
-
headline
MessageComponents.Builder headline(String 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
MessageComponents.Builder paragraphSummary(String paragraphSummary)
A paragraph long or multiple sentence summary. For example, Chatbot notifications.
- Parameters:
paragraphSummary- A paragraph long or multiple sentence summary. For example, Chatbot notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completeDescription
MessageComponents.Builder completeDescription(String 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
MessageComponents.Builder dimensions(Collection<Dimension> 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
MessageComponents.Builder dimensions(Dimension... 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
MessageComponents.Builder dimensions(Consumer<Dimension.Builder>... 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 to#dimensions(List.) - 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:
#dimensions(java.util.Collection)
-
-