#[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 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 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<ReleaseHostsOutputBuilder> for ReleaseHostsOutputBuilder
impl PartialEq<ReleaseHostsOutputBuilder> 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 ==.