public static interface UpdateEnvironmentRequest.Builder extends ElasticBeanstalkRequest.Builder, CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
Modifier and Type | Method and 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 |
optionSettings(Consumer<ConfigurationOptionSetting.Builder>... 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(Consumer<OptionSpecification.Builder>... 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
default UpdateEnvironmentRequest.Builder |
tier(Consumer<EnvironmentTier.Builder> tier)
This specifies the tier to use to update 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.
|
build
overrideConfiguration
copy
applyMutation, 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.
default UpdateEnvironmentRequest.Builder tier(Consumer<EnvironmentTier.Builder> 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.
EnvironmentTier.Builder
avoiding the need to
create one manually via EnvironmentTier.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to tier(EnvironmentTier)
.tier
- a consumer that will call methods on EnvironmentTier.Builder
tier(EnvironmentTier)
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.
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(Consumer<ConfigurationOptionSetting.Builder>... 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.
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)
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.
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this
environment.UpdateEnvironmentRequest.Builder optionsToRemove(Consumer<OptionSpecification.Builder>... optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this environment.
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 #optionsToRemove(List)
.optionsToRemove
- a consumer that will call methods on List.Builder
#optionsToRemove(List)
UpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateEnvironmentRequest.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.