@Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getBucketName() == null) ? 0 : getBucketName().hashCode());
        hashCode = prime * hashCode + ((getKey() == null) ? 0 : getKey().hashCode());
        hashCode = prime * hashCode + ((getVersionId() == null) ? 0 : getVersionId().hashCode());
        hashCode = prime * hashCode + ((getGlacierJobParameters() == null) ? 0 : getGlacierJobParameters().hashCode());
        hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode());
        hashCode = prime * hashCode + (getTier() != null ? getTier().hashCode() : 0);
        hashCode = prime * hashCode + (getDescription() != null ? getDescription().hashCode() : 0);
        hashCode = prime * hashCode + (getSelectParameters() != null ? getSelectParameters().hashCode() : 0);
        hashCode = prime * hashCode + (getOutputLocation() != null ? getOutputLocation().hashCode() : 0);
        return hashCode;
    }
Sets the location where the restore job's output is stored.

@param outputLocation New value for output location
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java