Interface UpdateConfigurationTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateConfigurationTemplateRequest.Builder,,UpdateConfigurationTemplateRequest> ElasticBeanstalkRequest.Builder,SdkBuilder<UpdateConfigurationTemplateRequest.Builder,,UpdateConfigurationTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateConfigurationTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the application associated with the configuration template to update.description(String description) A new description for the configuration.optionSettings(Collection<ConfigurationOptionSetting> optionSettings) A list of configuration option settings to update with the new specified option value.optionSettings(Consumer<ConfigurationOptionSetting.Builder>... optionSettings) A list of configuration option settings to update with the new specified option value.optionSettings(ConfigurationOptionSetting... optionSettings) A list of configuration option settings to update with the new specified option value.optionsToRemove(Collection<OptionSpecification> optionsToRemove) A list of configuration options to remove from the configuration set.optionsToRemove(Consumer<OptionSpecification.Builder>... optionsToRemove) A list of configuration options to remove from the configuration set.optionsToRemove(OptionSpecification... optionsToRemove) A list of configuration options to remove from the configuration set.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateName(String templateName) The name of the configuration template to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
templateName- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the configuration.
- Parameters:
description- A new description for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
UpdateConfigurationTemplateRequest.Builder optionSettings(Collection<ConfigurationOptionSetting> optionSettings) A list of configuration option settings to update with the new specified option value.
- Parameters:
optionSettings- A list of configuration option settings to update with the new specified option value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
UpdateConfigurationTemplateRequest.Builder optionSettings(ConfigurationOptionSetting... optionSettings) A list of configuration option settings to update with the new specified option value.
- Parameters:
optionSettings- A list of configuration option settings to update with the new specified option value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
UpdateConfigurationTemplateRequest.Builder optionSettings(Consumer<ConfigurationOptionSetting.Builder>... optionSettings) A list of configuration option settings to update with the new specified option 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 onConfigurationOptionSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optionsToRemove
UpdateConfigurationTemplateRequest.Builder optionsToRemove(Collection<OptionSpecification> optionsToRemove) A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.- Parameters:
optionsToRemove- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefinedconfiguration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsToRemove
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.- Parameters:
optionsToRemove- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefinedconfiguration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsToRemove
UpdateConfigurationTemplateRequest.Builder optionsToRemove(Consumer<OptionSpecification.Builder>... optionsToRemove) A list of configuration options to remove from the configuration set.
Constraint: You can remove only
This is a convenience method that creates an instance of theUserDefinedconfiguration options.OptionSpecification.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 onOptionSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConfigurationTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateConfigurationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-