public ImportComponentRequest withData(String data) {
        setData(data);
        return this;
    }
<p>
The data of the component. Used to specify the data inline. Either <code>data</code> or <code>uri</code> can be
used to specify the data within the component.
</p>

@param data
       The data of the component. Used to specify the data inline. Either <code>data</code> or <code>uri</code>
       can be used to specify the data within the component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ImportComponentRequest.java