public void setData(String data) {
        this.data = data;
    }
<p>
Component data contains the YAML document content for the component.
</p>

@param data
       Component data contains the YAML document content for the component.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/Component.java