public ServiceSoftwareOptions withOptionalDeployment(Boolean optionalDeployment) {
        setOptionalDeployment(optionalDeployment);
        return this;
    }
<p>
<code>True</code> if a service software is never automatically updated. <code>False</code> if a service software
is automatically updated after <code>AutomatedUpdateDate</code>.
</p>

@param optionalDeployment
       True</code> if a service software is never automatically updated. <code>False</code> if a service software
       is automatically updated after <code>AutomatedUpdateDate
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/ServiceSoftwareOptions.java