Struct aws_sdk_ec2::types::builders::MacHostBuilder
source · #[non_exhaustive]pub struct MacHostBuilder { /* private fields */ }
Expand description
A builder for MacHost
.
Implementations§
source§impl MacHostBuilder
impl MacHostBuilder
sourcepub fn set_host_id(self, input: Option<String>) -> Self
pub fn set_host_id(self, input: Option<String>) -> Self
The EC2 Mac Dedicated Host ID.
sourcepub fn get_host_id(&self) -> &Option<String>
pub fn get_host_id(&self) -> &Option<String>
The EC2 Mac Dedicated Host ID.
sourcepub fn mac_os_latest_supported_versions(self, input: impl Into<String>) -> Self
pub fn mac_os_latest_supported_versions(self, input: impl Into<String>) -> Self
Appends an item to mac_os_latest_supported_versions
.
To override the contents of this collection use set_mac_os_latest_supported_versions
.
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
sourcepub fn set_mac_os_latest_supported_versions(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_mac_os_latest_supported_versions( self, input: Option<Vec<String>>, ) -> Self
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
sourcepub fn get_mac_os_latest_supported_versions(&self) -> &Option<Vec<String>>
pub fn get_mac_os_latest_supported_versions(&self) -> &Option<Vec<String>>
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
Trait Implementations§
source§impl Clone for MacHostBuilder
impl Clone for MacHostBuilder
source§fn clone(&self) -> MacHostBuilder
fn clone(&self) -> MacHostBuilder
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 MacHostBuilder
impl Debug for MacHostBuilder
source§impl Default for MacHostBuilder
impl Default for MacHostBuilder
source§fn default() -> MacHostBuilder
fn default() -> MacHostBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MacHostBuilder
impl PartialEq for MacHostBuilder
source§fn eq(&self, other: &MacHostBuilder) -> bool
fn eq(&self, other: &MacHostBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MacHostBuilder
Auto Trait Implementations§
impl Freeze for MacHostBuilder
impl RefUnwindSafe for MacHostBuilder
impl Send for MacHostBuilder
impl Sync for MacHostBuilder
impl Unpin for MacHostBuilder
impl UnwindSafe for MacHostBuilder
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.