Class CfnDataSource.TemplateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.TemplateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.TemplateConfigurationProperty>
- Enclosing interface:
CfnDataSource.TemplateConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.TemplateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.TemplateConfigurationProperty>
A builder for
CfnDataSource.TemplateConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataSource.TemplateConfigurationProperty.getTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
template
@Stability(Stable) public CfnDataSource.TemplateConfigurationProperty.Builder template(String template) Sets the value ofCfnDataSource.TemplateConfigurationProperty.getTemplate()
- Parameters:
template
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.TemplateConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.TemplateConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-