Interface QuickResponseContents.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuickResponseContents.Builder,,QuickResponseContents> SdkBuilder<QuickResponseContents.Builder,,QuickResponseContents> SdkPojo
- Enclosing class:
QuickResponseContents
public static interface QuickResponseContents.Builder
extends SdkPojo, CopyableBuilder<QuickResponseContents.Builder,QuickResponseContents>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QuickResponseContents.Buildermarkdown(Consumer<QuickResponseContentProvider.Builder> markdown) Sets the value of the Markdown property for this object.markdown(QuickResponseContentProvider markdown) Sets the value of the Markdown property for this object.default QuickResponseContents.BuilderplainText(Consumer<QuickResponseContentProvider.Builder> plainText) Sets the value of the PlainText property for this object.plainText(QuickResponseContentProvider plainText) Sets the value of the PlainText property for this object.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, sdkFields
-
Method Details
-
markdown
Sets the value of the Markdown property for this object.- Parameters:
markdown- The new value for the Markdown property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
markdown
default QuickResponseContents.Builder markdown(Consumer<QuickResponseContentProvider.Builder> markdown) Sets the value of the Markdown property for this object. This is a convenience method that creates an instance of theQuickResponseContentProvider.Builderavoiding the need to create one manually viaQuickResponseContentProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomarkdown(QuickResponseContentProvider).- Parameters:
markdown- a consumer that will call methods onQuickResponseContentProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plainText
Sets the value of the PlainText property for this object.- Parameters:
plainText- The new value for the PlainText property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plainText
default QuickResponseContents.Builder plainText(Consumer<QuickResponseContentProvider.Builder> plainText) Sets the value of the PlainText property for this object. This is a convenience method that creates an instance of theQuickResponseContentProvider.Builderavoiding the need to create one manually viaQuickResponseContentProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplainText(QuickResponseContentProvider).- Parameters:
plainText- a consumer that will call methods onQuickResponseContentProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-