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 SummaryModifier 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.Buildertier(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationNameThe 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.
 
- 
environmentIdThe 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.
 
- 
environmentNameThe 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 an- InvalidParameterValueerror.- 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.
 
- 
groupNameThe 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.
 
- 
descriptionIf 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.
 
- 
tierThis 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.
 
- 
tierThis 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 on- EnvironmentTier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
versionLabelIf 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 an- InvalidParameterValueerror.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
templateNameIf 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 an- InvalidParameterValueerror.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
solutionStackNameThis 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.
 
- 
platformArnThe 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.
 
- 
optionSettingsUpdateEnvironmentRequest.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.
 
- 
optionSettingsIf 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.
 
- 
optionSettingsUpdateEnvironmentRequest.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 tooptionSettings(List<ConfigurationOptionSetting>).- Parameters:
- optionSettings- a consumer that will call methods on- ConfigurationOptionSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
optionsToRemoveA 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.
 
- 
optionsToRemoveA 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.
 
- 
optionsToRemoveUpdateEnvironmentRequest.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 tooptionsToRemove(List<OptionSpecification>).- Parameters:
- optionsToRemove- a consumer that will call methods on- OptionSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-