public void setType(String type) {
        this.type = type;
    }
<p>
The type of the component denotes whether the component is used to build the image, or only to test it.
</p>

@param type
       The type of the component denotes whether the component is used to build the image, or only to test it.
@see ComponentType
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ImportComponentRequest.java