public static interface CreateConfigurationTemplateRequest.Builder extends ElasticBeanstalkRequest.Builder, SdkPojo, CopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
Modifier and Type | Method and 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 |
optionSettings(Consumer<ConfigurationOptionSetting.Builder>... optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
|
CreateConfigurationTemplateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateConfigurationTemplateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateConfigurationTemplateRequest.Builder |
platformArn(String platformArn)
The ARN of the custom platform.
|
CreateConfigurationTemplateRequest.Builder |
solutionStackName(String solutionStackName)
The name of the solution stack used by this configuration.
|
default CreateConfigurationTemplateRequest.Builder |
sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template
to create a new 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.
|
build
overrideConfiguration
copy
applyMutation, 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 custom platform.
platformArn
- The ARN of the custom 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.
default CreateConfigurationTemplateRequest.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> 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.Builder
avoiding the need
to create one manually via SourceConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to sourceConfiguration(SourceConfiguration)
.sourceConfiguration
- a consumer that will call methods on SourceConfiguration.Builder
sourceConfiguration(SourceConfiguration)
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.
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(Consumer<ConfigurationOptionSetting.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #optionSettings(List)
.optionSettings
- a consumer that will call methods on List.Builder
#optionSettings(List)
CreateConfigurationTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateConfigurationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.