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

com.amazonaws.services.machinelearning.model.GetEvaluationResult Maven / Gradle / Ivy

Go to download

The AWS SDK for Java with support for OSGi. The AWS SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

There is a newer version: 1.11.60
Show newest version
/*
 * Copyright 2011-2016 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.machinelearning.model;

import java.io.Serializable;

/**
 * 

* Represents the output of a GetEvaluation operation and describes * an Evaluation. *

*/ public class GetEvaluationResult implements Serializable, Cloneable { /** *

* The evaluation ID which is same as the EvaluationId in the * request. *

*/ private String evaluationId; /** *

* The ID of the MLModel that was the focus of the evaluation. *

*/ private String mLModelId; /** *

* The DataSource used for this evaluation. *

*/ private String evaluationDataSourceId; /** *

* The location of the data file or directory in Amazon Simple Storage * Service (Amazon S3). *

*/ private String inputDataLocationS3; /** *

* The AWS user account that invoked the evaluation. The account type can be * either an AWS root account or an AWS Identity and Access Management (IAM) * user account. *

*/ private String createdByIamUser; /** *

* The time that the Evaluation was created. The time is * expressed in epoch time. *

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

* The time of the most recent edit to the BatchPrediction. The * time is expressed in epoch time. *

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

* A user-supplied name or description of the Evaluation. *

*/ private String name; /** *

* The status of the evaluation. This element can have one of the following * values: *

*
    *
  • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
  • *
  • INPROGRESS - The evaluation is underway.
  • *
  • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
  • *
  • COMPLETED - The evaluation process completed * successfully.
  • *
  • DELETED - The Evaluation is marked as * deleted. It is not usable.
  • *
*/ private String status; /** *

* Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel: *

*
    *
  • *

    * BinaryAUC: A binary MLModel uses the Area Under the Curve * (AUC) technique to measure performance. *

    *
  • *
  • *

    * RegressionRMSE: A regression MLModel uses the Root Mean * Square Error (RMSE) technique to measure performance. RMSE measures the * difference between predicted and actual values for a single variable. *

    *
  • *
  • *

    * MulticlassAvgFScore: A multiclass MLModel uses the F1 score * technique to measure performance. *

    *
  • *
*

* For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. *

*/ private PerformanceMetrics performanceMetrics; /** *

* A link to the file that contains logs of the * CreateEvaluation operation. *

*/ private String logUri; /** *

* A description of the most recent details about evaluating the * MLModel. *

*/ private String message; /** *

* The evaluation ID which is same as the EvaluationId in the * request. *

* * @param evaluationId * The evaluation ID which is same as the EvaluationId * in the request. */ public void setEvaluationId(String evaluationId) { this.evaluationId = evaluationId; } /** *

* The evaluation ID which is same as the EvaluationId in the * request. *

* * @return The evaluation ID which is same as the EvaluationId * in the request. */ public String getEvaluationId() { return this.evaluationId; } /** *

* The evaluation ID which is same as the EvaluationId in the * request. *

* * @param evaluationId * The evaluation ID which is same as the EvaluationId * in the request. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withEvaluationId(String evaluationId) { setEvaluationId(evaluationId); return this; } /** *

* The ID of the MLModel that was the focus of the evaluation. *

* * @param mLModelId * The ID of the MLModel that was the focus of the * evaluation. */ public void setMLModelId(String mLModelId) { this.mLModelId = mLModelId; } /** *

* The ID of the MLModel that was the focus of the evaluation. *

* * @return The ID of the MLModel that was the focus of the * evaluation. */ public String getMLModelId() { return this.mLModelId; } /** *

* The ID of the MLModel that was the focus of the evaluation. *

* * @param mLModelId * The ID of the MLModel that was the focus of the * evaluation. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withMLModelId(String mLModelId) { setMLModelId(mLModelId); return this; } /** *

* The DataSource used for this evaluation. *

* * @param evaluationDataSourceId * The DataSource used for this evaluation. */ public void setEvaluationDataSourceId(String evaluationDataSourceId) { this.evaluationDataSourceId = evaluationDataSourceId; } /** *

* The DataSource used for this evaluation. *

* * @return The DataSource used for this evaluation. */ public String getEvaluationDataSourceId() { return this.evaluationDataSourceId; } /** *

* The DataSource used for this evaluation. *

* * @param evaluationDataSourceId * The DataSource used for this evaluation. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withEvaluationDataSourceId( String evaluationDataSourceId) { setEvaluationDataSourceId(evaluationDataSourceId); return this; } /** *

* The location of the data file or directory in Amazon Simple Storage * Service (Amazon S3). *

* * @param inputDataLocationS3 * The location of the data file or directory in Amazon Simple * Storage Service (Amazon S3). */ public void setInputDataLocationS3(String inputDataLocationS3) { this.inputDataLocationS3 = inputDataLocationS3; } /** *

* The location of the data file or directory in Amazon Simple Storage * Service (Amazon S3). *

* * @return The location of the data file or directory in Amazon Simple * Storage Service (Amazon S3). */ public String getInputDataLocationS3() { return this.inputDataLocationS3; } /** *

* The location of the data file or directory in Amazon Simple Storage * Service (Amazon S3). *

* * @param inputDataLocationS3 * The location of the data file or directory in Amazon Simple * Storage Service (Amazon S3). * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withInputDataLocationS3( String inputDataLocationS3) { setInputDataLocationS3(inputDataLocationS3); return this; } /** *

* The AWS user account that invoked the evaluation. The account type can be * either an AWS root account or an AWS Identity and Access Management (IAM) * user account. *

* * @param createdByIamUser * The AWS user account that invoked the evaluation. The account type * can be either an AWS root account or an AWS Identity and Access * Management (IAM) user account. */ public void setCreatedByIamUser(String createdByIamUser) { this.createdByIamUser = createdByIamUser; } /** *

* The AWS user account that invoked the evaluation. The account type can be * either an AWS root account or an AWS Identity and Access Management (IAM) * user account. *

* * @return The AWS user account that invoked the evaluation. The account * type can be either an AWS root account or an AWS Identity and * Access Management (IAM) user account. */ public String getCreatedByIamUser() { return this.createdByIamUser; } /** *

* The AWS user account that invoked the evaluation. The account type can be * either an AWS root account or an AWS Identity and Access Management (IAM) * user account. *

* * @param createdByIamUser * The AWS user account that invoked the evaluation. The account type * can be either an AWS root account or an AWS Identity and Access * Management (IAM) user account. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withCreatedByIamUser(String createdByIamUser) { setCreatedByIamUser(createdByIamUser); return this; } /** *

* The time that the Evaluation was created. The time is * expressed in epoch time. *

* * @param createdAt * The time that the Evaluation was created. The time is * expressed in epoch time. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The time that the Evaluation was created. The time is * expressed in epoch time. *

* * @return The time that the Evaluation was created. The time * is expressed in epoch time. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The time that the Evaluation was created. The time is * expressed in epoch time. *

* * @param createdAt * The time that the Evaluation was created. The time is * expressed in epoch time. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The time of the most recent edit to the BatchPrediction. The * time is expressed in epoch time. *

* * @param lastUpdatedAt * The time of the most recent edit to the * BatchPrediction. The time is expressed in epoch time. */ public void setLastUpdatedAt(java.util.Date lastUpdatedAt) { this.lastUpdatedAt = lastUpdatedAt; } /** *

* The time of the most recent edit to the BatchPrediction. The * time is expressed in epoch time. *

* * @return The time of the most recent edit to the * BatchPrediction. The time is expressed in epoch * time. */ public java.util.Date getLastUpdatedAt() { return this.lastUpdatedAt; } /** *

* The time of the most recent edit to the BatchPrediction. The * time is expressed in epoch time. *

* * @param lastUpdatedAt * The time of the most recent edit to the * BatchPrediction. The time is expressed in epoch time. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withLastUpdatedAt(java.util.Date lastUpdatedAt) { setLastUpdatedAt(lastUpdatedAt); return this; } /** *

* A user-supplied name or description of the Evaluation. *

* * @param name * A user-supplied name or description of the Evaluation * . */ public void setName(String name) { this.name = name; } /** *

* A user-supplied name or description of the Evaluation. *

* * @return A user-supplied name or description of the * Evaluation. */ public String getName() { return this.name; } /** *

* A user-supplied name or description of the Evaluation. *

* * @param name * A user-supplied name or description of the Evaluation * . * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withName(String name) { setName(name); return this; } /** *

* The status of the evaluation. This element can have one of the following * values: *

*
    *
  • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
  • *
  • INPROGRESS - The evaluation is underway.
  • *
  • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
  • *
  • COMPLETED - The evaluation process completed * successfully.
  • *
  • DELETED - The Evaluation is marked as * deleted. It is not usable.
  • *
* * @param status * The status of the evaluation. This element can have one of the * following values:

*
    *
  • PENDING - Amazon Machine Language (Amazon ML) * submitted a request to evaluate an MLModel.
  • *
  • INPROGRESS - The evaluation is underway.
  • *
  • FAILED - The request to evaluate an * MLModel did not run to completion. It is not usable.
  • *
  • COMPLETED - The evaluation process completed * successfully.
  • *
  • DELETED - The Evaluation is marked * as deleted. It is not usable.
  • * @see EntityStatus */ public void setStatus(String status) { this.status = status; } /** *

    * The status of the evaluation. This element can have one of the following * values: *

    *
      *
    • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
    • *
    • INPROGRESS - The evaluation is underway.
    • *
    • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
    • *
    • COMPLETED - The evaluation process completed * successfully.
    • *
    • DELETED - The Evaluation is marked as * deleted. It is not usable.
    • *
    * * @return The status of the evaluation. This element can have one of the * following values:

    *
      *
    • PENDING - Amazon Machine Language (Amazon ML) * submitted a request to evaluate an MLModel.
    • *
    • INPROGRESS - The evaluation is underway.
    • *
    • FAILED - The request to evaluate an * MLModel did not run to completion. It is not usable. *
    • *
    • COMPLETED - The evaluation process completed * successfully.
    • *
    • DELETED - The Evaluation is marked * as deleted. It is not usable.
    • * @see EntityStatus */ public String getStatus() { return this.status; } /** *

      * The status of the evaluation. This element can have one of the following * values: *

      *
        *
      • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
      • *
      • INPROGRESS - The evaluation is underway.
      • *
      • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
      • *
      • COMPLETED - The evaluation process completed * successfully.
      • *
      • DELETED - The Evaluation is marked as * deleted. It is not usable.
      • *
      * * @param status * The status of the evaluation. This element can have one of the * following values:

      *
        *
      • PENDING - Amazon Machine Language (Amazon ML) * submitted a request to evaluate an MLModel.
      • *
      • INPROGRESS - The evaluation is underway.
      • *
      • FAILED - The request to evaluate an * MLModel did not run to completion. It is not usable.
      • *
      • COMPLETED - The evaluation process completed * successfully.
      • *
      • DELETED - The Evaluation is marked * as deleted. It is not usable.
      • * @return Returns a reference to this object so that method calls can be * chained together. * @see EntityStatus */ public GetEvaluationResult withStatus(String status) { setStatus(status); return this; } /** *

        * The status of the evaluation. This element can have one of the following * values: *

        *
          *
        • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
        • *
        • INPROGRESS - The evaluation is underway.
        • *
        • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
        • *
        • COMPLETED - The evaluation process completed * successfully.
        • *
        • DELETED - The Evaluation is marked as * deleted. It is not usable.
        • *
        * * @param status * The status of the evaluation. This element can have one of the * following values:

        *
          *
        • PENDING - Amazon Machine Language (Amazon ML) * submitted a request to evaluate an MLModel.
        • *
        • INPROGRESS - The evaluation is underway.
        • *
        • FAILED - The request to evaluate an * MLModel did not run to completion. It is not usable.
        • *
        • COMPLETED - The evaluation process completed * successfully.
        • *
        • DELETED - The Evaluation is marked * as deleted. It is not usable.
        • * @see EntityStatus */ public void setStatus(EntityStatus status) { this.status = status.toString(); } /** *

          * The status of the evaluation. This element can have one of the following * values: *

          *
            *
          • PENDING - Amazon Machine Language (Amazon ML) submitted * a request to evaluate an MLModel.
          • *
          • INPROGRESS - The evaluation is underway.
          • *
          • FAILED - The request to evaluate an MLModel * did not run to completion. It is not usable.
          • *
          • COMPLETED - The evaluation process completed * successfully.
          • *
          • DELETED - The Evaluation is marked as * deleted. It is not usable.
          • *
          * * @param status * The status of the evaluation. This element can have one of the * following values:

          *
            *
          • PENDING - Amazon Machine Language (Amazon ML) * submitted a request to evaluate an MLModel.
          • *
          • INPROGRESS - The evaluation is underway.
          • *
          • FAILED - The request to evaluate an * MLModel did not run to completion. It is not usable.
          • *
          • COMPLETED - The evaluation process completed * successfully.
          • *
          • DELETED - The Evaluation is marked * as deleted. It is not usable.
          • * @return Returns a reference to this object so that method calls can be * chained together. * @see EntityStatus */ public GetEvaluationResult withStatus(EntityStatus status) { setStatus(status); return this; } /** *

            * Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel: *

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the Curve * (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root Mean * Square Error (RMSE) technique to measure performance. RMSE measures the * difference between predicted and actual values for a single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the F1 score * technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. *

            * * @param performanceMetrics * Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel:

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the * Curve (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root * Mean Square Error (RMSE) technique to measure performance. RMSE * measures the difference between predicted and actual values for a * single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the F1 * score technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. */ public void setPerformanceMetrics(PerformanceMetrics performanceMetrics) { this.performanceMetrics = performanceMetrics; } /** *

            * Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel: *

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the Curve * (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root Mean * Square Error (RMSE) technique to measure performance. RMSE measures the * difference between predicted and actual values for a single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the F1 score * technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. *

            * * @return Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of * the following metric is returned based on the type of the * MLModel:

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the * Curve (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root * Mean Square Error (RMSE) technique to measure performance. RMSE * measures the difference between predicted and actual values for a * single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the * F1 score technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. */ public PerformanceMetrics getPerformanceMetrics() { return this.performanceMetrics; } /** *

            * Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel: *

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the Curve * (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root Mean * Square Error (RMSE) technique to measure performance. RMSE measures the * difference between predicted and actual values for a single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the F1 score * technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. *

            * * @param performanceMetrics * Measurements of how well the MLModel performed using * observations referenced by the DataSource. One of the * following metric is returned based on the type of the * MLModel:

            *
              *
            • *

              * BinaryAUC: A binary MLModel uses the Area Under the * Curve (AUC) technique to measure performance. *

              *
            • *
            • *

              * RegressionRMSE: A regression MLModel uses the Root * Mean Square Error (RMSE) technique to measure performance. RMSE * measures the difference between predicted and actual values for a * single variable. *

              *
            • *
            • *

              * MulticlassAvgFScore: A multiclass MLModel uses the F1 * score technique to measure performance. *

              *
            • *
            *

            * For more information about performance metrics, please see the Amazon * Machine Learning Developer Guide. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withPerformanceMetrics( PerformanceMetrics performanceMetrics) { setPerformanceMetrics(performanceMetrics); return this; } /** *

            * A link to the file that contains logs of the * CreateEvaluation operation. *

            * * @param logUri * A link to the file that contains logs of the * CreateEvaluation operation. */ public void setLogUri(String logUri) { this.logUri = logUri; } /** *

            * A link to the file that contains logs of the * CreateEvaluation operation. *

            * * @return A link to the file that contains logs of the * CreateEvaluation operation. */ public String getLogUri() { return this.logUri; } /** *

            * A link to the file that contains logs of the * CreateEvaluation operation. *

            * * @param logUri * A link to the file that contains logs of the * CreateEvaluation operation. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withLogUri(String logUri) { setLogUri(logUri); return this; } /** *

            * A description of the most recent details about evaluating the * MLModel. *

            * * @param message * A description of the most recent details about evaluating the * MLModel. */ public void setMessage(String message) { this.message = message; } /** *

            * A description of the most recent details about evaluating the * MLModel. *

            * * @return A description of the most recent details about evaluating the * MLModel. */ public String getMessage() { return this.message; } /** *

            * A description of the most recent details about evaluating the * MLModel. *

            * * @param message * A description of the most recent details about evaluating the * MLModel. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetEvaluationResult withMessage(String message) { setMessage(message); return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getEvaluationId() != null) sb.append("EvaluationId: " + getEvaluationId() + ","); if (getMLModelId() != null) sb.append("MLModelId: " + getMLModelId() + ","); if (getEvaluationDataSourceId() != null) sb.append("EvaluationDataSourceId: " + getEvaluationDataSourceId() + ","); if (getInputDataLocationS3() != null) sb.append("InputDataLocationS3: " + getInputDataLocationS3() + ","); if (getCreatedByIamUser() != null) sb.append("CreatedByIamUser: " + getCreatedByIamUser() + ","); if (getCreatedAt() != null) sb.append("CreatedAt: " + getCreatedAt() + ","); if (getLastUpdatedAt() != null) sb.append("LastUpdatedAt: " + getLastUpdatedAt() + ","); if (getName() != null) sb.append("Name: " + getName() + ","); if (getStatus() != null) sb.append("Status: " + getStatus() + ","); if (getPerformanceMetrics() != null) sb.append("PerformanceMetrics: " + getPerformanceMetrics() + ","); if (getLogUri() != null) sb.append("LogUri: " + getLogUri() + ","); if (getMessage() != null) sb.append("Message: " + getMessage()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetEvaluationResult == false) return false; GetEvaluationResult other = (GetEvaluationResult) obj; if (other.getEvaluationId() == null ^ this.getEvaluationId() == null) return false; if (other.getEvaluationId() != null && other.getEvaluationId().equals(this.getEvaluationId()) == false) return false; if (other.getMLModelId() == null ^ this.getMLModelId() == null) return false; if (other.getMLModelId() != null && other.getMLModelId().equals(this.getMLModelId()) == false) return false; if (other.getEvaluationDataSourceId() == null ^ this.getEvaluationDataSourceId() == null) return false; if (other.getEvaluationDataSourceId() != null && other.getEvaluationDataSourceId().equals( this.getEvaluationDataSourceId()) == false) return false; if (other.getInputDataLocationS3() == null ^ this.getInputDataLocationS3() == null) return false; if (other.getInputDataLocationS3() != null && other.getInputDataLocationS3().equals( this.getInputDataLocationS3()) == false) return false; if (other.getCreatedByIamUser() == null ^ this.getCreatedByIamUser() == null) return false; if (other.getCreatedByIamUser() != null && other.getCreatedByIamUser().equals( this.getCreatedByIamUser()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getLastUpdatedAt() == null ^ this.getLastUpdatedAt() == null) return false; if (other.getLastUpdatedAt() != null && other.getLastUpdatedAt().equals(this.getLastUpdatedAt()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getPerformanceMetrics() == null ^ this.getPerformanceMetrics() == null) return false; if (other.getPerformanceMetrics() != null && other.getPerformanceMetrics().equals( this.getPerformanceMetrics()) == false) return false; if (other.getLogUri() == null ^ this.getLogUri() == null) return false; if (other.getLogUri() != null && other.getLogUri().equals(this.getLogUri()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEvaluationId() == null) ? 0 : getEvaluationId() .hashCode()); hashCode = prime * hashCode + ((getMLModelId() == null) ? 0 : getMLModelId().hashCode()); hashCode = prime * hashCode + ((getEvaluationDataSourceId() == null) ? 0 : getEvaluationDataSourceId().hashCode()); hashCode = prime * hashCode + ((getInputDataLocationS3() == null) ? 0 : getInputDataLocationS3().hashCode()); hashCode = prime * hashCode + ((getCreatedByIamUser() == null) ? 0 : getCreatedByIamUser() .hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt() .hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getPerformanceMetrics() == null) ? 0 : getPerformanceMetrics().hashCode()); hashCode = prime * hashCode + ((getLogUri() == null) ? 0 : getLogUri().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); return hashCode; } @Override public GetEvaluationResult clone() { try { return (GetEvaluationResult) 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