public CreateServiceTemplateVersionRequest withSupportedComponentSources(java.util.Collection<String> supportedComponentSources) {
        setSupportedComponentSources(supportedComponentSources);
        return this;
    }
<p>
An array of supported component sources. Components with supported sources can be attached to service instances
based on this service template version.
</p>
<p>
For more information about components, see <a
href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
<i>Proton User Guide</i>.
</p>

@param supportedComponentSources
       An array of supported component sources. Components with supported sources can be attached to service
       instances based on this service template version.</p>
       <p>
       For more information about components, see <a
       href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
       <i>Proton User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see ServiceTemplateSupportedComponentSourceType
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateServiceTemplateVersionRequest.java