pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchTemplateElasticInferenceAcceleratorResponse
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
sourcepub fn count(self, input: i32) -> Self
pub fn count(self, input: i32) -> Self
The number of elastic inference accelerators to attach to the instance.
Default: 1
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of elastic inference accelerators to attach to the instance.
Default: 1
sourcepub fn build(self) -> LaunchTemplateElasticInferenceAcceleratorResponse
pub fn build(self) -> LaunchTemplateElasticInferenceAcceleratorResponse
Consumes the builder and constructs a LaunchTemplateElasticInferenceAcceleratorResponse
.