#[non_exhaustive]pub struct AsyncInferenceOutputConfigBuilder { /* private fields */ }
Expand description
A builder for AsyncInferenceOutputConfig
.
Implementations§
source§impl AsyncInferenceOutputConfigBuilder
impl AsyncInferenceOutputConfigBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
sourcepub fn s3_output_path(self, input: impl Into<String>) -> Self
pub fn s3_output_path(self, input: impl Into<String>) -> Self
The Amazon S3 location to upload inference responses to.
sourcepub fn set_s3_output_path(self, input: Option<String>) -> Self
pub fn set_s3_output_path(self, input: Option<String>) -> Self
The Amazon S3 location to upload inference responses to.
sourcepub fn get_s3_output_path(&self) -> &Option<String>
pub fn get_s3_output_path(&self) -> &Option<String>
The Amazon S3 location to upload inference responses to.
sourcepub fn notification_config(
self,
input: AsyncInferenceNotificationConfig,
) -> Self
pub fn notification_config( self, input: AsyncInferenceNotificationConfig, ) -> Self
Specifies the configuration for notifications of inference results for asynchronous inference.
sourcepub fn set_notification_config(
self,
input: Option<AsyncInferenceNotificationConfig>,
) -> Self
pub fn set_notification_config( self, input: Option<AsyncInferenceNotificationConfig>, ) -> Self
Specifies the configuration for notifications of inference results for asynchronous inference.
sourcepub fn get_notification_config(
&self,
) -> &Option<AsyncInferenceNotificationConfig>
pub fn get_notification_config( &self, ) -> &Option<AsyncInferenceNotificationConfig>
Specifies the configuration for notifications of inference results for asynchronous inference.
sourcepub fn s3_failure_path(self, input: impl Into<String>) -> Self
pub fn s3_failure_path(self, input: impl Into<String>) -> Self
The Amazon S3 location to upload failure inference responses to.
sourcepub fn set_s3_failure_path(self, input: Option<String>) -> Self
pub fn set_s3_failure_path(self, input: Option<String>) -> Self
The Amazon S3 location to upload failure inference responses to.
sourcepub fn get_s3_failure_path(&self) -> &Option<String>
pub fn get_s3_failure_path(&self) -> &Option<String>
The Amazon S3 location to upload failure inference responses to.
sourcepub fn build(self) -> AsyncInferenceOutputConfig
pub fn build(self) -> AsyncInferenceOutputConfig
Consumes the builder and constructs a AsyncInferenceOutputConfig
.
Trait Implementations§
source§impl Clone for AsyncInferenceOutputConfigBuilder
impl Clone for AsyncInferenceOutputConfigBuilder
source§fn clone(&self) -> AsyncInferenceOutputConfigBuilder
fn clone(&self) -> AsyncInferenceOutputConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AsyncInferenceOutputConfigBuilder
impl Default for AsyncInferenceOutputConfigBuilder
source§fn default() -> AsyncInferenceOutputConfigBuilder
fn default() -> AsyncInferenceOutputConfigBuilder
source§impl PartialEq for AsyncInferenceOutputConfigBuilder
impl PartialEq for AsyncInferenceOutputConfigBuilder
source§fn eq(&self, other: &AsyncInferenceOutputConfigBuilder) -> bool
fn eq(&self, other: &AsyncInferenceOutputConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AsyncInferenceOutputConfigBuilder
Auto Trait Implementations§
impl Freeze for AsyncInferenceOutputConfigBuilder
impl RefUnwindSafe for AsyncInferenceOutputConfigBuilder
impl Send for AsyncInferenceOutputConfigBuilder
impl Sync for AsyncInferenceOutputConfigBuilder
impl Unpin for AsyncInferenceOutputConfigBuilder
impl UnwindSafe for AsyncInferenceOutputConfigBuilder
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