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.
This field is required.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 get_hypervisor_arn(&self) -> &Option<String>
pub fn get_hypervisor_arn(&self) -> &Option<String>
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 get_host(&self) -> &Option<String>
pub fn get_host(&self) -> &Option<String>
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 get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
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 get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
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 get_log_group_arn(&self) -> &Option<String>
pub fn get_log_group_arn(&self) -> &Option<String>
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
.
source§impl UpdateHypervisorInputBuilder
impl UpdateHypervisorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateHypervisorOutput, SdkError<UpdateHypervisorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateHypervisorOutput, SdkError<UpdateHypervisorError, HttpResponse>>
Sends a request with this input using the given client.
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 for UpdateHypervisorInputBuilder
impl PartialEq 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 ==
.