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 GetBatchPrediction operation and describes a BatchPrediction .

 
 public class GetBatchPredictionResult implements SerializableCloneable {

    
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.

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

 
     private String batchPredictionId;

    
The ID of the MLModel that generated predictions for the BatchPrediction request.

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

 
     private String mLModelId;

    
The ID of the DataSource that was used to create the BatchPrediction.

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

 
     private String batchPredictionDataSourceId;

    
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 BatchPrediction. 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 when the BatchPrediction was created. The time is expressed in epoch time.
 
     private java.util.Date createdAt;

    
The time of the most recent edit to BatchPrediction. The time is expressed in epoch time.
 
     private java.util.Date lastUpdatedAt;

    
A user-supplied name or description of the BatchPrediction.

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

 
     private String name;

    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

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

    private String status;

    
The location of an Amazon S3 bucket or directory to receive the operation results.

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

    private String outputUri;

    
A link to the file that contains logs of the CreateBatchPrediction operation.
    private String logUri;

    
A description of the most recent details about processing the batch prediction request.

Constraints:
Length: 0 - 10240

    private String message;

    
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.

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

Returns:
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
    public String getBatchPredictionId() {
        return ;
    }
    
    
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.

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

Parameters:
batchPredictionId An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
    public void setBatchPredictionId(String batchPredictionId) {
        this. = batchPredictionId;
    }
    
    
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID 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:
batchPredictionId An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult withBatchPredictionId(String batchPredictionId) {
        this. = batchPredictionId;
        return this;
    }

    
The ID of the MLModel that generated predictions for the BatchPrediction request.

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

Returns:
The ID of the MLModel that generated predictions for the BatchPrediction request.
    public String getMLModelId() {
        return ;
    }
    
    
The ID of the MLModel that generated predictions for the BatchPrediction request.

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

Parameters:
mLModelId The ID of the MLModel that generated predictions for the BatchPrediction request.
    public void setMLModelId(String mLModelId) {
        this. = mLModelId;
    }
    
    
The ID of the MLModel that generated predictions for the BatchPrediction 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:
mLModelId The ID of the MLModel that generated predictions for the BatchPrediction request.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult withMLModelId(String mLModelId) {
        this. = mLModelId;
        return this;
    }

    
The ID of the DataSource that was used to create the BatchPrediction.

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

Returns:
The ID of the DataSource that was used to create the BatchPrediction.
        return ;
    }
    
    
The ID of the DataSource that was used to create the BatchPrediction.

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

Parameters:
batchPredictionDataSourceId The ID of the DataSource that was used to create the BatchPrediction.
    public void setBatchPredictionDataSourceId(String batchPredictionDataSourceId) {
        this. = batchPredictionDataSourceId;
    }
    
    
The ID of the DataSource that was used to create the BatchPrediction.

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

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

Parameters:
batchPredictionDataSourceId The ID of the DataSource that was used to create the BatchPrediction.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult withBatchPredictionDataSourceId(String batchPredictionDataSourceId) {
        this. = batchPredictionDataSourceId;
        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 GetBatchPredictionResult withInputDataLocationS3(String inputDataLocationS3) {
        this. = inputDataLocationS3;
        return this;
    }

    
The AWS user account that invoked the BatchPrediction. 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 BatchPrediction. 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 BatchPrediction. 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 BatchPrediction. 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 BatchPrediction. 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 BatchPrediction. 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 GetBatchPredictionResult withCreatedByIamUser(String createdByIamUser) {
        this. = createdByIamUser;
        return this;
    }

    
The time when the BatchPrediction was created. The time is expressed in epoch time.

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

Parameters:
createdAt The time when the BatchPrediction was created. The time is expressed in epoch time.
    public void setCreatedAt(java.util.Date createdAt) {
        this. = createdAt;
    }
    
    
The time when the BatchPrediction 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 when the BatchPrediction 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 GetBatchPredictionResult withCreatedAt(java.util.Date createdAt) {
        this. = createdAt;
        return this;
    }

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

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

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

    
A user-supplied name or description of the BatchPrediction.

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

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

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

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

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

    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

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

Returns:
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.
See also:
EntityStatus
    public String getStatus() {
        return ;
    }
    
    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

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

Parameters:
status The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.
See also:
EntityStatus
    public void setStatus(String status) {
        this. = status;
    }
    
    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction 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 BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction 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 GetBatchPredictionResult withStatus(String status) {
        this. = status;
        return this;
    }

    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

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

Parameters:
status The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.
See also:
EntityStatus
    public void setStatus(EntityStatus status) {
        this. = status.toString();
    }
    
    
The status of the BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction 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 BatchPrediction, which can be one of the following values:
  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction 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
        this. = status.toString();
        return this;
    }

    
