// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateAccelerator`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`accelerator_arn(impl Into<String>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::accelerator_arn) / [`set_accelerator_arn(Option<String>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::set_accelerator_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the accelerator to update.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::set_name):<br>required: **false**<br><p>The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.</p><br>
/// - [`ip_address_type(IpAddressType)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::ip_address_type) / [`set_ip_address_type(Option<IpAddressType>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::set_ip_address_type):<br>required: **false**<br><p>The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.</p><br>
/// - [`enabled(bool)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::enabled) / [`set_enabled(Option<bool>)`](crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::set_enabled):<br>required: **false**<br><p>Indicates whether an accelerator is enabled. The value is true or false. The default value is true. </p> <p>If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.</p><br>
/// - On success, responds with [`UpdateAcceleratorOutput`](crate::operation::update_accelerator::UpdateAcceleratorOutput) with field(s):
/// - [`accelerator(Option<Accelerator>)`](crate::operation::update_accelerator::UpdateAcceleratorOutput::accelerator): <p>Information about the updated accelerator.</p>
/// - On failure, responds with [`SdkError<UpdateAcceleratorError>`](crate::operation::update_accelerator::UpdateAcceleratorError)
pub fn update_accelerator(&self) -> crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder {
crate::operation::update_accelerator::builders::UpdateAcceleratorFluentBuilder::new(self.handle.clone())
}
}