Struct aws_sdk_backupgateway::operation::import_hypervisor_configuration::ImportHypervisorConfigurationInput
source · #[non_exhaustive]pub struct ImportHypervisorConfigurationInput {
pub name: Option<String>,
pub host: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
pub kms_key_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the hypervisor.
host: Option<String>
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
username: Option<String>
The username for the hypervisor.
password: Option<String>
The password for the hypervisor.
kms_key_arn: Option<String>
The Key Management Service for the hypervisor.
The tags of the hypervisor configuration to import.
Implementations§
source§impl ImportHypervisorConfigurationInput
impl ImportHypervisorConfigurationInput
sourcepub fn host(&self) -> Option<&str>
pub fn host(&self) -> Option<&str>
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Key Management Service for the hypervisor.
The tags of the hypervisor configuration to import.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ImportHypervisorConfigurationInput
impl ImportHypervisorConfigurationInput
sourcepub fn builder() -> ImportHypervisorConfigurationInputBuilder
pub fn builder() -> ImportHypervisorConfigurationInputBuilder
Creates a new builder-style object to manufacture ImportHypervisorConfigurationInput
.
Trait Implementations§
source§impl Clone for ImportHypervisorConfigurationInput
impl Clone for ImportHypervisorConfigurationInput
source§fn clone(&self) -> ImportHypervisorConfigurationInput
fn clone(&self) -> ImportHypervisorConfigurationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for ImportHypervisorConfigurationInput
impl PartialEq for ImportHypervisorConfigurationInput
source§fn eq(&self, other: &ImportHypervisorConfigurationInput) -> bool
fn eq(&self, other: &ImportHypervisorConfigurationInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportHypervisorConfigurationInput
Auto Trait Implementations§
impl Freeze for ImportHypervisorConfigurationInput
impl RefUnwindSafe for ImportHypervisorConfigurationInput
impl Send for ImportHypervisorConfigurationInput
impl Sync for ImportHypervisorConfigurationInput
impl Unpin for ImportHypervisorConfigurationInput
impl UnwindSafe for ImportHypervisorConfigurationInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.