public java.util.List<String> getInstanceTypes() {
        return instanceTypes;
    }
<p>
If the node group wasn't deployed with a launch template, then this is the instance type that is associated with
the node group. If the node group was deployed with a launch template, then this is <code>null</code>.
</p>

@return If the node group wasn't deployed with a launch template, then this is the instance type that is
        associated with the node group. If the node group was deployed with a launch template, then this is
        <code>null</code>.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/Nodegroup.java