aws_sdk_backupgateway/client/
import_hypervisor_configuration.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 [`ImportHypervisorConfiguration`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the hypervisor.</p><br>
7    ///   - [`host(impl Into<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::host) / [`set_host(Option<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_host):<br>required: **true**<br><p>The server 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::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::username) / [`set_username(Option<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_username):<br>required: **false**<br><p>The username for the hypervisor.</p><br>
9    ///   - [`password(impl Into<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_password):<br>required: **false**<br><p>The password for the hypervisor.</p><br>
10    ///   - [`kms_key_arn(impl Into<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::kms_key_arn) / [`set_kms_key_arn(Option<String>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_kms_key_arn):<br>required: **false**<br><p>The Key Management Service for the hypervisor.</p><br>
11    ///   - [`tags(Tag)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::set_tags):<br>required: **false**<br><p>The tags of the hypervisor configuration to import.</p><br>
12    /// - On success, responds with [`ImportHypervisorConfigurationOutput`](crate::operation::import_hypervisor_configuration::ImportHypervisorConfigurationOutput) with field(s):
13    ///   - [`hypervisor_arn(Option<String>)`](crate::operation::import_hypervisor_configuration::ImportHypervisorConfigurationOutput::hypervisor_arn): <p>The Amazon Resource Name (ARN) of the hypervisor you disassociated.</p>
14    /// - On failure, responds with [`SdkError<ImportHypervisorConfigurationError>`](crate::operation::import_hypervisor_configuration::ImportHypervisorConfigurationError)
15    pub fn import_hypervisor_configuration(
16        &self,
17    ) -> crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder {
18        crate::operation::import_hypervisor_configuration::builders::ImportHypervisorConfigurationFluentBuilder::new(self.handle.clone())
19    }
20}