/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A group of versioned models in the model registry. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ModelPackageGroup implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the model group. *

*/ private String modelPackageGroupName; /** *

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

*/ private String modelPackageGroupArn; /** *

* The description for the model group. *

*/ private String modelPackageGroupDescription; /** *

* The time that the model group was created. *

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

* The status of the model group. This can be one of the following values. *

* */ private String modelPackageGroupStatus; /** *

* A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources * in the Amazon Web Services General Reference Guide. *

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

* The name of the model group. *

* * @param modelPackageGroupName * The name of the model group. */ public void setModelPackageGroupName(String modelPackageGroupName) { this.modelPackageGroupName = modelPackageGroupName; } /** *

* The name of the model group. *

* * @return The name of the model group. */ public String getModelPackageGroupName() { return this.modelPackageGroupName; } /** *

* The name of the model group. *

* * @param modelPackageGroupName * The name of the model group. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelPackageGroup withModelPackageGroupName(String modelPackageGroupName) { setModelPackageGroupName(modelPackageGroupName); return this; } /** *

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

* * @param modelPackageGroupArn * The Amazon Resource Name (ARN) of the model group. */ public void setModelPackageGroupArn(String modelPackageGroupArn) { this.modelPackageGroupArn = modelPackageGroupArn; } /** *

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

* * @return The Amazon Resource Name (ARN) of the model group. */ public String getModelPackageGroupArn() { return this.modelPackageGroupArn; } /** *

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

* * @param modelPackageGroupArn * The Amazon Resource Name (ARN) of the model group. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelPackageGroup withModelPackageGroupArn(String modelPackageGroupArn) { setModelPackageGroupArn(modelPackageGroupArn); return this; } /** *

* The description for the model group. *

* * @param modelPackageGroupDescription * The description for the model group. */ public void setModelPackageGroupDescription(String modelPackageGroupDescription) { this.modelPackageGroupDescription = modelPackageGroupDescription; } /** *

* The description for the model group. *

* * @return The description for the model group. */ public String getModelPackageGroupDescription() { return this.modelPackageGroupDescription; } /** *

* The description for the model group. *

* * @param modelPackageGroupDescription * The description for the model group. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelPackageGroup withModelPackageGroupDescription(String modelPackageGroupDescription) { setModelPackageGroupDescription(modelPackageGroupDescription); return this; } /** *

* The time that the model group was created. *

* * @param creationTime * The time that the model group was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The time that the model group was created. *

* * @return The time that the model group was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The time that the model group was created. *

* * @param creationTime * The time that the model group was created. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelPackageGroup withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** * @param createdBy */ public void setCreatedBy(UserContext createdBy) { this.createdBy = createdBy; } /** * @return */ public UserContext getCreatedBy() { return this.createdBy; } /** * @param createdBy * @return Returns a reference to this object so that method calls can be chained together. */ public ModelPackageGroup withCreatedBy(UserContext createdBy) { setCreatedBy(createdBy); return this; } /** *

* The status of the model group. This can be one of the following values. *

* * * @param modelPackageGroupStatus * The status of the model group. This can be one of the following values.

*