code: public PutNotificationConfigurationRequest withNotificationTypes(String... notificationTypes) {
          if (this.notificationTypes == null) {
              setNotificationTypes(new com.amazonaws.internal.SdkInternalList<String>(notificationTypes.length));
          }
          for (String ele : notificationTypes) {
              this.notificationTypes.add(ele);
          }
          return this;
      }
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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNotificationTypes(java.util.Collection)} or {@link #withNotificationTypes(java.util.Collection)} if
  you want to override the existing values.
  </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>.
  @return Returns a reference to this object so that method calls can be chained together.