Struct aws_sdk_ssmsap::types::builders::HostBuilder
source · #[non_exhaustive]pub struct HostBuilder { /* private fields */ }Expand description
A builder for Host.
Implementations§
source§impl HostBuilder
impl HostBuilder
sourcepub fn set_host_name(self, input: Option<String>) -> Self
pub fn set_host_name(self, input: Option<String>) -> Self
The name of the Dedicated Host.
sourcepub fn get_host_name(&self) -> &Option<String>
pub fn get_host_name(&self) -> &Option<String>
The name of the Dedicated Host.
sourcepub fn set_host_ip(self, input: Option<String>) -> Self
pub fn set_host_ip(self, input: Option<String>) -> Self
The IP address of the Dedicated Host.
sourcepub fn get_host_ip(&self) -> &Option<String>
pub fn get_host_ip(&self) -> &Option<String>
The IP address of the Dedicated Host.
sourcepub fn ec2_instance_id(self, input: impl Into<String>) -> Self
pub fn ec2_instance_id(self, input: impl Into<String>) -> Self
The ID of Amazon EC2 instance.
sourcepub fn set_ec2_instance_id(self, input: Option<String>) -> Self
pub fn set_ec2_instance_id(self, input: Option<String>) -> Self
The ID of Amazon EC2 instance.
sourcepub fn get_ec2_instance_id(&self) -> &Option<String>
pub fn get_ec2_instance_id(&self) -> &Option<String>
The ID of Amazon EC2 instance.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID of the instance on the Dedicated Host.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID of the instance on the Dedicated Host.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID of the instance on the Dedicated Host.
sourcepub fn set_host_role(self, input: Option<HostRole>) -> Self
pub fn set_host_role(self, input: Option<HostRole>) -> Self
The role of the Dedicated Host.
sourcepub fn get_host_role(&self) -> &Option<HostRole>
pub fn get_host_role(&self) -> &Option<HostRole>
The role of the Dedicated Host.
sourcepub fn os_version(self, input: impl Into<String>) -> Self
pub fn os_version(self, input: impl Into<String>) -> Self
The version of the operating system.
sourcepub fn set_os_version(self, input: Option<String>) -> Self
pub fn set_os_version(self, input: Option<String>) -> Self
The version of the operating system.
sourcepub fn get_os_version(&self) -> &Option<String>
pub fn get_os_version(&self) -> &Option<String>
The version of the operating system.
Trait Implementations§
source§impl Clone for HostBuilder
impl Clone for HostBuilder
source§fn clone(&self) -> HostBuilder
fn clone(&self) -> HostBuilder
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 HostBuilder
impl Debug for HostBuilder
source§impl Default for HostBuilder
impl Default for HostBuilder
source§fn default() -> HostBuilder
fn default() -> HostBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HostBuilder
impl PartialEq for HostBuilder
source§fn eq(&self, other: &HostBuilder) -> bool
fn eq(&self, other: &HostBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HostBuilder
Auto Trait Implementations§
impl RefUnwindSafe for HostBuilder
impl Send for HostBuilder
impl Sync for HostBuilder
impl Unpin for HostBuilder
impl UnwindSafe for HostBuilder
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>
Creates a shared type from an unshared type.