CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
, SdkBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
public static interface CreateEnvironmentRequest.Builder extends CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateEnvironmentRequest.Builder |
applicationName(String applicationName) |
The name of the application that contains the version to be deployed.
|
CreateEnvironmentRequest.Builder |
cnamePrefix(String cnamePrefix) |
If specified, the environment attempts to use this value as the prefix for the CNAME.
|
CreateEnvironmentRequest.Builder |
description(String description) |
Describes this environment.
|
CreateEnvironmentRequest.Builder |
environmentName(String environmentName) |
A unique name for the deployment environment.
|
CreateEnvironmentRequest.Builder |
groupName(String groupName) |
The name of the group to which the target environment belongs.
|
CreateEnvironmentRequest.Builder |
optionSettings(Collection<ConfigurationOptionSetting> optionSettings) |
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the
configuration set for the new environment.
|
CreateEnvironmentRequest.Builder |
optionSettings(ConfigurationOptionSetting... optionSettings) |
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the
configuration set for the new environment.
|
CreateEnvironmentRequest.Builder |
optionsToRemove(Collection<OptionSpecification> optionsToRemove) |
A list of custom user-defined configuration options to remove from the configuration set for this new
environment.
|
CreateEnvironmentRequest.Builder |
optionsToRemove(OptionSpecification... optionsToRemove) |
A list of custom user-defined configuration options to remove from the configuration set for this new
environment.
|
CreateEnvironmentRequest.Builder |
platformArn(String platformArn) |
The ARN of the custom platform.
|
CreateEnvironmentRequest.Builder |
solutionStackName(String solutionStackName) |
This is an alternative to specifying a template name.
|
CreateEnvironmentRequest.Builder |
tags(Collection<Tag> tags) |
This specifies the tags applied to resources in the environment.
|
CreateEnvironmentRequest.Builder |
tags(Tag... tags) |
This specifies the tags applied to resources in the environment.
|
CreateEnvironmentRequest.Builder |
templateName(String templateName) |
The name of the configuration template to use in deployment.
|
CreateEnvironmentRequest.Builder |
tier(EnvironmentTier tier) |
This specifies the tier to use for creating this environment.
|
CreateEnvironmentRequest.Builder |
versionLabel(String versionLabel) |
The name of the application version to deploy.
|
copy
apply, build
CreateEnvironmentRequest.Builder applicationName(String applicationName)
The name of the application that contains the version to be deployed.
If no application is found with this name, CreateEnvironment
returns an
InvalidParameterValue
error.
applicationName
- The name of the application that contains the version to be deployed.
If no application is found with this name, CreateEnvironment
returns an
InvalidParameterValue
error.
CreateEnvironmentRequest.Builder environmentName(String environmentName)
A unique name for the deployment environment. Used in the application URL.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and
hyphens. It cannot start or end with a hyphen. This name must be unique in your account. If the specified
name already exists, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
environmentName
- A unique name for the deployment environment. Used in the application URL.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and
hyphens. It cannot start or end with a hyphen. This name must be unique in your account. If the
specified name already exists, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
CreateEnvironmentRequest.Builder groupName(String groupName)
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.
groupName
- The name of the group to which the target environment belongs. Specify a group name only if the
environment's name is specified in an environment manifest and not with the environment name
parameter. See Environment
Manifest (env.yaml) for details.CreateEnvironmentRequest.Builder description(String description)
Describes this environment.
description
- Describes this environment.CreateEnvironmentRequest.Builder cnamePrefix(String cnamePrefix)
If specified, the environment attempts to use this value as the prefix for the CNAME. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
cnamePrefix
- If specified, the environment attempts to use this value as the prefix for the CNAME. If not
specified, the CNAME is generated automatically by appending a random alphanumeric string to the
environment name.CreateEnvironmentRequest.Builder tier(EnvironmentTier tier)
This specifies the tier to use for creating this environment.
tier
- This specifies the tier to use for creating this environment.CreateEnvironmentRequest.Builder tags(Collection<Tag> tags)
This specifies the tags applied to resources in the environment.
tags
- This specifies the tags applied to resources in the environment.CreateEnvironmentRequest.Builder tags(Tag... tags)
This specifies the tags applied to resources in the environment.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- This specifies the tags applied to resources in the environment.CreateEnvironmentRequest.Builder versionLabel(String versionLabel)
The name of the application version to deploy.
If the specified application has no associated application versions, AWS Elastic Beanstalk
UpdateEnvironment
returns an InvalidParameterValue
error.
Default: If not specified, AWS Elastic Beanstalk attempts to launch the sample application in the container.
versionLabel
- The name of the application version to deploy.
If the specified application has no associated application versions, AWS Elastic Beanstalk
UpdateEnvironment
returns an InvalidParameterValue
error.
Default: If not specified, AWS Elastic Beanstalk attempts to launch the sample application in the container.
CreateEnvironmentRequest.Builder templateName(String templateName)
The name of the configuration template to use in deployment. If no configuration template is found with this
name, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
templateName
- The name of the configuration template to use in deployment. If no configuration template is found
with this name, AWS Elastic Beanstalk returns an InvalidParameterValue
error.CreateEnvironmentRequest.Builder solutionStackName(String solutionStackName)
This is an alternative to specifying a template name. If specified, AWS Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack.
solutionStackName
- This is an alternative to specifying a template name. If specified, AWS Elastic Beanstalk sets the
configuration values to the default values associated with the specified solution stack.CreateEnvironmentRequest.Builder platformArn(String platformArn)
The ARN of the custom platform.
platformArn
- The ARN of the custom platform.CreateEnvironmentRequest.Builder optionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.
optionSettings
- If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in
the configuration set for the new environment. These override the values obtained from the solution
stack or the configuration template.CreateEnvironmentRequest.Builder optionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the 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 options to the requested value in
the configuration set for the new environment. These override the values obtained from the solution
stack or the configuration template.CreateEnvironmentRequest.Builder optionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this new
environment.CreateEnvironmentRequest.Builder optionsToRemove(OptionSpecification... optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
NOTE: This method appends the values to the existing list (if any). Use
#setOptionsToRemove(java.util.Collection)
or #withOptionsToRemove(java.util.Collection)
if
you want to override the existing values.
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this new
environment.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.