public SavingsPlan withProductTypes(java.util.Collection<String> productTypes) {
        setProductTypes(productTypes);
        return this;
    }
<p>
The product types.
</p>

@param productTypes
       The product types.
@return Returns a reference to this object so that method calls can be chained together.
@see SavingsPlanProductType
aws-java-sdk-savingsplans/src/main/java/com/amazonaws/services/savingsplans/model/SavingsPlan.java