code: public void setNotificationTypes(java.util.Collection<String> notificationTypes) {
          if (notificationTypes == null) {
              this.notificationTypes = null;
              return;
          }
  
          this.notificationTypes = new com.amazonaws.internal.SdkInternalList<String>(notificationTypes);
      }
docs: <p>
  The type of event that causes the notification to be sent. For more information about notification types
  supported by Amazon EC2 Auto Scaling, see <a>DescribeAutoScalingNotificationTypes</a>.
  </p>
  
  @param notificationTypes
  The type of event that causes the notification to be sent. For more information about notification types
  supported by Amazon EC2 Auto Scaling, see <a>DescribeAutoScalingNotificationTypes</a>.