#[non_exhaustive]pub struct AllocateHostsOutputBuilder { /* private fields */ }Expand description
A builder for AllocateHostsOutput.
Implementations§
source§impl AllocateHostsOutputBuilder
impl AllocateHostsOutputBuilder
sourcepub fn host_ids(self, input: impl Into<String>) -> Self
pub fn host_ids(self, input: impl Into<String>) -> Self
Appends an item to host_ids.
To override the contents of this collection use set_host_ids.
The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.
sourcepub fn set_host_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_host_ids(self, input: Option<Vec<String>>) -> Self
The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.
sourcepub fn get_host_ids(&self) -> &Option<Vec<String>>
pub fn get_host_ids(&self) -> &Option<Vec<String>>
The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.
sourcepub fn build(self) -> AllocateHostsOutput
pub fn build(self) -> AllocateHostsOutput
Consumes the builder and constructs a AllocateHostsOutput.
Trait Implementations§
source§impl Clone for AllocateHostsOutputBuilder
impl Clone for AllocateHostsOutputBuilder
source§fn clone(&self) -> AllocateHostsOutputBuilder
fn clone(&self) -> AllocateHostsOutputBuilder
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 AllocateHostsOutputBuilder
impl Debug for AllocateHostsOutputBuilder
source§impl Default for AllocateHostsOutputBuilder
impl Default for AllocateHostsOutputBuilder
source§fn default() -> AllocateHostsOutputBuilder
fn default() -> AllocateHostsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AllocateHostsOutputBuilder> for AllocateHostsOutputBuilder
impl PartialEq<AllocateHostsOutputBuilder> for AllocateHostsOutputBuilder
source§fn eq(&self, other: &AllocateHostsOutputBuilder) -> bool
fn eq(&self, other: &AllocateHostsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AllocateHostsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AllocateHostsOutputBuilder
impl Send for AllocateHostsOutputBuilder
impl Sync for AllocateHostsOutputBuilder
impl Unpin for AllocateHostsOutputBuilder
impl UnwindSafe for AllocateHostsOutputBuilder
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