#[non_exhaustive]pub struct AsyncInferenceConfigBuilder { /* private fields */ }
Expand description
A builder for AsyncInferenceConfig
.
Implementations§
source§impl AsyncInferenceConfigBuilder
impl AsyncInferenceConfigBuilder
sourcepub fn client_config(self, input: AsyncInferenceClientConfig) -> Self
pub fn client_config(self, input: AsyncInferenceClientConfig) -> Self
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
sourcepub fn set_client_config(
self,
input: Option<AsyncInferenceClientConfig>
) -> Self
pub fn set_client_config( self, input: Option<AsyncInferenceClientConfig> ) -> Self
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
sourcepub fn get_client_config(&self) -> &Option<AsyncInferenceClientConfig>
pub fn get_client_config(&self) -> &Option<AsyncInferenceClientConfig>
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
sourcepub fn output_config(self, input: AsyncInferenceOutputConfig) -> Self
pub fn output_config(self, input: AsyncInferenceOutputConfig) -> Self
Specifies the configuration for asynchronous inference invocation outputs.
This field is required.sourcepub fn set_output_config(
self,
input: Option<AsyncInferenceOutputConfig>
) -> Self
pub fn set_output_config( self, input: Option<AsyncInferenceOutputConfig> ) -> Self
Specifies the configuration for asynchronous inference invocation outputs.
sourcepub fn get_output_config(&self) -> &Option<AsyncInferenceOutputConfig>
pub fn get_output_config(&self) -> &Option<AsyncInferenceOutputConfig>
Specifies the configuration for asynchronous inference invocation outputs.
sourcepub fn build(self) -> AsyncInferenceConfig
pub fn build(self) -> AsyncInferenceConfig
Consumes the builder and constructs a AsyncInferenceConfig
.
Trait Implementations§
source§impl Clone for AsyncInferenceConfigBuilder
impl Clone for AsyncInferenceConfigBuilder
source§fn clone(&self) -> AsyncInferenceConfigBuilder
fn clone(&self) -> AsyncInferenceConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AsyncInferenceConfigBuilder
impl Debug for AsyncInferenceConfigBuilder
source§impl Default for AsyncInferenceConfigBuilder
impl Default for AsyncInferenceConfigBuilder
source§fn default() -> AsyncInferenceConfigBuilder
fn default() -> AsyncInferenceConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AsyncInferenceConfigBuilder
impl PartialEq for AsyncInferenceConfigBuilder
source§fn eq(&self, other: &AsyncInferenceConfigBuilder) -> bool
fn eq(&self, other: &AsyncInferenceConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AsyncInferenceConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AsyncInferenceConfigBuilder
impl Send for AsyncInferenceConfigBuilder
impl Sync for AsyncInferenceConfigBuilder
impl Unpin for AsyncInferenceConfigBuilder
impl UnwindSafe for AsyncInferenceConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.