Struct aws_sdk_sagemaker::operation::create_model_card::builders::CreateModelCardInputBuilder
source · #[non_exhaustive]pub struct CreateModelCardInputBuilder { /* private fields */ }Expand description
A builder for CreateModelCardInput.
Implementations§
source§impl CreateModelCardInputBuilder
impl CreateModelCardInputBuilder
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.
Trait Implementations§
source§impl Clone for CreateModelCardInputBuilder
impl Clone for CreateModelCardInputBuilder
source§fn clone(&self) -> CreateModelCardInputBuilder
fn clone(&self) -> CreateModelCardInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateModelCardInputBuilder
impl Debug for CreateModelCardInputBuilder
source§impl Default for CreateModelCardInputBuilder
impl Default for CreateModelCardInputBuilder
source§fn default() -> CreateModelCardInputBuilder
fn default() -> CreateModelCardInputBuilder
source§impl PartialEq<CreateModelCardInputBuilder> for CreateModelCardInputBuilder
impl PartialEq<CreateModelCardInputBuilder> for CreateModelCardInputBuilder
source§fn eq(&self, other: &CreateModelCardInputBuilder) -> bool
fn eq(&self, other: &CreateModelCardInputBuilder) -> bool
self and other values to be equal, and is used
by ==.