public void setTypes(java.util.Collection<Type> types) {
        if (types == null) {
            this.types = null;
            return;
        }

        this.types = new java.util.ArrayList<Type>(types);
    }
<p>
The <code>Type</code> objects.
</p>

@param types
       The <code>Type</code> objects.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/ListTypesResult.java