Class CfnQuickResponse.QuickResponseContentsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnQuickResponse.QuickResponseContentsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuickResponse.QuickResponseContentsProperty>
- Enclosing interface:
CfnQuickResponse.QuickResponseContentsProperty
@Stability(Stable)
public static final class CfnQuickResponse.QuickResponseContentsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuickResponse.QuickResponseContentsProperty>
A builder for
CfnQuickResponse.QuickResponseContentsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.markdown(IResolvable markdown) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getMarkdown()Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getMarkdown()plainText(IResolvable plainText) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getPlainText()Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getPlainText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
markdown
@Stability(Stable) public CfnQuickResponse.QuickResponseContentsProperty.Builder markdown(IResolvable markdown) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getMarkdown()- Parameters:
markdown- The quick response content in markdown format.- Returns:
this
-
markdown
@Stability(Stable) public CfnQuickResponse.QuickResponseContentsProperty.Builder markdown(CfnQuickResponse.QuickResponseContentProviderProperty markdown) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getMarkdown()- Parameters:
markdown- The quick response content in markdown format.- Returns:
this
-
plainText
@Stability(Stable) public CfnQuickResponse.QuickResponseContentsProperty.Builder plainText(IResolvable plainText) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getPlainText()- Parameters:
plainText- The quick response content in plaintext format.- Returns:
this
-
plainText
@Stability(Stable) public CfnQuickResponse.QuickResponseContentsProperty.Builder plainText(CfnQuickResponse.QuickResponseContentProviderProperty plainText) Sets the value ofCfnQuickResponse.QuickResponseContentsProperty.getPlainText()- Parameters:
plainText- The quick response content in plaintext format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuickResponse.QuickResponseContentsProperty>- Returns:
- a new instance of
CfnQuickResponse.QuickResponseContentsProperty - Throws:
NullPointerException- if any required attribute was not provided
-