public java.util.List<ComponentVariant> getVariants() {
        return variants;
    }
<p>
A list of the component's variants. A variant is a unique style configuration of a main component.
</p>

@return A list of the component's variants. A variant is a unique style configuration of a main component.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/Component.java