Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 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;
 

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

 
 public class GetEvaluationResult implements SerializableCloneable {

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

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

 
     private String evaluationId;

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

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

 
     private String mLModelId;

    
The DataSource used for this evaluation.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

 
     private String evaluationDataSourceId;

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

Constraints:
Length: 0 - 2048
Pattern: 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.

Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))

 
     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.

Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$

 
     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.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

    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.

Constraints:
Length: 0 - 10240

    private String message;

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

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Returns:
The evaluation ID which is same as the EvaluationId in the request.
    public String getEvaluationId() {
        return ;
    }
    
    
The evaluation ID which is same as the EvaluationId in the request.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Parameters:
evaluationId The evaluation ID which is same as the EvaluationId in the request.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withEvaluationId(String evaluationId) {
        this. = evaluationId;
        return this;
    }

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

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Returns:
The ID of the MLModel that was the focus of the evaluation.
    public String getMLModelId() {
        return ;
    }
    
    
The ID of the MLModel that was the focus of the evaluation.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Parameters:
mLModelId The ID of the MLModel that was the focus of the evaluation.
    public void setMLModelId(String mLModelId) {
        this. = mLModelId;
    }
    
    
The ID of the MLModel that was the focus of the evaluation.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Parameters:
mLModelId The ID of the MLModel that was the focus of the evaluation.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withMLModelId(String mLModelId) {
        this. = mLModelId;
        return this;
    }

    
The DataSource used for this evaluation.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Returns:
The DataSource used for this evaluation.
    public String getEvaluationDataSourceId() {
        return ;
    }
    
    
The DataSource used for this evaluation.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Parameters:
evaluationDataSourceId The DataSource used for this evaluation.
    public void setEvaluationDataSourceId(String evaluationDataSourceId) {
        this. = evaluationDataSourceId;
    }
    
    
The DataSource used for this evaluation.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+

Parameters:
evaluationDataSourceId The DataSource used for this evaluation.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withEvaluationDataSourceId(String evaluationDataSourceId) {
        this. = evaluationDataSourceId;
        return this;
    }

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

Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?

Returns:
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
    public String getInputDataLocationS3() {
        return ;
    }
    
    
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).

Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?

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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?

Parameters:
inputDataLocationS3 The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withInputDataLocationS3(String inputDataLocationS3) {
        this. = 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.

Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))

Returns:
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 ;
    }
    
    
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.

Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))

Parameters:
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;
    }
    
    
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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withCreatedByIamUser(String createdByIamUser) {
        this. = createdByIamUser;
        return this;
    }

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

Returns:
The time that the Evaluation was created. The time is expressed in epoch time.
    public java.util.Date getCreatedAt() {
        return ;
    }
    
    
The time that the Evaluation was created. The time is expressed in epoch time.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdAt The time that the Evaluation was created. The time is expressed in epoch time.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withCreatedAt(java.util.Date createdAt) {
        this. = createdAt;
        return this;
    }

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

Returns:
The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
    public java.util.Date getLastUpdatedAt() {
        return ;
    }
    
    
The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

Parameters:
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;
    }
    
    
The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastUpdatedAt The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withLastUpdatedAt(java.util.Date lastUpdatedAt) {
        this. = lastUpdatedAt;
        return this;
    }

    
A user-supplied name or description of the Evaluation.

Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$

Returns:
A user-supplied name or description of the Evaluation.
    public String getName() {
        return ;
    }
    
    
A user-supplied name or description of the Evaluation.

Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$

Parameters:
name A user-supplied name or description of the Evaluation.
    public void setName(String name) {
        this. = name;
    }
    
    
A user-supplied name or description of the Evaluation.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$

