Struct aws_sdk_sms::types::builders::VmServerBuilder
source · #[non_exhaustive]pub struct VmServerBuilder { /* private fields */ }
Expand description
A builder for VmServer
.
Implementations§
source§impl VmServerBuilder
impl VmServerBuilder
sourcepub fn vm_server_address(self, input: VmServerAddress) -> Self
pub fn vm_server_address(self, input: VmServerAddress) -> Self
The VM server location.
sourcepub fn set_vm_server_address(self, input: Option<VmServerAddress>) -> Self
pub fn set_vm_server_address(self, input: Option<VmServerAddress>) -> Self
The VM server location.
sourcepub fn get_vm_server_address(&self) -> &Option<VmServerAddress>
pub fn get_vm_server_address(&self) -> &Option<VmServerAddress>
The VM server location.
sourcepub fn set_vm_name(self, input: Option<String>) -> Self
pub fn set_vm_name(self, input: Option<String>) -> Self
The name of the VM.
sourcepub fn get_vm_name(&self) -> &Option<String>
pub fn get_vm_name(&self) -> &Option<String>
The name of the VM.
sourcepub fn vm_manager_name(self, input: impl Into<String>) -> Self
pub fn vm_manager_name(self, input: impl Into<String>) -> Self
The name of the VM manager.
sourcepub fn set_vm_manager_name(self, input: Option<String>) -> Self
pub fn set_vm_manager_name(self, input: Option<String>) -> Self
The name of the VM manager.
sourcepub fn get_vm_manager_name(&self) -> &Option<String>
pub fn get_vm_manager_name(&self) -> &Option<String>
The name of the VM manager.
sourcepub fn vm_manager_type(self, input: VmManagerType) -> Self
pub fn vm_manager_type(self, input: VmManagerType) -> Self
The type of VM management product.
sourcepub fn set_vm_manager_type(self, input: Option<VmManagerType>) -> Self
pub fn set_vm_manager_type(self, input: Option<VmManagerType>) -> Self
The type of VM management product.
sourcepub fn get_vm_manager_type(&self) -> &Option<VmManagerType>
pub fn get_vm_manager_type(&self) -> &Option<VmManagerType>
The type of VM management product.
sourcepub fn vm_path(self, input: impl Into<String>) -> Self
pub fn vm_path(self, input: impl Into<String>) -> Self
The VM folder path in the vCenter Server virtual machine inventory tree.
sourcepub fn set_vm_path(self, input: Option<String>) -> Self
pub fn set_vm_path(self, input: Option<String>) -> Self
The VM folder path in the vCenter Server virtual machine inventory tree.
sourcepub fn get_vm_path(&self) -> &Option<String>
pub fn get_vm_path(&self) -> &Option<String>
The VM folder path in the vCenter Server virtual machine inventory tree.
Trait Implementations§
source§impl Clone for VmServerBuilder
impl Clone for VmServerBuilder
source§fn clone(&self) -> VmServerBuilder
fn clone(&self) -> VmServerBuilder
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 Debug for VmServerBuilder
impl Debug for VmServerBuilder
source§impl Default for VmServerBuilder
impl Default for VmServerBuilder
source§fn default() -> VmServerBuilder
fn default() -> VmServerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VmServerBuilder
impl PartialEq for VmServerBuilder
source§fn eq(&self, other: &VmServerBuilder) -> bool
fn eq(&self, other: &VmServerBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VmServerBuilder
Auto Trait Implementations§
impl Freeze for VmServerBuilder
impl RefUnwindSafe for VmServerBuilder
impl Send for VmServerBuilder
impl Sync for VmServerBuilder
impl Unpin for VmServerBuilder
impl UnwindSafe for VmServerBuilder
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.