Struct aws_sdk_sagemaker::operation::describe_inference_experiment::builders::DescribeInferenceExperimentOutputBuilder
source · #[non_exhaustive]pub struct DescribeInferenceExperimentOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeInferenceExperimentOutput
.
Implementations§
source§impl DescribeInferenceExperimentOutputBuilder
impl DescribeInferenceExperimentOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the inference experiment being described.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the inference experiment being described.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the inference experiment.
This field is required.sourcepub fn type(self, input: InferenceExperimentType) -> Self
pub fn type(self, input: InferenceExperimentType) -> Self
The type of the inference experiment.
This field is required.sourcepub fn set_type(self, input: Option<InferenceExperimentType>) -> Self
pub fn set_type(self, input: Option<InferenceExperimentType>) -> Self
The type of the inference experiment.
sourcepub fn get_type(&self) -> &Option<InferenceExperimentType>
pub fn get_type(&self) -> &Option<InferenceExperimentType>
The type of the inference experiment.
sourcepub fn schedule(self, input: InferenceExperimentSchedule) -> Self
pub fn schedule(self, input: InferenceExperimentSchedule) -> Self
The duration for which the inference experiment ran or will run.
sourcepub fn set_schedule(self, input: Option<InferenceExperimentSchedule>) -> Self
pub fn set_schedule(self, input: Option<InferenceExperimentSchedule>) -> Self
The duration for which the inference experiment ran or will run.
sourcepub fn get_schedule(&self) -> &Option<InferenceExperimentSchedule>
pub fn get_schedule(&self) -> &Option<InferenceExperimentSchedule>
The duration for which the inference experiment ran or will run.
sourcepub fn status(self, input: InferenceExperimentStatus) -> Self
pub fn status(self, input: InferenceExperimentStatus) -> Self
The status of the inference experiment. The following are the possible statuses for an inference experiment:
-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
sourcepub fn set_status(self, input: Option<InferenceExperimentStatus>) -> Self
pub fn set_status(self, input: Option<InferenceExperimentStatus>) -> Self
The status of the inference experiment. The following are the possible statuses for an inference experiment:
-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
sourcepub fn get_status(&self) -> &Option<InferenceExperimentStatus>
pub fn get_status(&self) -> &Option<InferenceExperimentStatus>
The status of the inference experiment. The following are the possible statuses for an inference experiment:
-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The error message or client-specified Reason
from the StopInferenceExperiment API, that explains the status of the inference experiment.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The error message or client-specified Reason
from the StopInferenceExperiment API, that explains the status of the inference experiment.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The error message or client-specified Reason
from the StopInferenceExperiment API, that explains the status of the inference experiment.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the inference experiment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the inference experiment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the inference experiment.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp at which you created the inference experiment.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp at which you created the inference experiment.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp at which you created the inference experiment.
sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
The timestamp at which the inference experiment was completed.
sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
The timestamp at which the inference experiment was completed.
sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
The timestamp at which the inference experiment was completed.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp at which you last modified the inference experiment.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp at which you last modified the inference experiment.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp at which you last modified the inference experiment.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.
sourcepub fn endpoint_metadata(self, input: EndpointMetadata) -> Self
pub fn endpoint_metadata(self, input: EndpointMetadata) -> Self
The metadata of the endpoint on which the inference experiment ran.
This field is required.sourcepub fn set_endpoint_metadata(self, input: Option<EndpointMetadata>) -> Self
pub fn set_endpoint_metadata(self, input: Option<EndpointMetadata>) -> Self
The metadata of the endpoint on which the inference experiment ran.
sourcepub fn get_endpoint_metadata(&self) -> &Option<EndpointMetadata>
pub fn get_endpoint_metadata(&self) -> &Option<EndpointMetadata>
The metadata of the endpoint on which the inference experiment ran.
sourcepub fn model_variants(self, input: ModelVariantConfigSummary) -> Self
pub fn model_variants(self, input: ModelVariantConfigSummary) -> Self
Appends an item to model_variants
.
To override the contents of this collection use set_model_variants
.
An array of ModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.
sourcepub fn set_model_variants(
self,
input: Option<Vec<ModelVariantConfigSummary>>
) -> Self
pub fn set_model_variants( self, input: Option<Vec<ModelVariantConfigSummary>> ) -> Self
An array of ModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.
sourcepub fn get_model_variants(&self) -> &Option<Vec<ModelVariantConfigSummary>>
pub fn get_model_variants(&self) -> &Option<Vec<ModelVariantConfigSummary>>
An array of ModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.
sourcepub fn data_storage_config(
self,
input: InferenceExperimentDataStorageConfig
) -> Self
pub fn data_storage_config( self, input: InferenceExperimentDataStorageConfig ) -> Self
The Amazon S3 location and configuration for storing inference request and response data.
sourcepub fn set_data_storage_config(
self,
input: Option<InferenceExperimentDataStorageConfig>
) -> Self
pub fn set_data_storage_config( self, input: Option<InferenceExperimentDataStorageConfig> ) -> Self
The Amazon S3 location and configuration for storing inference request and response data.
sourcepub fn get_data_storage_config(
&self
) -> &Option<InferenceExperimentDataStorageConfig>
pub fn get_data_storage_config( &self ) -> &Option<InferenceExperimentDataStorageConfig>
The Amazon S3 location and configuration for storing inference request and response data.
sourcepub fn shadow_mode_config(self, input: ShadowModeConfig) -> Self
pub fn shadow_mode_config(self, input: ShadowModeConfig) -> Self
The configuration of ShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.
sourcepub fn set_shadow_mode_config(self, input: Option<ShadowModeConfig>) -> Self
pub fn set_shadow_mode_config(self, input: Option<ShadowModeConfig>) -> Self
The configuration of ShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.
sourcepub fn get_shadow_mode_config(&self) -> &Option<ShadowModeConfig>
pub fn get_shadow_mode_config(&self) -> &Option<ShadowModeConfig>
The configuration of ShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.
sourcepub fn kms_key(self, input: impl Into<String>) -> Self
pub fn kms_key(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.
sourcepub fn set_kms_key(self, input: Option<String>) -> Self
pub fn set_kms_key(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.
sourcepub fn get_kms_key(&self) -> &Option<String>
pub fn get_kms_key(&self) -> &Option<String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.
sourcepub fn build(self) -> DescribeInferenceExperimentOutput
pub fn build(self) -> DescribeInferenceExperimentOutput
Consumes the builder and constructs a DescribeInferenceExperimentOutput
.
Trait Implementations§
source§impl Clone for DescribeInferenceExperimentOutputBuilder
impl Clone for DescribeInferenceExperimentOutputBuilder
source§fn clone(&self) -> DescribeInferenceExperimentOutputBuilder
fn clone(&self) -> DescribeInferenceExperimentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeInferenceExperimentOutputBuilder
impl Default for DescribeInferenceExperimentOutputBuilder
source§fn default() -> DescribeInferenceExperimentOutputBuilder
fn default() -> DescribeInferenceExperimentOutputBuilder
source§impl PartialEq for DescribeInferenceExperimentOutputBuilder
impl PartialEq for DescribeInferenceExperimentOutputBuilder
source§fn eq(&self, other: &DescribeInferenceExperimentOutputBuilder) -> bool
fn eq(&self, other: &DescribeInferenceExperimentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.