public PresetWatermark withHorizontalOffset(String horizontalOffset) {
        setHorizontalOffset(horizontalOffset);
        return this;
    }
<p>
The amount by which you want the horizontal position of the watermark to be offset from the position specified by
HorizontalAlign:
</p>
<ul>
<li>
<p>
number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
</p>
</li>
<li>
<p>
integer percentage (%): The range of valid values is 0 to 100.
</p>
</li>
</ul>
<p>
For example, if you specify Left for <code>HorizontalAlign</code> and 5px for <code>HorizontalOffset</code>, the
left side of the watermark appears 5 pixels from the left border of the output video.
</p>
<p>
<code>HorizontalOffset</code> is only valid when the value of <code>HorizontalAlign</code> is <code>Left</code>
or <code>Right</code>. If you specify an offset that causes the watermark to extend beyond the left or right
border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added
black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is
cropped.
</p>
<p>
Use the value of <code>Target</code> to specify whether you want to include the black bars that are added by
Elastic Transcoder, if any, in the offset calculation.
</p>

@param horizontalOffset
       The amount by which you want the horizontal position of the watermark to be offset from the position
       specified by HorizontalAlign: </p>
       <ul>
       <li>
       <p>
       number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
       </p>
       </li>
       <li>
       <p>
       integer percentage (%): The range of valid values is 0 to 100.
       </p>
       </li>
       </ul>
       <p>
       For example, if you specify Left for <code>HorizontalAlign</code> and 5px for
       <code>HorizontalOffset</code>, the left side of the watermark appears 5 pixels from the left border of the
       output video.
       </p>
       <p>
       <code>HorizontalOffset</code> is only valid when the value of <code>HorizontalAlign</code> is
       <code>Left</code> or <code>Right</code>. If you specify an offset that causes the watermark to extend
       beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped.
       If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark
       extends beyond the black bars, it is cropped.
       </p>
       <p>
       Use the value of <code>Target</code> to specify whether you want to include the black bars that are added
       by Elastic Transcoder, if any, in the offset calculation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/PresetWatermark.java