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 Java SDK for Amazon Machine Learning module holds the client classes that is used for communicating with Amazon Machine Learning Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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;
import javax.annotation.Generated;

/**
 * 

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

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetEvaluationResult extends com.amazonaws.AmazonWebServiceResult 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 Evaluation. 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 approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. *

*/ private Long computeTime; /** *

* The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or * FAILED. FinishedAt is only available when the Evaluation is in the * COMPLETED or FAILED state. *

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

* The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING state. *

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

* 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 Evaluation. The time is expressed in epoch time. *

* * @param lastUpdatedAt * The time of the most recent edit to the Evaluation. 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 Evaluation. The time is expressed in epoch time. *

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

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

* * @param lastUpdatedAt * The time of the most recent edit to the Evaluation. 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) { withStatus(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(EntityStatus status) { this.status = 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. *

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

            * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. *

            * * @param computeTime * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. */ public void setComputeTime(Long computeTime) { this.computeTime = computeTime; } /** *

            * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. *

            * * @return The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. */ public Long getComputeTime() { return this.computeTime; } /** *

            * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. *

            * * @param computeTime * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the * Evaluation, normalized and scaled on computation resources. ComputeTime is only * available if the Evaluation is in the COMPLETED state. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEvaluationResult withComputeTime(Long computeTime) { setComputeTime(computeTime); return this; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or * FAILED. FinishedAt is only available when the Evaluation is in the * COMPLETED or FAILED state. *

            * * @param finishedAt * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED * or FAILED. FinishedAt is only available when the Evaluation is in * the COMPLETED or FAILED state. */ public void setFinishedAt(java.util.Date finishedAt) { this.finishedAt = finishedAt; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or * FAILED. FinishedAt is only available when the Evaluation is in the * COMPLETED or FAILED state. *

            * * @return The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED * or FAILED. FinishedAt is only available when the Evaluation is in * the COMPLETED or FAILED state. */ public java.util.Date getFinishedAt() { return this.finishedAt; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or * FAILED. FinishedAt is only available when the Evaluation is in the * COMPLETED or FAILED state. *

            * * @param finishedAt * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED * or FAILED. FinishedAt is only available when the Evaluation is in * the COMPLETED or FAILED state. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEvaluationResult withFinishedAt(java.util.Date finishedAt) { setFinishedAt(finishedAt); return this; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING state. *

            * * @param startedAt * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING * state. */ public void setStartedAt(java.util.Date startedAt) { this.startedAt = startedAt; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING state. *

            * * @return The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS * . StartedAt isn't available if the Evaluation is in the PENDING * state. */ public java.util.Date getStartedAt() { return this.startedAt; } /** *

            * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING state. *

            * * @param startedAt * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. * StartedAt isn't available if the Evaluation is in the PENDING * state. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEvaluationResult withStartedAt(java.util.Date startedAt) { setStartedAt(startedAt); 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 (getEvaluationId() != null) sb.append("EvaluationId: ").append(getEvaluationId()).append(","); if (getMLModelId() != null) sb.append("MLModelId: ").append(getMLModelId()).append(","); if (getEvaluationDataSourceId() != null) sb.append("EvaluationDataSourceId: ").append(getEvaluationDataSourceId()).append(","); if (getInputDataLocationS3() != null) sb.append("InputDataLocationS3: ").append(getInputDataLocationS3()).append(","); if (getCreatedByIamUser() != null) sb.append("CreatedByIamUser: ").append(getCreatedByIamUser()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getLastUpdatedAt() != null) sb.append("LastUpdatedAt: ").append(getLastUpdatedAt()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getPerformanceMetrics() != null) sb.append("PerformanceMetrics: ").append(getPerformanceMetrics()).append(","); if (getLogUri() != null) sb.append("LogUri: ").append(getLogUri()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getComputeTime() != null) sb.append("ComputeTime: ").append(getComputeTime()).append(","); if (getFinishedAt() != null) sb.append("FinishedAt: ").append(getFinishedAt()).append(","); if (getStartedAt() != null) sb.append("StartedAt: ").append(getStartedAt()); 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; if (other.getComputeTime() == null ^ this.getComputeTime() == null) return false; if (other.getComputeTime() != null && other.getComputeTime().equals(this.getComputeTime()) == false) return false; if (other.getFinishedAt() == null ^ this.getFinishedAt() == null) return false; if (other.getFinishedAt() != null && other.getFinishedAt().equals(this.getFinishedAt()) == false) return false; if (other.getStartedAt() == null ^ this.getStartedAt() == null) return false; if (other.getStartedAt() != null && other.getStartedAt().equals(this.getStartedAt()) == 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()); hashCode = prime * hashCode + ((getComputeTime() == null) ? 0 : getComputeTime().hashCode()); hashCode = prime * hashCode + ((getFinishedAt() == null) ? 0 : getFinishedAt().hashCode()); hashCode = prime * hashCode + ((getStartedAt() == null) ? 0 : getStartedAt().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