Struct aws_sdk_sagemaker::input::create_model_card_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateModelCardInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_card_name(self, input: impl Into<String>) -> Self
pub fn model_card_name(self, input: impl Into<String>) -> Self
The unique name of the 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 unique name of the model card.
sourcepub fn security_config(self, input: ModelCardSecurityConfig) -> Self
pub fn security_config(self, input: ModelCardSecurityConfig) -> Self
An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
sourcepub fn set_security_config(self, input: Option<ModelCardSecurityConfig>) -> Self
pub fn set_security_config(self, input: Option<ModelCardSecurityConfig>) -> Self
An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The content of the model card. Content must be in model card JSON schema and provided as a string.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of the model card. Content must be in model card JSON schema and provided as a string.
sourcepub fn model_card_status(self, input: ModelCardStatus) -> Self
pub fn model_card_status(self, input: ModelCardStatus) -> Self
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
sourcepub fn set_model_card_status(self, input: Option<ModelCardStatus>) -> Self
pub fn set_model_card_status(self, input: Option<ModelCardStatus>) -> Self
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Key-value pairs used to manage metadata for model cards.
Key-value pairs used to manage metadata for model cards.
sourcepub fn build(self) -> Result<CreateModelCardInput, BuildError>
pub fn build(self) -> Result<CreateModelCardInput, BuildError>
Consumes the builder and constructs a CreateModelCardInput
.