Package software.amazon.awscdk
Class CfnGeneratedTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.CfnGeneratedTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeneratedTemplateProps>
- Enclosing interface:
CfnGeneratedTemplateProps
@Stability(Stable)
public static final class CfnGeneratedTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeneratedTemplateProps>
A builder for
CfnGeneratedTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.generatedTemplateName(String generatedTemplateName) Sets the value ofCfnGeneratedTemplateProps.getGeneratedTemplateName()templateConfiguration(CfnGeneratedTemplate.TemplateConfigurationProperty templateConfiguration) Sets the value ofCfnGeneratedTemplateProps.getTemplateConfiguration()templateConfiguration(IResolvable templateConfiguration) Sets the value ofCfnGeneratedTemplateProps.getTemplateConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
generatedTemplateName
@Stability(Stable) public CfnGeneratedTemplateProps.Builder generatedTemplateName(String generatedTemplateName) Sets the value ofCfnGeneratedTemplateProps.getGeneratedTemplateName()- Parameters:
generatedTemplateName- The name assigned to the generated template. This parameter is required.- Returns:
this
-
templateConfiguration
@Stability(Stable) public CfnGeneratedTemplateProps.Builder templateConfiguration(IResolvable templateConfiguration) Sets the value ofCfnGeneratedTemplateProps.getTemplateConfiguration()- Parameters:
templateConfiguration- The configuration details of the generated template.- Returns:
this
-
templateConfiguration
@Stability(Stable) public CfnGeneratedTemplateProps.Builder templateConfiguration(CfnGeneratedTemplate.TemplateConfigurationProperty templateConfiguration) Sets the value ofCfnGeneratedTemplateProps.getTemplateConfiguration()- Parameters:
templateConfiguration- The configuration details of the generated template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeneratedTemplateProps>- Returns:
- a new instance of
CfnGeneratedTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-