aws_sdk_backupgateway/client/
update_hypervisor.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateHypervisor`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hypervisor_arn(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::hypervisor_arn) / [`set_hypervisor_arn(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_hypervisor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the hypervisor to update.</p><br>
7    ///   - [`host(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::host) / [`set_host(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_host):<br>required: **false**<br><p>The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).</p><br>
8    ///   - [`username(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::username) / [`set_username(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_username):<br>required: **false**<br><p>The updated username for the hypervisor.</p><br>
9    ///   - [`password(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_password):<br>required: **false**<br><p>The updated password for the hypervisor.</p><br>
10    ///   - [`name(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_name):<br>required: **false**<br><p>The updated name for the hypervisor</p><br>
11    ///   - [`log_group_arn(impl Into<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::log_group_arn) / [`set_log_group_arn(Option<String>)`](crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::set_log_group_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the group of gateways within the requested log.</p><br>
12    /// - On success, responds with [`UpdateHypervisorOutput`](crate::operation::update_hypervisor::UpdateHypervisorOutput) with field(s):
13    ///   - [`hypervisor_arn(Option<String>)`](crate::operation::update_hypervisor::UpdateHypervisorOutput::hypervisor_arn): <p>The Amazon Resource Name (ARN) of the hypervisor you updated.</p>
14    /// - On failure, responds with [`SdkError<UpdateHypervisorError>`](crate::operation::update_hypervisor::UpdateHypervisorError)
15    pub fn update_hypervisor(&self) -> crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder {
16        crate::operation::update_hypervisor::builders::UpdateHypervisorFluentBuilder::new(self.handle.clone())
17    }
18}