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 ==
.impl StructuralPartialEq for UpdateHypervisorInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateHypervisorInputBuilder
impl RefUnwindSafe for UpdateHypervisorInputBuilder
impl Send for UpdateHypervisorInputBuilder
impl Sync for UpdateHypervisorInputBuilder
impl Unpin for UpdateHypervisorInputBuilder
impl UnwindSafe for UpdateHypervisorInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more