public void setProductTypes(java.util.Collection<String> productTypes) {
        if (productTypes == null) {
            this.productTypes = null;
            return;
        }

        this.productTypes = new java.util.ArrayList<String>(productTypes);
    }
<p>
The product types.
</p>

@param productTypes
       The product types.
@see SavingsPlanProductType
aws-java-sdk-savingsplans/src/main/java/com/amazonaws/services/savingsplans/model/SavingsPlan.java