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