Class CfnConfigurationTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationTemplateMixinProps>
- Enclosing interface:
CfnConfigurationTemplateMixinProps
CfnConfigurationTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value ofCfnConfigurationTemplateMixinProps.getApplicationName()applicationName(IApplicationRef applicationName) Sets the value ofCfnConfigurationTemplateMixinProps.getApplicationName()build()Builds the configured instance.description(String description) Sets the value ofCfnConfigurationTemplateMixinProps.getDescription()environmentId(String environmentId) Sets the value ofCfnConfigurationTemplateMixinProps.getEnvironmentId()optionSettings(List<? extends Object> optionSettings) Sets the value ofCfnConfigurationTemplateMixinProps.getOptionSettings()optionSettings(IResolvable optionSettings) Sets the value ofCfnConfigurationTemplateMixinProps.getOptionSettings()platformArn(String platformArn) Sets the value ofCfnConfigurationTemplateMixinProps.getPlatformArn()solutionStackName(String solutionStackName) Sets the value ofCfnConfigurationTemplateMixinProps.getSolutionStackName()sourceConfiguration(CfnConfigurationTemplatePropsMixin.SourceConfigurationProperty sourceConfiguration) Sets the value ofCfnConfigurationTemplateMixinProps.getSourceConfiguration()sourceConfiguration(IResolvable sourceConfiguration) Sets the value ofCfnConfigurationTemplateMixinProps.getSourceConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder applicationName(String applicationName) Sets the value ofCfnConfigurationTemplateMixinProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application to associate with this configuration template.- Returns:
this
-
applicationName
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder applicationName(IApplicationRef applicationName) Sets the value ofCfnConfigurationTemplateMixinProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application to associate with this configuration template.- Returns:
this
-
description
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder description(String description) Sets the value ofCfnConfigurationTemplateMixinProps.getDescription()- Parameters:
description- An optional description for this configuration.- Returns:
this
-
environmentId
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder environmentId(String environmentId) Sets the value ofCfnConfigurationTemplateMixinProps.getEnvironmentId()- Parameters:
environmentId- The ID of an environment whose settings you want to use to create the configuration template. You must specifyEnvironmentIdif you don't specifyPlatformArn,SolutionStackName, orSourceConfiguration.- Returns:
this
-
optionSettings
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder optionSettings(IResolvable optionSettings) Sets the value ofCfnConfigurationTemplateMixinProps.getOptionSettings()- Parameters:
optionSettings- Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide .- Returns:
this
-
optionSettings
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder optionSettings(List<? extends Object> optionSettings) Sets the value ofCfnConfigurationTemplateMixinProps.getOptionSettings()- Parameters:
optionSettings- Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide .- Returns:
this
-
platformArn
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder platformArn(String platformArn) Sets the value ofCfnConfigurationTemplateMixinProps.getPlatformArn()- Parameters:
platformArn- The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide .If you specify
PlatformArn, then don't specifySolutionStackName.- Returns:
this
-
solutionStackName
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder solutionStackName(String solutionStackName) Sets the value ofCfnConfigurationTemplateMixinProps.getSolutionStackName()- Parameters:
solutionStackName- The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example,64bit Amazon Linux 2013.09 running Tomcat 7 Java 7. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide .You must specify
SolutionStackNameif you don't specifyPlatformArn,EnvironmentId, orSourceConfiguration.Use the
ListAvailableSolutionStacksAPI to obtain a list of available solution stacks.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder sourceConfiguration(IResolvable sourceConfiguration) Sets the value ofCfnConfigurationTemplateMixinProps.getSourceConfiguration()- Parameters:
sourceConfiguration- An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.Values specified in
OptionSettingsoverride any values obtained from theSourceConfiguration.You must specify
SourceConfigurationif you don't specifyPlatformArn,EnvironmentId, orSolutionStackName.Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnConfigurationTemplateMixinProps.Builder sourceConfiguration(CfnConfigurationTemplatePropsMixin.SourceConfigurationProperty sourceConfiguration) Sets the value ofCfnConfigurationTemplateMixinProps.getSourceConfiguration()- Parameters:
sourceConfiguration- An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.Values specified in
OptionSettingsoverride any values obtained from theSourceConfiguration.You must specify
SourceConfigurationif you don't specifyPlatformArn,EnvironmentId, orSolutionStackName.Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationTemplateMixinProps>- Returns:
- a new instance of
CfnConfigurationTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-