Class CfnTemplate.TemplateSourceEntityProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TemplateSourceEntityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TemplateSourceEntityProperty>
- Enclosing interface:
CfnTemplate.TemplateSourceEntityProperty
@Stability(Stable)
public static final class CfnTemplate.TemplateSourceEntityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TemplateSourceEntityProperty>
A builder for
CfnTemplate.TemplateSourceEntityProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sourceAnalysis
(IResolvable sourceAnalysis) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceAnalysis()
sourceAnalysis
(CfnTemplate.TemplateSourceAnalysisProperty sourceAnalysis) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceAnalysis()
sourceTemplate
(IResolvable sourceTemplate) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceTemplate()
sourceTemplate
(CfnTemplate.TemplateSourceTemplateProperty sourceTemplate) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceAnalysis
@Stability(Stable) public CfnTemplate.TemplateSourceEntityProperty.Builder sourceAnalysis(IResolvable sourceAnalysis) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceAnalysis()
- Parameters:
sourceAnalysis
- The source analysis, if it is based on an analysis.- Returns:
this
-
sourceAnalysis
@Stability(Stable) public CfnTemplate.TemplateSourceEntityProperty.Builder sourceAnalysis(CfnTemplate.TemplateSourceAnalysisProperty sourceAnalysis) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceAnalysis()
- Parameters:
sourceAnalysis
- The source analysis, if it is based on an analysis.- Returns:
this
-
sourceTemplate
@Stability(Stable) public CfnTemplate.TemplateSourceEntityProperty.Builder sourceTemplate(IResolvable sourceTemplate) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceTemplate()
- Parameters:
sourceTemplate
- The source template, if it is based on an template.- Returns:
this
-
sourceTemplate
@Stability(Stable) public CfnTemplate.TemplateSourceEntityProperty.Builder sourceTemplate(CfnTemplate.TemplateSourceTemplateProperty sourceTemplate) Sets the value ofCfnTemplate.TemplateSourceEntityProperty.getSourceTemplate()
- Parameters:
sourceTemplate
- The source template, if it is based on an template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.TemplateSourceEntityProperty>
- Returns:
- a new instance of
CfnTemplate.TemplateSourceEntityProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-