Struct aws_sdk_sagemaker::model::production_variant_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ProductionVariantStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: VariantStatus) -> Self
pub fn status(self, input: VariantStatus) -> Self
The endpoint variant status which describes the current deployment stage status or operational status.
-
Creating
: Creating inference resources for the production variant. -
Deleting
: Terminating inference resources for the production variant. -
Updating
: Updating capacity for the production variant. -
ActivatingTraffic
: Turning on traffic for the production variant. -
Baking
: Waiting period to monitor the CloudWatch alarms in the automatic rollback configuration.
sourcepub fn set_status(self, input: Option<VariantStatus>) -> Self
pub fn set_status(self, input: Option<VariantStatus>) -> Self
The endpoint variant status which describes the current deployment stage status or operational status.
-
Creating
: Creating inference resources for the production variant. -
Deleting
: Terminating inference resources for the production variant. -
Updating
: Updating capacity for the production variant. -
ActivatingTraffic
: Turning on traffic for the production variant. -
Baking
: Waiting period to monitor the CloudWatch alarms in the automatic rollback configuration.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A message that describes the status of the production variant.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A message that describes the status of the production variant.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the current status change.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the current status change.
sourcepub fn build(self) -> ProductionVariantStatus
pub fn build(self) -> ProductionVariantStatus
Consumes the builder and constructs a ProductionVariantStatus
.