CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
, SdkBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
public static interface UpdateEnvironmentRequest.Builder extends CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateEnvironmentRequest.Builder |
applicationName(String applicationName) |
The name of the application with which the environment is associated.
|
UpdateEnvironmentRequest.Builder |
description(String description) |
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
|
UpdateEnvironmentRequest.Builder |
environmentId(String environmentId) |
The ID of the environment to update.
|
UpdateEnvironmentRequest.Builder |
environmentName(String environmentName) |
The name of the environment to update.
|
UpdateEnvironmentRequest.Builder |
groupName(String groupName) |
The name of the group to which the target environment belongs.
|
UpdateEnvironmentRequest.Builder |
optionSettings(Collection<ConfigurationOptionSetting> optionSettings) |
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and
sets the specified configuration options to the requested value.
|
UpdateEnvironmentRequest.Builder |
optionSettings(ConfigurationOptionSetting... optionSettings) |
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and
sets the specified configuration options to the requested value.
|
UpdateEnvironmentRequest.Builder |
optionsToRemove(Collection<OptionSpecification> optionsToRemove) |
A list of custom user-defined configuration options to remove from the configuration set for this
environment.
|
UpdateEnvironmentRequest.Builder |
optionsToRemove(OptionSpecification... optionsToRemove) |
A list of custom user-defined configuration options to remove from the configuration set for this
environment.
|
UpdateEnvironmentRequest.Builder |
platformArn(String platformArn) |
The ARN of the platform, if used.
|
UpdateEnvironmentRequest.Builder |
solutionStackName(String solutionStackName) |
This specifies the platform version that the environment will run after the environment is updated.
|
UpdateEnvironmentRequest.Builder |
templateName(String templateName) |
If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the environment.
|
UpdateEnvironmentRequest.Builder |
tier(EnvironmentTier tier) |
This specifies the tier to use to update the environment.
|
UpdateEnvironmentRequest.Builder |
versionLabel(String versionLabel) |
If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the
environment.
|
copy
apply, build
UpdateEnvironmentRequest.Builder applicationName(String applicationName)
The name of the application with which the environment is associated.
applicationName
- The name of the application with which the environment is associated.UpdateEnvironmentRequest.Builder environmentId(String environmentId)
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter
error.
environmentId
- The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either,
AWS Elastic Beanstalk returns MissingRequiredParameter
error.
UpdateEnvironmentRequest.Builder environmentName(String environmentName)
The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns
an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter
error.
environmentName
- The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk
returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either,
AWS Elastic Beanstalk returns MissingRequiredParameter
error.
UpdateEnvironmentRequest.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 or environment ID parameters. 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 or
environment ID parameters. See Environment
Manifest (env.yaml) for details.UpdateEnvironmentRequest.Builder description(String description)
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
description
- If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.UpdateEnvironmentRequest.Builder tier(EnvironmentTier tier)
This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type, AWS Elastic Beanstalk returns
InvalidParameterValue
error.
tier
- This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type, AWS Elastic Beanstalk returns
InvalidParameterValue
error.
UpdateEnvironmentRequest.Builder versionLabel(String versionLabel)
If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the
environment. If no such application version is found, returns an InvalidParameterValue
error.
versionLabel
- If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the
environment. If no such application version is found, returns an InvalidParameterValue
error.UpdateEnvironmentRequest.Builder templateName(String templateName)
If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the environment.
If no such configuration template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
templateName
- If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the
environment. If no such configuration template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.UpdateEnvironmentRequest.Builder solutionStackName(String solutionStackName)
This specifies the platform version that the environment will run after the environment is updated.
solutionStackName
- This specifies the platform version that the environment will run after the environment is updated.UpdateEnvironmentRequest.Builder platformArn(String platformArn)
The ARN of the platform, if used.
platformArn
- The ARN of the platform, if used.UpdateEnvironmentRequest.Builder optionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
optionSettings
- If specified, AWS Elastic Beanstalk updates the configuration set associated with the running
environment and sets the specified configuration options to the requested value.UpdateEnvironmentRequest.Builder optionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
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 updates the configuration set associated with the running
environment and sets the specified configuration options to the requested value.UpdateEnvironmentRequest.Builder optionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this environment.
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this
environment.UpdateEnvironmentRequest.Builder optionsToRemove(OptionSpecification... optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this 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
environment.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.