#[non_exhaustive]pub struct ReleaseHostsOutputBuilder { /* private fields */ }
Expand description
A builder for ReleaseHostsOutput
.
Implementations§
source§impl ReleaseHostsOutputBuilder
impl ReleaseHostsOutputBuilder
sourcepub fn successful(self, input: impl Into<String>) -> Self
pub fn successful(self, input: impl Into<String>) -> Self
Appends an item to successful
.
To override the contents of this collection use set_successful
.
The IDs of the Dedicated Hosts that were successfully released.
sourcepub fn set_successful(self, input: Option<Vec<String>>) -> Self
pub fn set_successful(self, input: Option<Vec<String>>) -> Self
The IDs of the Dedicated Hosts that were successfully released.
sourcepub fn get_successful(&self) -> &Option<Vec<String>>
pub fn get_successful(&self) -> &Option<Vec<String>>
The IDs of the Dedicated Hosts that were successfully released.
sourcepub fn unsuccessful(self, input: UnsuccessfulItem) -> Self
pub fn unsuccessful(self, input: UnsuccessfulItem) -> Self
Appends an item to unsuccessful
.
To override the contents of this collection use set_unsuccessful
.
The IDs of the Dedicated Hosts that could not be released, including an error message.
sourcepub fn set_unsuccessful(self, input: Option<Vec<UnsuccessfulItem>>) -> Self
pub fn set_unsuccessful(self, input: Option<Vec<UnsuccessfulItem>>) -> Self
The IDs of the Dedicated Hosts that could not be released, including an error message.
sourcepub fn get_unsuccessful(&self) -> &Option<Vec<UnsuccessfulItem>>
pub fn get_unsuccessful(&self) -> &Option<Vec<UnsuccessfulItem>>
The IDs of the Dedicated Hosts that could not be released, including an error message.
sourcepub fn build(self) -> ReleaseHostsOutput
pub fn build(self) -> ReleaseHostsOutput
Consumes the builder and constructs a ReleaseHostsOutput
.
Trait Implementations§
source§impl Clone for ReleaseHostsOutputBuilder
impl Clone for ReleaseHostsOutputBuilder
source§fn clone(&self) -> ReleaseHostsOutputBuilder
fn clone(&self) -> ReleaseHostsOutputBuilder
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 ReleaseHostsOutputBuilder
impl Debug for ReleaseHostsOutputBuilder
source§impl Default for ReleaseHostsOutputBuilder
impl Default for ReleaseHostsOutputBuilder
source§fn default() -> ReleaseHostsOutputBuilder
fn default() -> ReleaseHostsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReleaseHostsOutputBuilder
impl PartialEq for ReleaseHostsOutputBuilder
source§fn eq(&self, other: &ReleaseHostsOutputBuilder) -> bool
fn eq(&self, other: &ReleaseHostsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReleaseHostsOutputBuilder
Auto Trait Implementations§
impl Freeze for ReleaseHostsOutputBuilder
impl RefUnwindSafe for ReleaseHostsOutputBuilder
impl Send for ReleaseHostsOutputBuilder
impl Sync for ReleaseHostsOutputBuilder
impl Unpin for ReleaseHostsOutputBuilder
impl UnwindSafe for ReleaseHostsOutputBuilder
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.