Struct aws_sdk_ec2::input::release_hosts_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReleaseHostsInput
.
Implementations§
source§impl Builder
impl Builder
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 IDs of the Dedicated Hosts to release.
sourcepub fn set_host_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_host_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the Dedicated Hosts to release.
sourcepub fn build(self) -> Result<ReleaseHostsInput, BuildError>
pub fn build(self) -> Result<ReleaseHostsInput, BuildError>
Consumes the builder and constructs a ReleaseHostsInput
.