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
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, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationName
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- 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,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
templateName
- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- 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.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
UpdateConfigurationTemplateRequest.Builder optionsToRemove(Collection<OptionSpecification> optionsToRemove) A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefined
configuration options.- Parameters:
optionsToRemove
- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefined
configuration 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
UserDefined
configuration options.- Parameters:
optionsToRemove
- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefined
configuration 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 theUserDefined
configuration options.OptionSpecification.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
UpdateConfigurationTemplateRequest.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
UpdateConfigurationTemplateRequest.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.
-