#[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 ==
.