@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof StoreImageTaskResult == false)
            return false;
        StoreImageTaskResult other = (StoreImageTaskResult) obj;
        if (other.getAmiId() == null ^ this.getAmiId() == null)
            return false;
        if (other.getAmiId() != null && other.getAmiId().equals(this.getAmiId()) == false)
            return false;
        if (other.getTaskStartTime() == null ^ this.getTaskStartTime() == null)
            return false;
        if (other.getTaskStartTime() != null && other.getTaskStartTime().equals(this.getTaskStartTime()) == false)
            return false;
        if (other.getBucket() == null ^ this.getBucket() == null)
            return false;
        if (other.getBucket() != null && other.getBucket().equals(this.getBucket()) == false)
            return false;
        if (other.getS3objectKey() == null ^ this.getS3objectKey() == null)
            return false;
        if (other.getS3objectKey() != null && other.getS3objectKey().equals(this.getS3objectKey()) == false)
            return false;
        if (other.getProgressPercentage() == null ^ this.getProgressPercentage() == null)
            return false;
        if (other.getProgressPercentage() != null && other.getProgressPercentage().equals(this.getProgressPercentage()) == false)
            return false;
        if (other.getStoreTaskState() == null ^ this.getStoreTaskState() == null)
            return false;
        if (other.getStoreTaskState() != null && other.getStoreTaskState().equals(this.getStoreTaskState()) == false)
            return false;
        if (other.getStoreTaskFailureReason() == null ^ this.getStoreTaskFailureReason() == null)
            return false;
        if (other.getStoreTaskFailureReason() != null && other.getStoreTaskFailureReason().equals(this.getStoreTaskFailureReason()) == false)
            return false;
        return true;
    }
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()
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/StoreImageTaskResult.java