The location of an Amazon S3 bucket or directory to receive the operation results.

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

Returns:
The location of an Amazon S3 bucket or directory to receive the operation results.
    public String getOutputUri() {
        return ;
    }
    
    
The location of an Amazon S3 bucket or directory to receive the operation results.

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

Parameters:
outputUri The location of an Amazon S3 bucket or directory to receive the operation results.
    public void setOutputUri(String outputUri) {
        this. = outputUri;
    }
    
    
The location of an Amazon S3 bucket or directory to receive the operation results.

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

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

Parameters:
outputUri The location of an Amazon S3 bucket or directory to receive the operation results.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult withOutputUri(String outputUri) {
        this. = outputUri;
        return this;
    }

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

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

Parameters:
logUri A link to the file that contains logs of the CreateBatchPrediction operation.
    public void setLogUri(String logUri) {
        this. = logUri;
    }
    
    
A link to the file that contains logs of the CreateBatchPrediction 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 CreateBatchPrediction operation.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult withLogUri(String logUri) {
        this. = logUri;
        return this;
    }

    
A description of the most recent details about processing the batch prediction request.

Constraints:
Length: 0 - 10240

Returns:
A description of the most recent details about processing the batch prediction request.
    public String getMessage() {
        return ;
    }
    
    
A description of the most recent details about processing the batch prediction request.

Constraints:
Length: 0 - 10240

Parameters:
message A description of the most recent details about processing the batch prediction request.
    public void setMessage(String message) {
        this. = message;
    }
    
    
A description of the most recent details about processing the batch prediction request.

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 processing the batch prediction request.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetBatchPredictionResult 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 (getBatchPredictionId() != nullsb.append("BatchPredictionId: " + getBatchPredictionId() + ",");
        if (getMLModelId() != nullsb.append("MLModelId: " + getMLModelId() + ",");
        if (getBatchPredictionDataSourceId() != nullsb.append("BatchPredictionDataSourceId: " + getBatchPredictionDataSourceId() + ",");
        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 (getOutputUri() != nullsb.append("OutputUri: " + getOutputUri() + ",");
        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 + ((getBatchPredictionId() == null) ? 0 : getBatchPredictionId().hashCode()); 
        hashCode = prime * hashCode + ((getMLModelId() == null) ? 0 : getMLModelId().hashCode()); 
        hashCode = prime * hashCode + ((getBatchPredictionDataSourceId() == null) ? 0 : getBatchPredictionDataSourceId().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 + ((getOutputUri() == null) ? 0 : getOutputUri().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 GetBatchPredictionResult == falsereturn false;
        GetBatchPredictionResult other = (GetBatchPredictionResult)obj;
        
        if (other.getBatchPredictionId() == null ^ this.getBatchPredictionId() == nullreturn false;
        if (other.getBatchPredictionId() != null && other.getBatchPredictionId().equals(this.getBatchPredictionId()) == falsereturn false
        if (other.getMLModelId() == null ^ this.getMLModelId() == nullreturn false;
        if (other.getMLModelId() != null && other.getMLModelId().equals(this.getMLModelId()) == falsereturn false
        if (other.getBatchPredictionDataSourceId() == null ^ this.getBatchPredictionDataSourceId() == nullreturn false;
        if (other.getBatchPredictionDataSourceId() != null && other.getBatchPredictionDataSourceId().equals(this.getBatchPredictionDataSourceId()) == 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.getOutputUri() == null ^ this.getOutputUri() == nullreturn false;
        if (other.getOutputUri() != null && other.getOutputUri().equals(this.getOutputUri()) == 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 GetBatchPredictionResult clone() {
        try {
            return (GetBatchPredictionResultsuper.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