pub struct Builder { /* private fields */ }
Expand description
A builder for ModelDashboardModelCard
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_card_arn(self, input: impl Into<String>) -> Self
pub fn model_card_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a model card.
sourcepub fn set_model_card_arn(self, input: Option<String>) -> Self
pub fn set_model_card_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a model card.
sourcepub fn model_card_name(self, input: impl Into<String>) -> Self
pub fn model_card_name(self, input: impl Into<String>) -> Self
The name of a model card.
sourcepub fn set_model_card_name(self, input: Option<String>) -> Self
pub fn set_model_card_name(self, input: Option<String>) -> Self
The name of a model card.
sourcepub fn model_card_version(self, input: i32) -> Self
pub fn model_card_version(self, input: i32) -> Self
The model card version.
sourcepub fn set_model_card_version(self, input: Option<i32>) -> Self
pub fn set_model_card_version(self, input: Option<i32>) -> Self
The model card version.
sourcepub fn model_card_status(self, input: ModelCardStatus) -> Self
pub fn model_card_status(self, input: ModelCardStatus) -> Self
The model card status.
sourcepub fn set_model_card_status(self, input: Option<ModelCardStatus>) -> Self
pub fn set_model_card_status(self, input: Option<ModelCardStatus>) -> Self
The model card status.
sourcepub fn security_config(self, input: ModelCardSecurityConfig) -> Self
pub fn security_config(self, input: ModelCardSecurityConfig) -> Self
The KMS Key ID (KMSKeyId
) for encryption of model card information.
sourcepub fn set_security_config(self, input: Option<ModelCardSecurityConfig>) -> Self
pub fn set_security_config(self, input: Option<ModelCardSecurityConfig>) -> Self
The KMS Key ID (KMSKeyId
) for encryption of model card information.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that indicates when the model card was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the model card was created.
sourcepub fn created_by(self, input: UserContext) -> Self
pub fn created_by(self, input: UserContext) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn set_created_by(self, input: Option<UserContext>) -> Self
pub fn set_created_by(self, input: Option<UserContext>) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A timestamp that indicates when the model card was last updated.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the model card was last updated.
sourcepub fn last_modified_by(self, input: UserContext) -> Self
pub fn last_modified_by(self, input: UserContext) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn set_last_modified_by(self, input: Option<UserContext>) -> Self
pub fn set_last_modified_by(self, input: Option<UserContext>) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags associated with a model card.
The tags associated with a model card.
sourcepub fn model_id(self, input: impl Into<String>) -> Self
pub fn model_id(self, input: impl Into<String>) -> Self
For models created in SageMaker, this is the model ARN. For models created outside of SageMaker, this is a user-customized string.
sourcepub fn set_model_id(self, input: Option<String>) -> Self
pub fn set_model_id(self, input: Option<String>) -> Self
For models created in SageMaker, this is the model ARN. For models created outside of SageMaker, this is a user-customized string.
sourcepub fn risk_rating(self, input: impl Into<String>) -> Self
pub fn risk_rating(self, input: impl Into<String>) -> Self
A model card's risk rating. Can be low, medium, or high.
sourcepub fn set_risk_rating(self, input: Option<String>) -> Self
pub fn set_risk_rating(self, input: Option<String>) -> Self
A model card's risk rating. Can be low, medium, or high.
sourcepub fn build(self) -> ModelDashboardModelCard
pub fn build(self) -> ModelDashboardModelCard
Consumes the builder and constructs a ModelDashboardModelCard
.