@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getId() != null)
            sb.append("Id: ").append(getId()).append(",");
        if (getMaxWidth() != null)
            sb.append("MaxWidth: ").append(getMaxWidth()).append(",");
        if (getMaxHeight() != null)
            sb.append("MaxHeight: ").append(getMaxHeight()).append(",");
        if (getSizingPolicy() != null)
            sb.append("SizingPolicy: ").append(getSizingPolicy()).append(",");
        if (getHorizontalAlign() != null)
            sb.append("HorizontalAlign: ").append(getHorizontalAlign()).append(",");
        if (getHorizontalOffset() != null)
            sb.append("HorizontalOffset: ").append(getHorizontalOffset()).append(",");
        if (getVerticalAlign() != null)
            sb.append("VerticalAlign: ").append(getVerticalAlign()).append(",");
        if (getVerticalOffset() != null)
            sb.append("VerticalOffset: ").append(getVerticalOffset()).append(",");
        if (getOpacity() != null)
            sb.append("Opacity: ").append(getOpacity()).append(",");
        if (getTarget() != null)
            sb.append("Target: ").append(getTarget());
        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-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/PresetWatermark.java