Parameters:
name A user-supplied name or description of the Evaluation.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withName(String name) {
        this. = 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.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

Returns:
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 also:
EntityStatus
    public String getStatus() {
        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.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

Parameters:
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 also:
EntityStatus
    public void setStatus(String status) {
        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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
EntityStatus
    public GetEvaluationResult withStatus(String status) {
        this. = 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.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

Parameters:
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 also:
EntityStatus
    public void setStatus(EntityStatus status) {
        this. = 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
EntityStatus
    public GetEvaluationResult withStatus(EntityStatus status) {
        this. = status.toString();
        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.

Returns:
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.

Parameters:
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;
    }
    
    
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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withPerformanceMetrics(PerformanceMetrics performanceMetrics) {
        this. = performanceMetrics;
        return this;
    }

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

Returns:
A link to the file that contains logs of the CreateEvaluation operation.
    public String getLogUri() {
        return ;
    }
    
    
A link to the file that contains logs of the CreateEvaluation operation.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
logUri A link to the file that contains logs of the CreateEvaluation operation.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withLogUri(String logUri) {
        this. = logUri;
        return this;
    }

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

Constraints:
Length: 0 - 10240

Returns:
A description of the most recent details about evaluating the MLModel.
    public String getMessage() {
        return ;
    }
    
    
A description of the most recent details about evaluating the MLModel.

Constraints:
Length: 0 - 10240

Parameters:
message A description of the most recent details about evaluating the MLModel.
    public void setMessage(String message) {
        this. = message;
    }
    
    
A description of the most recent details about evaluating the MLModel.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10240

Parameters:
message A description of the most recent details about evaluating the MLModel.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetEvaluationResult withMessage(String message) {
        this. = message;
        return this;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEvaluationId() != nullsb.append("EvaluationId: " + getEvaluationId() + ",");
        if (getMLModelId() != nullsb.append("MLModelId: " + getMLModelId() + ",");
        if (getEvaluationDataSourceId() != nullsb.append("EvaluationDataSourceId: " + getEvaluationDataSourceId() + ",");
        if (getInputDataLocationS3() != nullsb.append("InputDataLocationS3: " + getInputDataLocationS3() + ",");
        if (getCreatedByIamUser() != nullsb.append("CreatedByIamUser: " + getCreatedByIamUser() + ",");
        if (getCreatedAt() != nullsb.append("CreatedAt: " + getCreatedAt() + ",");
        if (getLastUpdatedAt() != nullsb.append("LastUpdatedAt: " + getLastUpdatedAt() + ",");
        if (getName() != nullsb.append("Name: " + getName() + ",");
        if (getStatus() != nullsb.append("Status: " + getStatus() + ",");
        if (getPerformanceMetrics() != nullsb.append("PerformanceMetrics: " + getPerformanceMetrics() + ",");
        if (getLogUri() != nullsb.append("LogUri: " + getLogUri() + ",");
        if (getMessage() != nullsb.append("Message: " + getMessage() );
        sb.append("}");
        return sb.toString();
    }
    
    @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 boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof GetEvaluationResult == falsereturn false;
        GetEvaluationResult other = (GetEvaluationResult)obj;
        
        if (other.getEvaluationId() == null ^ this.getEvaluationId() == nullreturn false;
        if (other.getEvaluationId() != null && other.getEvaluationId().equals(this.getEvaluationId()) == falsereturn false
        if (other.getMLModelId() == null ^ this.getMLModelId() == nullreturn false;
        if (other.getMLModelId() != null && other.getMLModelId().equals(this.getMLModelId()) == falsereturn false
        if (other.getEvaluationDataSourceId() == null ^ this.getEvaluationDataSourceId() == nullreturn false;
        if (other.getEvaluationDataSourceId() != null && other.getEvaluationDataSourceId().equals(this.getEvaluationDataSourceId()) == falsereturn false
        if (other.getInputDataLocationS3() == null ^ this.getInputDataLocationS3() == nullreturn false;
        if (other.getInputDataLocationS3() != null && other.getInputDataLocationS3().equals(this.getInputDataLocationS3()) == falsereturn false
        if (other.getCreatedByIamUser() == null ^ this.getCreatedByIamUser() == nullreturn false;
        if (other.getCreatedByIamUser() != null && other.getCreatedByIamUser().equals(this.getCreatedByIamUser()) == falsereturn false
        if (other.getCreatedAt() == null ^ this.getCreatedAt() == nullreturn false;
        if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == falsereturn false
        if (other.getLastUpdatedAt() == null ^ this.getLastUpdatedAt() == nullreturn false;
        if (other.getLastUpdatedAt() != null && other.getLastUpdatedAt().equals(this.getLastUpdatedAt()) == falsereturn false
        if (other.getName() == null ^ this.getName() == nullreturn false;
        if (other.getName() != null && other.getName().equals(this.getName()) == falsereturn false
        if (other.getStatus() == null ^ this.getStatus() == nullreturn false;
        if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == falsereturn false
        if (other.getPerformanceMetrics() == null ^ this.getPerformanceMetrics() == nullreturn false;
        if (other.getPerformanceMetrics() != null && other.getPerformanceMetrics().equals(this.getPerformanceMetrics()) == falsereturn false
        if (other.getLogUri() == null ^ this.getLogUri() == nullreturn false;
        if (other.getLogUri() != null && other.getLogUri().equals(this.getLogUri()) == falsereturn false
        if (other.getMessage() == null ^ this.getMessage() == nullreturn false;
        if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == falsereturn false
        return true;
    }
    
    @Override
    public GetEvaluationResult clone() {
        try {
            return (GetEvaluationResultsuper.clone();
        
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }
        
    }
}
    
New to GrepCode? Check out our FAQ X