public GetComponentTypeResult withExtendsFrom(String... extendsFrom) {
        if (this.extendsFrom == null) {
            setExtendsFrom(new java.util.ArrayList<String>(extendsFrom.length));
        }
        for (String ele : extendsFrom) {
            this.extendsFrom.add(ele);
        }
        return this;
    }
<p>
The name of the parent component type that this component type extends.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExtendsFrom(java.util.Collection)} or {@link #withExtendsFrom(java.util.Collection)} if you want to
override the existing values.
</p>

@param extendsFrom
       The name of the parent component type that this component type extends.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/GetComponentTypeResult.java