Struct aws_sdk_ec2::model::inference_accelerator_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InferenceAcceleratorInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn accelerators(self, input: InferenceDeviceInfo) -> Self
pub fn accelerators(self, input: InferenceDeviceInfo) -> Self
Appends an item to accelerators
.
To override the contents of this collection use set_accelerators
.
Describes the Inference accelerators for the instance type.
sourcepub fn set_accelerators(self, input: Option<Vec<InferenceDeviceInfo>>) -> Self
pub fn set_accelerators(self, input: Option<Vec<InferenceDeviceInfo>>) -> Self
Describes the Inference accelerators for the instance type.
sourcepub fn build(self) -> InferenceAcceleratorInfo
pub fn build(self) -> InferenceAcceleratorInfo
Consumes the builder and constructs a InferenceAcceleratorInfo
.