public Component withComponentType(String componentType) {
        setComponentType(componentType);
        return this;
    }
<p>
The type of the component. This can be an Amplify custom UI component or another custom component.
</p>

@param componentType
       The type of the component. This can be an Amplify custom UI component or another custom component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/Component.java