@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getExistingImageName() != null)
            sb.append("ExistingImageName: ").append(getExistingImageName()).append(",");
        if (getNewImageName() != null)
            sb.append("NewImageName: ").append(getNewImageName()).append(",");
        if (getNewImageDescription() != null)
            sb.append("NewImageDescription: ").append(getNewImageDescription()).append(",");
        if (getNewImageDisplayName() != null)
            sb.append("NewImageDisplayName: ").append(getNewImageDisplayName()).append(",");
        if (getNewImageTags() != null)
            sb.append("NewImageTags: ").append(getNewImageTags()).append(",");
        if (getDryRun() != null)
            sb.append("DryRun: ").append(getDryRun());
        sb.append("}");
        return sb.toString();
    }
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-appstream/src/main/java/com/amazonaws/services/appstream/model/CreateUpdatedImageRequest.java