#[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
impl StructuralPartialEq for AsyncInferenceConfigBuilder
Auto Trait Implementations§
impl Freeze for AsyncInferenceConfigBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.