Struct aws_sdk_backupgateway::operation::update_hypervisor::builders::UpdateHypervisorInputBuilder
source · #[non_exhaustive]pub struct UpdateHypervisorInputBuilder { /* private fields */ }
Expand description
A builder for UpdateHypervisorInput
.
Implementations§
source§impl UpdateHypervisorInputBuilder
impl UpdateHypervisorInputBuilder
sourcepub fn hypervisor_arn(self, input: impl Into<String>) -> Self
pub fn hypervisor_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor to update.
sourcepub fn set_hypervisor_arn(self, input: Option<String>) -> Self
pub fn set_hypervisor_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor to update.
sourcepub fn host(self, input: impl Into<String>) -> Self
pub fn host(self, input: impl Into<String>) -> Self
The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
sourcepub fn set_host(self, input: Option<String>) -> Self
pub fn set_host(self, input: Option<String>) -> Self
The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The updated username for the hypervisor.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The updated username for the hypervisor.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The updated password for the hypervisor.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The updated password for the hypervisor.
sourcepub fn log_group_arn(self, input: impl Into<String>) -> Self
pub fn log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the group of gateways within the requested log.
sourcepub fn set_log_group_arn(self, input: Option<String>) -> Self
pub fn set_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the group of gateways within the requested log.
sourcepub fn build(self) -> Result<UpdateHypervisorInput, BuildError>
pub fn build(self) -> Result<UpdateHypervisorInput, BuildError>
Consumes the builder and constructs a UpdateHypervisorInput
.
Trait Implementations§
source§impl Clone for UpdateHypervisorInputBuilder
impl Clone for UpdateHypervisorInputBuilder
source§fn clone(&self) -> UpdateHypervisorInputBuilder
fn clone(&self) -> UpdateHypervisorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateHypervisorInputBuilder
impl Debug for UpdateHypervisorInputBuilder
source§impl Default for UpdateHypervisorInputBuilder
impl Default for UpdateHypervisorInputBuilder
source§fn default() -> UpdateHypervisorInputBuilder
fn default() -> UpdateHypervisorInputBuilder
source§impl PartialEq<UpdateHypervisorInputBuilder> for UpdateHypervisorInputBuilder
impl PartialEq<UpdateHypervisorInputBuilder> for UpdateHypervisorInputBuilder
source§fn eq(&self, other: &UpdateHypervisorInputBuilder) -> bool
fn eq(&self, other: &UpdateHypervisorInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.