@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDeploymentId() != null)
            sb.append("DeploymentId: ").append(getDeploymentId()).append(",");
        if (getEnvironmentName() != null)
            sb.append("EnvironmentName: ").append(getEnvironmentName()).append(",");
        if (getNewTargetRevisionId() != null)
            sb.append("NewTargetRevisionId: ").append(getNewTargetRevisionId()).append(",");
        if (getOldTargetRevisionId() != null)
            sb.append("OldTargetRevisionId: ").append(getOldTargetRevisionId()).append(",");
        if (getTimestamp() != null)
            sb.append("Timestamp: ").append(getTimestamp());
        sb.append("}");
        return sb.toString();
    }
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