public void setData(String data) {
        this.data = data;
    }
<p>
Contains the UTF-8 encoded YAML document content for the workflow. Alternatively, you can specify the
<code>uri</code> of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
</p>

@param data
       Contains the UTF-8 encoded YAML document content for the workflow. Alternatively, you can specify the
       <code>uri</code> of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/CreateWorkflowRequest.java