pub struct Builder { /* private fields */ }
Expand description
A builder for RealTimeInferenceConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_type(self, input: InstanceType) -> Self
pub fn instance_type(self, input: InstanceType) -> Self
The instance type the model is deployed to.
sourcepub fn set_instance_type(self, input: Option<InstanceType>) -> Self
pub fn set_instance_type(self, input: Option<InstanceType>) -> Self
The instance type the model is deployed to.
sourcepub fn instance_count(self, input: i32) -> Self
pub fn instance_count(self, input: i32) -> Self
The number of instances of the type specified by InstanceType
.
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
The number of instances of the type specified by InstanceType
.
sourcepub fn build(self) -> RealTimeInferenceConfig
pub fn build(self) -> RealTimeInferenceConfig
Consumes the builder and constructs a RealTimeInferenceConfig
.