All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.sagemaker.model.DescribeModelPackageResult Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 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 DescribeModelPackageResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* The name of the model package being described. *

*/ private String modelPackageName; /** *

* If the model is a versioned model, the name of the model group that the versioned model belongs to. *

*/ private String modelPackageGroupName; /** *

* The version of the model package. *

*/ private Integer modelPackageVersion; /** *

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

*/ private String modelPackageArn; /** *

* A brief summary of the model package. *

*/ private String modelPackageDescription; /** *

* A timestamp specifying when the model package was created. *

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

* Details about inference jobs that can be run with models based on this model package. *

*/ private InferenceSpecification inferenceSpecification; /** *

* Details about the algorithm that was used to create the model package. *

*/ private SourceAlgorithmSpecification sourceAlgorithmSpecification; /** *

* Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. *

*/ private ModelPackageValidationSpecification validationSpecification; /** *

* The current status of the model package. *

*/ private String modelPackageStatus; /** *

* Details about the current status of the model package. *

*/ private ModelPackageStatusDetails modelPackageStatusDetails; /** *

* Whether the model package is certified for listing on AWS Marketplace. *

*/ private Boolean certifyForMarketplace; /** *

* The approval status of the model package. *

*/ private String modelApprovalStatus; private UserContext createdBy; private MetadataProperties metadataProperties; /** *

* Metrics for the model. *

*/ private ModelMetrics modelMetrics; /** *

* The last time the model package was modified. *

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

* A description provided for the model approval. *

*/ private String approvalDescription; /** *

* The name of the model package being described. *

* * @param modelPackageName * The name of the model package being described. */ public void setModelPackageName(String modelPackageName) { this.modelPackageName = modelPackageName; } /** *

* The name of the model package being described. *

* * @return The name of the model package being described. */ public String getModelPackageName() { return this.modelPackageName; } /** *

* The name of the model package being described. *

* * @param modelPackageName * The name of the model package being described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageName(String modelPackageName) { setModelPackageName(modelPackageName); return this; } /** *

* If the model is a versioned model, the name of the model group that the versioned model belongs to. *

* * @param modelPackageGroupName * If the model is a versioned model, the name of the model group that the versioned model belongs to. */ public void setModelPackageGroupName(String modelPackageGroupName) { this.modelPackageGroupName = modelPackageGroupName; } /** *

* If the model is a versioned model, the name of the model group that the versioned model belongs to. *

* * @return If the model is a versioned model, the name of the model group that the versioned model belongs to. */ public String getModelPackageGroupName() { return this.modelPackageGroupName; } /** *

* If the model is a versioned model, the name of the model group that the versioned model belongs to. *

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

* The version of the model package. *

* * @param modelPackageVersion * The version of the model package. */ public void setModelPackageVersion(Integer modelPackageVersion) { this.modelPackageVersion = modelPackageVersion; } /** *

* The version of the model package. *

* * @return The version of the model package. */ public Integer getModelPackageVersion() { return this.modelPackageVersion; } /** *

* The version of the model package. *

* * @param modelPackageVersion * The version of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageVersion(Integer modelPackageVersion) { setModelPackageVersion(modelPackageVersion); return this; } /** *

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

* * @param modelPackageArn * The Amazon Resource Name (ARN) of the model package. */ public void setModelPackageArn(String modelPackageArn) { this.modelPackageArn = modelPackageArn; } /** *

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

* * @return The Amazon Resource Name (ARN) of the model package. */ public String getModelPackageArn() { return this.modelPackageArn; } /** *

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

* * @param modelPackageArn * The Amazon Resource Name (ARN) of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageArn(String modelPackageArn) { setModelPackageArn(modelPackageArn); return this; } /** *

* A brief summary of the model package. *

* * @param modelPackageDescription * A brief summary of the model package. */ public void setModelPackageDescription(String modelPackageDescription) { this.modelPackageDescription = modelPackageDescription; } /** *

* A brief summary of the model package. *

* * @return A brief summary of the model package. */ public String getModelPackageDescription() { return this.modelPackageDescription; } /** *

* A brief summary of the model package. *

* * @param modelPackageDescription * A brief summary of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageDescription(String modelPackageDescription) { setModelPackageDescription(modelPackageDescription); return this; } /** *

* A timestamp specifying when the model package was created. *

* * @param creationTime * A timestamp specifying when the model package was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* A timestamp specifying when the model package was created. *

* * @return A timestamp specifying when the model package was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* A timestamp specifying when the model package was created. *

* * @param creationTime * A timestamp specifying when the model package was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* Details about inference jobs that can be run with models based on this model package. *

* * @param inferenceSpecification * Details about inference jobs that can be run with models based on this model package. */ public void setInferenceSpecification(InferenceSpecification inferenceSpecification) { this.inferenceSpecification = inferenceSpecification; } /** *

* Details about inference jobs that can be run with models based on this model package. *

* * @return Details about inference jobs that can be run with models based on this model package. */ public InferenceSpecification getInferenceSpecification() { return this.inferenceSpecification; } /** *

* Details about inference jobs that can be run with models based on this model package. *

* * @param inferenceSpecification * Details about inference jobs that can be run with models based on this model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withInferenceSpecification(InferenceSpecification inferenceSpecification) { setInferenceSpecification(inferenceSpecification); return this; } /** *

* Details about the algorithm that was used to create the model package. *

* * @param sourceAlgorithmSpecification * Details about the algorithm that was used to create the model package. */ public void setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) { this.sourceAlgorithmSpecification = sourceAlgorithmSpecification; } /** *

* Details about the algorithm that was used to create the model package. *

* * @return Details about the algorithm that was used to create the model package. */ public SourceAlgorithmSpecification getSourceAlgorithmSpecification() { return this.sourceAlgorithmSpecification; } /** *

* Details about the algorithm that was used to create the model package. *

* * @param sourceAlgorithmSpecification * Details about the algorithm that was used to create the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) { setSourceAlgorithmSpecification(sourceAlgorithmSpecification); return this; } /** *

* Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. *

* * @param validationSpecification * Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. */ public void setValidationSpecification(ModelPackageValidationSpecification validationSpecification) { this.validationSpecification = validationSpecification; } /** *

* Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. *

* * @return Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. */ public ModelPackageValidationSpecification getValidationSpecification() { return this.validationSpecification; } /** *

* Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. *

* * @param validationSpecification * Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withValidationSpecification(ModelPackageValidationSpecification validationSpecification) { setValidationSpecification(validationSpecification); return this; } /** *

* The current status of the model package. *

* * @param modelPackageStatus * The current status of the model package. * @see ModelPackageStatus */ public void setModelPackageStatus(String modelPackageStatus) { this.modelPackageStatus = modelPackageStatus; } /** *

* The current status of the model package. *

* * @return The current status of the model package. * @see ModelPackageStatus */ public String getModelPackageStatus() { return this.modelPackageStatus; } /** *

* The current status of the model package. *

* * @param modelPackageStatus * The current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelPackageStatus */ public DescribeModelPackageResult withModelPackageStatus(String modelPackageStatus) { setModelPackageStatus(modelPackageStatus); return this; } /** *

* The current status of the model package. *

* * @param modelPackageStatus * The current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelPackageStatus */ public DescribeModelPackageResult withModelPackageStatus(ModelPackageStatus modelPackageStatus) { this.modelPackageStatus = modelPackageStatus.toString(); return this; } /** *

* Details about the current status of the model package. *

* * @param modelPackageStatusDetails * Details about the current status of the model package. */ public void setModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) { this.modelPackageStatusDetails = modelPackageStatusDetails; } /** *

* Details about the current status of the model package. *

* * @return Details about the current status of the model package. */ public ModelPackageStatusDetails getModelPackageStatusDetails() { return this.modelPackageStatusDetails; } /** *

* Details about the current status of the model package. *

* * @param modelPackageStatusDetails * Details about the current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) { setModelPackageStatusDetails(modelPackageStatusDetails); return this; } /** *

* Whether the model package is certified for listing on AWS Marketplace. *

* * @param certifyForMarketplace * Whether the model package is certified for listing on AWS Marketplace. */ public void setCertifyForMarketplace(Boolean certifyForMarketplace) { this.certifyForMarketplace = certifyForMarketplace; } /** *

* Whether the model package is certified for listing on AWS Marketplace. *

* * @return Whether the model package is certified for listing on AWS Marketplace. */ public Boolean getCertifyForMarketplace() { return this.certifyForMarketplace; } /** *

* Whether the model package is certified for listing on AWS Marketplace. *

* * @param certifyForMarketplace * Whether the model package is certified for listing on AWS Marketplace. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCertifyForMarketplace(Boolean certifyForMarketplace) { setCertifyForMarketplace(certifyForMarketplace); return this; } /** *

* Whether the model package is certified for listing on AWS Marketplace. *

* * @return Whether the model package is certified for listing on AWS Marketplace. */ public Boolean isCertifyForMarketplace() { return this.certifyForMarketplace; } /** *

* The approval status of the model package. *

* * @param modelApprovalStatus * The approval status of the model package. * @see ModelApprovalStatus */ public void setModelApprovalStatus(String modelApprovalStatus) { this.modelApprovalStatus = modelApprovalStatus; } /** *

* The approval status of the model package. *

* * @return The approval status of the model package. * @see ModelApprovalStatus */ public String getModelApprovalStatus() { return this.modelApprovalStatus; } /** *

* The approval status of the model package. *

* * @param modelApprovalStatus * The approval status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelApprovalStatus */ public DescribeModelPackageResult withModelApprovalStatus(String modelApprovalStatus) { setModelApprovalStatus(modelApprovalStatus); return this; } /** *

* The approval status of the model package. *

* * @param modelApprovalStatus * The approval status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelApprovalStatus */ public DescribeModelPackageResult withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus) { this.modelApprovalStatus = modelApprovalStatus.toString(); 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 DescribeModelPackageResult withCreatedBy(UserContext createdBy) { setCreatedBy(createdBy); return this; } /** * @param metadataProperties */ public void setMetadataProperties(MetadataProperties metadataProperties) { this.metadataProperties = metadataProperties; } /** * @return */ public MetadataProperties getMetadataProperties() { return this.metadataProperties; } /** * @param metadataProperties * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withMetadataProperties(MetadataProperties metadataProperties) { setMetadataProperties(metadataProperties); return this; } /** *

* Metrics for the model. *

* * @param modelMetrics * Metrics for the model. */ public void setModelMetrics(ModelMetrics modelMetrics) { this.modelMetrics = modelMetrics; } /** *

* Metrics for the model. *

* * @return Metrics for the model. */ public ModelMetrics getModelMetrics() { return this.modelMetrics; } /** *

* Metrics for the model. *

* * @param modelMetrics * Metrics for the model. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelMetrics(ModelMetrics modelMetrics) { setModelMetrics(modelMetrics); return this; } /** *

* The last time the model package was modified. *

* * @param lastModifiedTime * The last time the model package was modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* The last time the model package was modified. *

* * @return The last time the model package was modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

* The last time the model package was modified. *

* * @param lastModifiedTime * The last time the model package was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** * @param lastModifiedBy */ public void setLastModifiedBy(UserContext lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** * @return */ public UserContext getLastModifiedBy() { return this.lastModifiedBy; } /** * @param lastModifiedBy * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withLastModifiedBy(UserContext lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** *

* A description provided for the model approval. *

* * @param approvalDescription * A description provided for the model approval. */ public void setApprovalDescription(String approvalDescription) { this.approvalDescription = approvalDescription; } /** *

* A description provided for the model approval. *

* * @return A description provided for the model approval. */ public String getApprovalDescription() { return this.approvalDescription; } /** *

* A description provided for the model approval. *

* * @param approvalDescription * A description provided for the model approval. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withApprovalDescription(String approvalDescription) { setApprovalDescription(approvalDescription); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getModelPackageName() != null) sb.append("ModelPackageName: ").append(getModelPackageName()).append(","); if (getModelPackageGroupName() != null) sb.append("ModelPackageGroupName: ").append(getModelPackageGroupName()).append(","); if (getModelPackageVersion() != null) sb.append("ModelPackageVersion: ").append(getModelPackageVersion()).append(","); if (getModelPackageArn() != null) sb.append("ModelPackageArn: ").append(getModelPackageArn()).append(","); if (getModelPackageDescription() != null) sb.append("ModelPackageDescription: ").append(getModelPackageDescription()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getInferenceSpecification() != null) sb.append("InferenceSpecification: ").append(getInferenceSpecification()).append(","); if (getSourceAlgorithmSpecification() != null) sb.append("SourceAlgorithmSpecification: ").append(getSourceAlgorithmSpecification()).append(","); if (getValidationSpecification() != null) sb.append("ValidationSpecification: ").append(getValidationSpecification()).append(","); if (getModelPackageStatus() != null) sb.append("ModelPackageStatus: ").append(getModelPackageStatus()).append(","); if (getModelPackageStatusDetails() != null) sb.append("ModelPackageStatusDetails: ").append(getModelPackageStatusDetails()).append(","); if (getCertifyForMarketplace() != null) sb.append("CertifyForMarketplace: ").append(getCertifyForMarketplace()).append(","); if (getModelApprovalStatus() != null) sb.append("ModelApprovalStatus: ").append(getModelApprovalStatus()).append(","); if (getCreatedBy() != null) sb.append("CreatedBy: ").append(getCreatedBy()).append(","); if (getMetadataProperties() != null) sb.append("MetadataProperties: ").append(getMetadataProperties()).append(","); if (getModelMetrics() != null) sb.append("ModelMetrics: ").append(getModelMetrics()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getLastModifiedBy() != null) sb.append("LastModifiedBy: ").append(getLastModifiedBy()).append(","); if (getApprovalDescription() != null) sb.append("ApprovalDescription: ").append(getApprovalDescription()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeModelPackageResult == false) return false; DescribeModelPackageResult other = (DescribeModelPackageResult) obj; if (other.getModelPackageName() == null ^ this.getModelPackageName() == null) return false; if (other.getModelPackageName() != null && other.getModelPackageName().equals(this.getModelPackageName()) == false) return false; if (other.getModelPackageGroupName() == null ^ this.getModelPackageGroupName() == null) return false; if (other.getModelPackageGroupName() != null && other.getModelPackageGroupName().equals(this.getModelPackageGroupName()) == false) return false; if (other.getModelPackageVersion() == null ^ this.getModelPackageVersion() == null) return false; if (other.getModelPackageVersion() != null && other.getModelPackageVersion().equals(this.getModelPackageVersion()) == false) return false; if (other.getModelPackageArn() == null ^ this.getModelPackageArn() == null) return false; if (other.getModelPackageArn() != null && other.getModelPackageArn().equals(this.getModelPackageArn()) == false) return false; if (other.getModelPackageDescription() == null ^ this.getModelPackageDescription() == null) return false; if (other.getModelPackageDescription() != null && other.getModelPackageDescription().equals(this.getModelPackageDescription()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getInferenceSpecification() == null ^ this.getInferenceSpecification() == null) return false; if (other.getInferenceSpecification() != null && other.getInferenceSpecification().equals(this.getInferenceSpecification()) == false) return false; if (other.getSourceAlgorithmSpecification() == null ^ this.getSourceAlgorithmSpecification() == null) return false; if (other.getSourceAlgorithmSpecification() != null && other.getSourceAlgorithmSpecification().equals(this.getSourceAlgorithmSpecification()) == false) return false; if (other.getValidationSpecification() == null ^ this.getValidationSpecification() == null) return false; if (other.getValidationSpecification() != null && other.getValidationSpecification().equals(this.getValidationSpecification()) == false) return false; if (other.getModelPackageStatus() == null ^ this.getModelPackageStatus() == null) return false; if (other.getModelPackageStatus() != null && other.getModelPackageStatus().equals(this.getModelPackageStatus()) == false) return false; if (other.getModelPackageStatusDetails() == null ^ this.getModelPackageStatusDetails() == null) return false; if (other.getModelPackageStatusDetails() != null && other.getModelPackageStatusDetails().equals(this.getModelPackageStatusDetails()) == false) return false; if (other.getCertifyForMarketplace() == null ^ this.getCertifyForMarketplace() == null) return false; if (other.getCertifyForMarketplace() != null && other.getCertifyForMarketplace().equals(this.getCertifyForMarketplace()) == false) return false; if (other.getModelApprovalStatus() == null ^ this.getModelApprovalStatus() == null) return false; if (other.getModelApprovalStatus() != null && other.getModelApprovalStatus().equals(this.getModelApprovalStatus()) == false) return false; if (other.getCreatedBy() == null ^ this.getCreatedBy() == null) return false; if (other.getCreatedBy() != null && other.getCreatedBy().equals(this.getCreatedBy()) == false) return false; if (other.getMetadataProperties() == null ^ this.getMetadataProperties() == null) return false; if (other.getMetadataProperties() != null && other.getMetadataProperties().equals(this.getMetadataProperties()) == false) return false; if (other.getModelMetrics() == null ^ this.getModelMetrics() == null) return false; if (other.getModelMetrics() != null && other.getModelMetrics().equals(this.getModelMetrics()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getLastModifiedBy() == null ^ this.getLastModifiedBy() == null) return false; if (other.getLastModifiedBy() != null && other.getLastModifiedBy().equals(this.getLastModifiedBy()) == false) return false; if (other.getApprovalDescription() == null ^ this.getApprovalDescription() == null) return false; if (other.getApprovalDescription() != null && other.getApprovalDescription().equals(this.getApprovalDescription()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getModelPackageName() == null) ? 0 : getModelPackageName().hashCode()); hashCode = prime * hashCode + ((getModelPackageGroupName() == null) ? 0 : getModelPackageGroupName().hashCode()); hashCode = prime * hashCode + ((getModelPackageVersion() == null) ? 0 : getModelPackageVersion().hashCode()); hashCode = prime * hashCode + ((getModelPackageArn() == null) ? 0 : getModelPackageArn().hashCode()); hashCode = prime * hashCode + ((getModelPackageDescription() == null) ? 0 : getModelPackageDescription().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getInferenceSpecification() == null) ? 0 : getInferenceSpecification().hashCode()); hashCode = prime * hashCode + ((getSourceAlgorithmSpecification() == null) ? 0 : getSourceAlgorithmSpecification().hashCode()); hashCode = prime * hashCode + ((getValidationSpecification() == null) ? 0 : getValidationSpecification().hashCode()); hashCode = prime * hashCode + ((getModelPackageStatus() == null) ? 0 : getModelPackageStatus().hashCode()); hashCode = prime * hashCode + ((getModelPackageStatusDetails() == null) ? 0 : getModelPackageStatusDetails().hashCode()); hashCode = prime * hashCode + ((getCertifyForMarketplace() == null) ? 0 : getCertifyForMarketplace().hashCode()); hashCode = prime * hashCode + ((getModelApprovalStatus() == null) ? 0 : getModelApprovalStatus().hashCode()); hashCode = prime * hashCode + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode()); hashCode = prime * hashCode + ((getMetadataProperties() == null) ? 0 : getMetadataProperties().hashCode()); hashCode = prime * hashCode + ((getModelMetrics() == null) ? 0 : getModelMetrics().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedBy() == null) ? 0 : getLastModifiedBy().hashCode()); hashCode = prime * hashCode + ((getApprovalDescription() == null) ? 0 : getApprovalDescription().hashCode()); return hashCode; } @Override public DescribeModelPackageResult clone() { try { return (DescribeModelPackageResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy