Struct aws_sdk_elasticbeanstalk::operation::update_configuration_template::builders::UpdateConfigurationTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateConfigurationTemplateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateConfigurationTemplateInput
.
Implementations§
source§impl UpdateConfigurationTemplateInputBuilder
impl UpdateConfigurationTemplateInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application associated with the configuration template to update.
If no application is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application associated with the configuration template to update.
If no application is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application associated with the configuration template to update.
If no application is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the configuration template to update.
If no configuration template is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the configuration template to update.
If no configuration template is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the configuration template to update.
If no configuration template is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue
error.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A new description for the configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A new description for the configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A new description for the configuration.
sourcepub fn option_settings(self, input: ConfigurationOptionSetting) -> Self
pub fn option_settings(self, input: ConfigurationOptionSetting) -> Self
Appends an item to option_settings
.
To override the contents of this collection use set_option_settings
.
A list of configuration option settings to update with the new specified option value.
sourcepub fn set_option_settings(
self,
input: Option<Vec<ConfigurationOptionSetting>>
) -> Self
pub fn set_option_settings( self, input: Option<Vec<ConfigurationOptionSetting>> ) -> Self
A list of configuration option settings to update with the new specified option value.
sourcepub fn get_option_settings(&self) -> &Option<Vec<ConfigurationOptionSetting>>
pub fn get_option_settings(&self) -> &Option<Vec<ConfigurationOptionSetting>>
A list of configuration option settings to update with the new specified option value.
sourcepub fn options_to_remove(self, input: OptionSpecification) -> Self
pub fn options_to_remove(self, input: OptionSpecification) -> Self
Appends an item to options_to_remove
.
To override the contents of this collection use set_options_to_remove
.
A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
sourcepub fn set_options_to_remove(
self,
input: Option<Vec<OptionSpecification>>
) -> Self
pub fn set_options_to_remove( self, input: Option<Vec<OptionSpecification>> ) -> Self
A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
sourcepub fn get_options_to_remove(&self) -> &Option<Vec<OptionSpecification>>
pub fn get_options_to_remove(&self) -> &Option<Vec<OptionSpecification>>
A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
sourcepub fn build(self) -> Result<UpdateConfigurationTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateConfigurationTemplateInput, BuildError>
Consumes the builder and constructs a UpdateConfigurationTemplateInput
.
source§impl UpdateConfigurationTemplateInputBuilder
impl UpdateConfigurationTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateConfigurationTemplateOutput, SdkError<UpdateConfigurationTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateConfigurationTemplateOutput, SdkError<UpdateConfigurationTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConfigurationTemplateInputBuilder
impl Clone for UpdateConfigurationTemplateInputBuilder
source§fn clone(&self) -> UpdateConfigurationTemplateInputBuilder
fn clone(&self) -> UpdateConfigurationTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConfigurationTemplateInputBuilder
impl Default for UpdateConfigurationTemplateInputBuilder
source§fn default() -> UpdateConfigurationTemplateInputBuilder
fn default() -> UpdateConfigurationTemplateInputBuilder
source§impl PartialEq for UpdateConfigurationTemplateInputBuilder
impl PartialEq for UpdateConfigurationTemplateInputBuilder
source§fn eq(&self, other: &UpdateConfigurationTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateConfigurationTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConfigurationTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateConfigurationTemplateInputBuilder
impl RefUnwindSafe for UpdateConfigurationTemplateInputBuilder
impl Send for UpdateConfigurationTemplateInputBuilder
impl Sync for UpdateConfigurationTemplateInputBuilder
impl Unpin for UpdateConfigurationTemplateInputBuilder
impl UnwindSafe for UpdateConfigurationTemplateInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more