Struct aws_sdk_ssmsap::types::builders::AssociatedHostBuilder
source · #[non_exhaustive]pub struct AssociatedHostBuilder { /* private fields */ }Expand description
A builder for AssociatedHost.
Implementations§
source§impl AssociatedHostBuilder
impl AssociatedHostBuilder
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The name of the host.
sourcepub fn get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
The name of the 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 the 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 the Amazon EC2 instance.
sourcepub fn get_ec2_instance_id(&self) -> &Option<String>
pub fn get_ec2_instance_id(&self) -> &Option<String>
The ID of the Amazon EC2 instance.
sourcepub fn ip_addresses(self, input: IpAddressMember) -> Self
pub fn ip_addresses(self, input: IpAddressMember) -> Self
Appends an item to ip_addresses.
To override the contents of this collection use set_ip_addresses.
The IP addresses of the associated host.
sourcepub fn set_ip_addresses(self, input: Option<Vec<IpAddressMember>>) -> Self
pub fn set_ip_addresses(self, input: Option<Vec<IpAddressMember>>) -> Self
The IP addresses of the associated host.
sourcepub fn get_ip_addresses(&self) -> &Option<Vec<IpAddressMember>>
pub fn get_ip_addresses(&self) -> &Option<Vec<IpAddressMember>>
The IP addresses of the associated 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.
sourcepub fn build(self) -> AssociatedHost
pub fn build(self) -> AssociatedHost
Consumes the builder and constructs a AssociatedHost.
Trait Implementations§
source§impl Clone for AssociatedHostBuilder
impl Clone for AssociatedHostBuilder
source§fn clone(&self) -> AssociatedHostBuilder
fn clone(&self) -> AssociatedHostBuilder
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 AssociatedHostBuilder
impl Debug for AssociatedHostBuilder
source§impl Default for AssociatedHostBuilder
impl Default for AssociatedHostBuilder
source§fn default() -> AssociatedHostBuilder
fn default() -> AssociatedHostBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociatedHostBuilder
impl PartialEq for AssociatedHostBuilder
source§fn eq(&self, other: &AssociatedHostBuilder) -> bool
fn eq(&self, other: &AssociatedHostBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociatedHostBuilder
Auto Trait Implementations§
impl Freeze for AssociatedHostBuilder
impl RefUnwindSafe for AssociatedHostBuilder
impl Send for AssociatedHostBuilder
impl Sync for AssociatedHostBuilder
impl Unpin for AssociatedHostBuilder
impl UnwindSafe for AssociatedHostBuilder
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.