Class CfnDatasetPropsMixin.KendraSourceDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnDatasetPropsMixin.KendraSourceDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.KendraSourceDetailProperty>
- Enclosing interface:
CfnDatasetPropsMixin.KendraSourceDetailProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.KendraSourceDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.KendraSourceDetailProperty>
A builder for
CfnDatasetPropsMixin.KendraSourceDetailProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.knowledgeBaseArn(String knowledgeBaseArn) Sets the value ofCfnDatasetPropsMixin.KendraSourceDetailProperty.getKnowledgeBaseArn()Sets the value ofCfnDatasetPropsMixin.KendraSourceDetailProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
knowledgeBaseArn
@Stability(Stable) public CfnDatasetPropsMixin.KendraSourceDetailProperty.Builder knowledgeBaseArn(String knowledgeBaseArn) Sets the value ofCfnDatasetPropsMixin.KendraSourceDetailProperty.getKnowledgeBaseArn()- Parameters:
knowledgeBaseArn- TheknowledgeBaseArndetails for the Kendra dataset source.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDatasetPropsMixin.KendraSourceDetailProperty.Builder roleArn(String roleArn) Sets the value ofCfnDatasetPropsMixin.KendraSourceDetailProperty.getRoleArn()- Parameters:
roleArn- TheroleARNdetails for the Kendra dataset source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.KendraSourceDetailProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.KendraSourceDetailProperty - Throws:
NullPointerException- if any required attribute was not provided
-