/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateModelCardRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The unique name of the model card. *

*/ private String modelCardName; /** *

* An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated * workloads with highly sensitive data. *

*/ private ModelCardSecurityConfig securityConfig; /** *

* The content of the model card. Content must be in model card JSON * schema and provided as a string. *

*/ private String content; /** *

* The approval status of the model card within your organization. Different organizations might have different * criteria for model card review and approval. *

* */ private String modelCardStatus; /** *

* Key-value pairs used to manage metadata for model cards. *

*/ private java.util.List tags; /** *

* The unique name of the model card. *

* * @param modelCardName * The unique name of the model card. */ public void setModelCardName(String modelCardName) { this.modelCardName = modelCardName; } /** *

* The unique name of the model card. *

* * @return The unique name of the model card. */ public String getModelCardName() { return this.modelCardName; } /** *

* The unique name of the model card. *

* * @param modelCardName * The unique name of the model card. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateModelCardRequest withModelCardName(String modelCardName) { setModelCardName(modelCardName); return this; } /** *

* An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated * workloads with highly sensitive data. *

* * @param securityConfig * An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for * regulated workloads with highly sensitive data. */ public void setSecurityConfig(ModelCardSecurityConfig securityConfig) { this.securityConfig = securityConfig; } /** *

* An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated * workloads with highly sensitive data. *

* * @return An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for * regulated workloads with highly sensitive data. */ public ModelCardSecurityConfig getSecurityConfig() { return this.securityConfig; } /** *

* An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated * workloads with highly sensitive data. *

* * @param securityConfig * An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for * regulated workloads with highly sensitive data. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateModelCardRequest withSecurityConfig(ModelCardSecurityConfig securityConfig) { setSecurityConfig(securityConfig); return this; } /** *

* The content of the model card. Content must be in model card JSON * schema and provided as a string. *

* * @param content * The content of the model card. Content must be in model card * JSON schema and provided as a string. */ public void setContent(String content) { this.content = content; } /** *

* The content of the model card. Content must be in model card JSON * schema and provided as a string. *

* * @return The content of the model card. Content must be in model * card JSON schema and provided as a string. */ public String getContent() { return this.content; } /** *

* The content of the model card. Content must be in model card JSON * schema and provided as a string. *

* * @param content * The content of the model card. Content must be in model card * JSON schema and provided as a string. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateModelCardRequest withContent(String content) { setContent(content); return this; } /** *

* The approval status of the model card within your organization. Different organizations might have different * criteria for model card review and approval. *

* * * @param modelCardStatus * The approval status of the model card within your organization. Different organizations might have * different criteria for model card review and approval.

*