public Voice withSupportedEngines(Engine... supportedEngines) {
        java.util.ArrayList<String> supportedEnginesCopy = new java.util.ArrayList<String>(supportedEngines.length);
        for (Engine value : supportedEngines) {
            supportedEnginesCopy.add(value.toString());
        }
        if (getSupportedEngines() == null) {
            setSupportedEngines(supportedEnginesCopy);
        } else {
            getSupportedEngines().addAll(supportedEnginesCopy);
        }
        return this;
    }
<p>
Specifies which engines (<code>standard</code>, <code>neural</code>, <code>long-form</code> or
<code>generative</code>) are supported by a given voice.
</p>

@param supportedEngines
       Specifies which engines (<code>standard</code>, <code>neural</code>, <code>long-form</code> or
       <code>generative</code>) are supported by a given voice.
@return Returns a reference to this object so that method calls can be chained together.
@see Engine
aws-java-sdk-polly/src/main/java/com/amazonaws/services/polly/model/Voice.java