#[non_exhaustive]pub struct InferenceComponentStartupParametersBuilder { /* private fields */ }
Expand description
A builder for InferenceComponentStartupParameters
.
Implementations§
source§impl InferenceComponentStartupParametersBuilder
impl InferenceComponentStartupParametersBuilder
sourcepub fn model_data_download_timeout_in_seconds(self, input: i32) -> Self
pub fn model_data_download_timeout_in_seconds(self, input: i32) -> Self
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
sourcepub fn set_model_data_download_timeout_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_model_data_download_timeout_in_seconds( self, input: Option<i32> ) -> Self
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
sourcepub fn get_model_data_download_timeout_in_seconds(&self) -> &Option<i32>
pub fn get_model_data_download_timeout_in_seconds(&self) -> &Option<i32>
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
sourcepub fn container_startup_health_check_timeout_in_seconds(
self,
input: i32
) -> Self
pub fn container_startup_health_check_timeout_in_seconds( self, input: i32 ) -> Self
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.
sourcepub fn set_container_startup_health_check_timeout_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_container_startup_health_check_timeout_in_seconds( self, input: Option<i32> ) -> Self
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.
sourcepub fn get_container_startup_health_check_timeout_in_seconds(
&self
) -> &Option<i32>
pub fn get_container_startup_health_check_timeout_in_seconds( &self ) -> &Option<i32>
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.
sourcepub fn build(self) -> InferenceComponentStartupParameters
pub fn build(self) -> InferenceComponentStartupParameters
Consumes the builder and constructs a InferenceComponentStartupParameters
.
Trait Implementations§
source§impl Clone for InferenceComponentStartupParametersBuilder
impl Clone for InferenceComponentStartupParametersBuilder
source§fn clone(&self) -> InferenceComponentStartupParametersBuilder
fn clone(&self) -> InferenceComponentStartupParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InferenceComponentStartupParametersBuilder
impl Default for InferenceComponentStartupParametersBuilder
source§fn default() -> InferenceComponentStartupParametersBuilder
fn default() -> InferenceComponentStartupParametersBuilder
source§impl PartialEq for InferenceComponentStartupParametersBuilder
impl PartialEq for InferenceComponentStartupParametersBuilder
source§fn eq(&self, other: &InferenceComponentStartupParametersBuilder) -> bool
fn eq(&self, other: &InferenceComponentStartupParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.