pub struct Builder { /* private fields */ }
Expand description
A builder for InferenceExperimentSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: InferenceExperimentType) -> Self
pub fn type(self, input: InferenceExperimentType) -> Self
The type of the inference experiment.
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 schedule(self, input: InferenceExperimentSchedule) -> Self
pub fn schedule(self, input: InferenceExperimentSchedule) -> Self
The duration for which the inference experiment ran or will run.
The maximum duration that you can set for an inference experiment is 30 days.
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.
The maximum duration that you can set for an inference experiment is 30 days.
sourcepub fn status(self, input: InferenceExperimentStatus) -> Self
pub fn status(self, input: InferenceExperimentStatus) -> Self
The status of the inference experiment.
sourcepub fn set_status(self, input: Option<InferenceExperimentStatus>) -> Self
pub fn set_status(self, input: Option<InferenceExperimentStatus>) -> Self
The status of the inference experiment.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The error message for the inference experiment status result.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The error message for the inference experiment status result.
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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp at which the inference experiment was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp at which the inference experiment was created.
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 last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when 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 when 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 build(self) -> InferenceExperimentSummary
pub fn build(self) -> InferenceExperimentSummary
Consumes the builder and constructs a InferenceExperimentSummary
.