CopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
, SdkBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
public static interface CreateConfigurationTemplateRequest.Builder extends CopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateConfigurationTemplateRequest.Builder |
applicationName(String applicationName) |
The name of the application to associate with this configuration template.
|
CreateConfigurationTemplateRequest.Builder |
description(String description) |
Describes this configuration.
|
CreateConfigurationTemplateRequest.Builder |
environmentId(String environmentId) |
The ID of the environment used with this configuration template.
|
CreateConfigurationTemplateRequest.Builder |
optionSettings(Collection<ConfigurationOptionSetting> optionSettings) |
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
|
CreateConfigurationTemplateRequest.Builder |
optionSettings(ConfigurationOptionSetting... optionSettings) |
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
|
CreateConfigurationTemplateRequest.Builder |
platformArn(String platformArn) |
The ARN of the custome platform.
|
CreateConfigurationTemplateRequest.Builder |
solutionStackName(String solutionStackName) |
The name of the solution stack used by this configuration.
|
CreateConfigurationTemplateRequest.Builder |
sourceConfiguration(SourceConfiguration sourceConfiguration) |
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template
to create a new configuration.
|
CreateConfigurationTemplateRequest.Builder |
templateName(String templateName) |
The name of the configuration template.
|
copy
apply, build
CreateConfigurationTemplateRequest.Builder applicationName(String applicationName)
The name of the application to associate with this configuration template. If no application is found with
this name, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
applicationName
- The name of the application to associate with this configuration template. If no application is found
with this name, AWS Elastic Beanstalk returns an InvalidParameterValue
error.CreateConfigurationTemplateRequest.Builder templateName(String templateName)
The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
templateName
- The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
CreateConfigurationTemplateRequest.Builder solutionStackName(String solutionStackName)
The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk
returns an InvalidParameterValue
error.
If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
solutionStackName
- The name of the solution stack used by this configuration. The solution stack specifies the operating
system, architecture, and application server for a configuration template. It determines the set of
configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic
Beanstalk returns an InvalidParameterValue
error.
If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
CreateConfigurationTemplateRequest.Builder platformArn(String platformArn)
The ARN of the custome platform.
platformArn
- The ARN of the custome platform.CreateConfigurationTemplateRequest.Builder sourceConfiguration(SourceConfiguration sourceConfiguration)
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the OptionSettings
parameter of this call overrides any values obtained from
the SourceConfiguration
.
If no configuration template is found, returns an InvalidParameterValue
error.
Constraint: If both the solution stack name parameter and the source configuration parameters are specified,
the solution stack of the source configuration template must match the specified solution stack name or else
AWS Elastic Beanstalk returns an InvalidParameterCombination
error.
sourceConfiguration
- If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration
template to create a new configuration.
Values specified in the OptionSettings
parameter of this call overrides any values
obtained from the SourceConfiguration
.
If no configuration template is found, returns an InvalidParameterValue
error.
Constraint: If both the solution stack name parameter and the source configuration parameters are
specified, the solution stack of the source configuration template must match the specified solution
stack name or else AWS Elastic Beanstalk returns an InvalidParameterCombination
error.
CreateConfigurationTemplateRequest.Builder environmentId(String environmentId)
The ID of the environment used with this configuration template.
environmentId
- The ID of the environment used with this configuration template.CreateConfigurationTemplateRequest.Builder description(String description)
Describes this configuration.
description
- Describes this configuration.CreateConfigurationTemplateRequest.Builder optionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
optionSettings
- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
The new value overrides the value obtained from the solution stack or the source configuration
template.CreateConfigurationTemplateRequest.Builder optionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
NOTE: This method appends the values to the existing list (if any). Use
#setOptionSettings(java.util.Collection)
or #withOptionSettings(java.util.Collection)
if you
want to override the existing values.
optionSettings
- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
The new value overrides the value obtained from the solution stack or the source configuration
template.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.