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

        hashCode = prime * hashCode + ((getDeploymentId() == null) ? 0 : getDeploymentId().hashCode());
        hashCode = prime * hashCode + ((getEnvironmentName() == null) ? 0 : getEnvironmentName().hashCode());
        hashCode = prime * hashCode + ((getNewTargetRevisionId() == null) ? 0 : getNewTargetRevisionId().hashCode());
        hashCode = prime * hashCode + ((getOldTargetRevisionId() == null) ? 0 : getOldTargetRevisionId().hashCode());
        hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode());
        return hashCode;
    }
Returns a string representation of this object; useful for testing and debugging.

@return A string representation of this object.

@see java.lang.Object#toString()
frontend-service-client/src/main/java/com/amazonaws/blox/model/Deployment.java