public CreateInstanceConnectEndpointRequest withPreserveClientIp(Boolean preserveClientIp) {
        setPreserveClientIp(preserveClientIp);
        return this;
    }
<p>
Indicates whether the client IP address is preserved as the source. The following are the possible values.
</p>
<ul>
<li>
<p>
<code>true</code> - Use the client IP address as the source.
</p>
</li>
<li>
<p>
<code>false</code> - Use the network interface IP address as the source.
</p>
</li>
</ul>
<p>
Default: <code>false</code>
</p>

@param preserveClientIp
       Indicates whether the client IP address is preserved as the source. The following are the possible
       values.</p>
       <ul>
       <li>
       <p>
       <code>true</code> - Use the client IP address as the source.
       </p>
       </li>
       <li>
       <p>
       <code>false</code> - Use the network interface IP address as the source.
       </p>
       </li>
       </ul>
       <p>
       Default: <code>false</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceConnectEndpointRequest.java