public ServiceTemplateVersion withSupportedComponentSources(String... supportedComponentSources) {
        if (this.supportedComponentSources == null) {
            setSupportedComponentSources(new java.util.ArrayList<String>(supportedComponentSources.length));
        }
        for (String ele : supportedComponentSources) {
            this.supportedComponentSources.add(ele);
        }
        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>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedComponentSources(java.util.Collection)} or
{@link #withSupportedComponentSources(java.util.Collection)} if you want to override the existing values.
</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/ServiceTemplateVersion.java