#[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 ==
.impl StructuralPartialEq for InferenceComponentStartupParametersBuilder
Auto Trait Implementations§
impl Freeze for InferenceComponentStartupParametersBuilder
impl RefUnwindSafe for InferenceComponentStartupParametersBuilder
impl Send for InferenceComponentStartupParametersBuilder
impl Sync for InferenceComponentStartupParametersBuilder
impl Unpin for InferenceComponentStartupParametersBuilder
impl UnwindSafe for InferenceComponentStartupParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more