Interface UpdateEnvironmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEnvironmentRequest.Builder,
,UpdateEnvironmentRequest> ElasticBeanstalkRequest.Builder
,SdkBuilder<UpdateEnvironmentRequest.Builder,
,UpdateEnvironmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the application with which the environment is associated.description
(String description) If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.environmentId
(String environmentId) The ID of the environment to update.environmentName
(String environmentName) The name of the environment to update.The name of the group to which the target environment belongs.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
(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.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.optionsToRemove
(Collection<OptionSpecification> optionsToRemove) A list of custom user-defined configuration options to remove from the configuration set for this environment.optionsToRemove
(Consumer<OptionSpecification.Builder>... optionsToRemove) A list of custom user-defined configuration options to remove from the configuration set for this environment.optionsToRemove
(OptionSpecification... optionsToRemove) A list of custom user-defined configuration options to remove from the configuration set for this environment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.platformArn
(String platformArn) The ARN of the platform, if used.solutionStackName
(String solutionStackName) This specifies the platform version that the environment will run after the environment is updated.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.tier
(EnvironmentTier tier) This specifies the tier to use to update the environment.versionLabel
(String versionLabel) If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the environment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of the application with which the environment is associated.
- Parameters:
applicationName
- The name of the application with which the environment is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
environmentName
- The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns anInvalidParameterValue
error.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
- Parameters:
description
- If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theInvalidParameterValue
error.EnvironmentTier.Builder
avoiding the need to create one manually viaEnvironmentTier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totier(EnvironmentTier)
.- Parameters:
tier
- a consumer that will call methods onEnvironmentTier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 anInvalidParameterValue
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 anInvalidParameterValue
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionStackName
This specifies the platform version that the environment will run after the environment is updated.
- Parameters:
solutionStackName
- This specifies the platform version that the environment will run after the environment is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformArn
The ARN of the platform, if used.
- Parameters:
platformArn
- The ARN of the platform, if used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
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 method that creates an instance of theConfigurationOptionSetting.Builder
avoiding the need to create one manually viaConfigurationOptionSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionSettings(List<ConfigurationOptionSetting>)
.- Parameters:
optionSettings
- a consumer that will call methods onConfigurationOptionSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optionsToRemove
A list of custom user-defined configuration options to remove from the configuration set for this environment.
- Parameters:
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsToRemove
A list of custom user-defined configuration options to remove from the configuration set for this environment.
- Parameters:
optionsToRemove
- A list of custom user-defined configuration options to remove from the configuration set for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsToRemove
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 method that creates an instance of theOptionSpecification.Builder
avoiding the need to create one manually viaOptionSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionsToRemove(List<OptionSpecification>)
.- Parameters:
optionsToRemove
- a consumer that will call methods onOptionSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-