Struct aws_sdk_ec2::model::host_instance::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HostInstance
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of instance that is running on the Dedicated Host.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of instance that is running on the Dedicated Host.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type (for example, m3.medium
) of the running instance.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type (for example, m3.medium
) of the running instance.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the instance.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the instance.
sourcepub fn build(self) -> HostInstance
pub fn build(self) -> HostInstance
Consumes the builder and constructs a HostInstance
.