Struct aws_sdk_ec2::output::modify_hosts_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyHostsOutput
.
Implementations§
source§impl Builder
impl Builder
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 modified.
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 modified.
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 modified. Check whether the setting you requested can be used.
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 modified. Check whether the setting you requested can be used.
sourcepub fn build(self) -> ModifyHostsOutput
pub fn build(self) -> ModifyHostsOutput
Consumes the builder and constructs a ModifyHostsOutput
.