/* * 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; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeModelCardResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The Amazon Resource Name (ARN) of the model card. *

*/ private String modelCardArn; /** *

* The name of the model card. *

*/ private String modelCardName; /** *

* The version of the model card. *

*/ private Integer modelCardVersion; /** *

* The content of the model card. *

*/ 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; /** *

* The security configuration used to protect model card content. *

*/ private ModelCardSecurityConfig securityConfig; /** *

* The date and time the model card was created. *

*/ private java.util.Date creationTime; private UserContext createdBy; /** *

* The date and time the model card was last modified. *

*/ private java.util.Date lastModifiedTime; private UserContext lastModifiedBy; /** *

* The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the * different deletion steps. *

* */ private String modelCardProcessingStatus; /** *

* The Amazon Resource Name (ARN) of the model card. *

* * @param modelCardArn * The Amazon Resource Name (ARN) of the model card. */ public void setModelCardArn(String modelCardArn) { this.modelCardArn = modelCardArn; } /** *

* The Amazon Resource Name (ARN) of the model card. *

* * @return The Amazon Resource Name (ARN) of the model card. */ public String getModelCardArn() { return this.modelCardArn; } /** *

* The Amazon Resource Name (ARN) of the model card. *

* * @param modelCardArn * The Amazon Resource Name (ARN) of the model card. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelCardResult withModelCardArn(String modelCardArn) { setModelCardArn(modelCardArn); return this; } /** *

* The name of the model card. *

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

* The name of the model card. *

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

* The name of the model card. *

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

* The version of the model card. *

* * @param modelCardVersion * The version of the model card. */ public void setModelCardVersion(Integer modelCardVersion) { this.modelCardVersion = modelCardVersion; } /** *

* The version of the model card. *

* * @return The version of the model card. */ public Integer getModelCardVersion() { return this.modelCardVersion; } /** *

* The version of the model card. *

* * @param modelCardVersion * The version of the model card. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelCardResult withModelCardVersion(Integer modelCardVersion) { setModelCardVersion(modelCardVersion); return this; } /** *

* The content of the model card. *

* * @param content * The content of the model card. */ public void setContent(String content) { this.content = content; } /** *

* The content of the model card. *

* * @return The content of the model card. */ public String getContent() { return this.content; } /** *

* The content of the model card. *

* * @param content * The content of the model card. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelCardResult 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.

*