Struct aws_sdk_ec2::model::inference_device_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InferenceDeviceInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn count(self, input: i32) -> Self
pub fn count(self, input: i32) -> Self
The number of Inference accelerators for the instance type.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of Inference accelerators for the instance type.
sourcepub fn manufacturer(self, input: impl Into<String>) -> Self
pub fn manufacturer(self, input: impl Into<String>) -> Self
The manufacturer of the Inference accelerator.
sourcepub fn set_manufacturer(self, input: Option<String>) -> Self
pub fn set_manufacturer(self, input: Option<String>) -> Self
The manufacturer of the Inference accelerator.
sourcepub fn build(self) -> InferenceDeviceInfo
pub fn build(self) -> InferenceDeviceInfo
Consumes the builder and constructs a InferenceDeviceInfo
.