Class CfnFlowTemplatePropsMixin.DefinitionDocumentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotthingsgraph.CfnFlowTemplatePropsMixin.DefinitionDocumentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowTemplatePropsMixin.DefinitionDocumentProperty>
- Enclosing interface:
CfnFlowTemplatePropsMixin.DefinitionDocumentProperty
@Stability(Stable)
public static final class CfnFlowTemplatePropsMixin.DefinitionDocumentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowTemplatePropsMixin.DefinitionDocumentProperty>
A builder for
CfnFlowTemplatePropsMixin.DefinitionDocumentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowTemplatePropsMixin.DefinitionDocumentProperty.getLanguage()Sets the value ofCfnFlowTemplatePropsMixin.DefinitionDocumentProperty.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
language
@Stability(Stable) public CfnFlowTemplatePropsMixin.DefinitionDocumentProperty.Builder language(String language) Sets the value ofCfnFlowTemplatePropsMixin.DefinitionDocumentProperty.getLanguage()- Parameters:
language- the value to be set.- Returns:
this
-
text
@Stability(Stable) public CfnFlowTemplatePropsMixin.DefinitionDocumentProperty.Builder text(String text) Sets the value ofCfnFlowTemplatePropsMixin.DefinitionDocumentProperty.getText()- Parameters:
text- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowTemplatePropsMixin.DefinitionDocumentProperty>- Returns:
- a new instance of
CfnFlowTemplatePropsMixin.DefinitionDocumentProperty - Throws:
NullPointerException- if any required attribute was not provided
-