Interface UpdateEnvironmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>,ElasticBeanstalkRequest.Builder,SdkBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateEnvironmentRequest
public static interface UpdateEnvironmentRequest.Builder extends ElasticBeanstalkRequest.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateEnvironmentRequest.BuilderapplicationName(String applicationName)The name of the application with which the environment is associated.UpdateEnvironmentRequest.Builderdescription(String description)If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.UpdateEnvironmentRequest.BuilderenvironmentId(String environmentId)The ID of the environment to update.UpdateEnvironmentRequest.BuilderenvironmentName(String environmentName)The name of the environment to update.UpdateEnvironmentRequest.BuildergroupName(String groupName)The name of the group to which the target environment belongs.UpdateEnvironmentRequest.BuilderoptionSettings(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.BuilderoptionSettings(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.BuilderoptionSettings(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.BuilderoptionsToRemove(Collection<OptionSpecification> optionsToRemove)A list of custom user-defined configuration options to remove from the configuration set for this environment.UpdateEnvironmentRequest.BuilderoptionsToRemove(Consumer<OptionSpecification.Builder>... optionsToRemove)A list of custom user-defined configuration options to remove from the configuration set for this environment.UpdateEnvironmentRequest.BuilderoptionsToRemove(OptionSpecification... optionsToRemove)A list of custom user-defined configuration options to remove from the configuration set for this environment.UpdateEnvironmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateEnvironmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateEnvironmentRequest.BuilderplatformArn(String platformArn)The ARN of the platform, if used.UpdateEnvironmentRequest.BuildersolutionStackName(String solutionStackName)This specifies the platform version that the environment will run after the environment is updated.UpdateEnvironmentRequest.BuildertemplateName(String templateName)If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the environment.default UpdateEnvironmentRequest.Buildertier(Consumer<EnvironmentTier.Builder> tier)This specifies the tier to use to update the environment.UpdateEnvironmentRequest.Buildertier(EnvironmentTier tier)This specifies the tier to use to update the environment.UpdateEnvironmentRequest.BuilderversionLabel(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 Detail
-
applicationName
UpdateEnvironmentRequest.Builder applicationName(String 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
UpdateEnvironmentRequest.Builder environmentId(String environmentId)
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentId- The ID of the environment to update.If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
UpdateEnvironmentRequest.Builder environmentName(String environmentName)
The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentName- The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
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.
- 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
UpdateEnvironmentRequest.Builder description(String 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
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
InvalidParameterValueerror.- 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
InvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
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
This is a convenience method that creates an instance of theInvalidParameterValueerror.EnvironmentTier.Builderavoiding the need to create one manually viaEnvironmentTier.builder().When the
Consumercompletes,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:
tier(EnvironmentTier)
-
versionLabel
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
InvalidParameterValueerror.- 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 anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
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
InvalidParameterValueerror.- 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 anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionStackName
UpdateEnvironmentRequest.Builder solutionStackName(String 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
UpdateEnvironmentRequest.Builder platformArn(String 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
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.
- 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.Builderavoiding the need to create one manually viaConfigurationOptionSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#optionSettings(List.) - 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:
#optionSettings(java.util.Collection)
-
optionsToRemove
UpdateEnvironmentRequest.Builder optionsToRemove(Collection<OptionSpecification> 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(OptionSpecification... 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.Builderavoiding the need to create one manually viaOptionSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#optionsToRemove(List.) - 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:
#optionsToRemove(java.util.Collection)
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-