pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateHypervisorInput
.
Implementations§
source§impl Builder
impl Builder
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
.