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

        this.instanceTypes = new com.amazonaws.internal.SdkInternalList<String>(instanceTypes);
    }
<p>
The instance types.
</p>

@param instanceTypes
       The instance types.
@see InstanceType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceTypesRequest.java