/** * <p> * The list of Amazon Redshift event categories specified in the event notification subscription. * </p> * <p> * Values: Configuration, Management, Monitoring, Security * </p> * * @param eventCategoriesList * The list of Amazon Redshift event categories specified in the event notification subscription.</p> * <p> * Values: Configuration, Management, Monitoring, Security * @return Returns a reference to this object so that method calls can be chained together. */ public EventSubscription withEventCategoriesList(java.util.Collection<String> eventCategoriesList) { setEventCategoriesList(eventCategoriesList); return this; }
/** * <p> * The list of Amazon Redshift event categories specified in the event notification subscription. * </p> * <p> * Values: Configuration, Management, Monitoring, Security * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setEventCategoriesList(java.util.Collection)} or {@link #withEventCategoriesList(java.util.Collection)} * if you want to override the existing values. * </p> * * @param eventCategoriesList * The list of Amazon Redshift event categories specified in the event notification subscription.</p> * <p> * Values: Configuration, Management, Monitoring, Security * @return Returns a reference to this object so that method calls can be chained together. */ public EventSubscription withEventCategoriesList(String... eventCategoriesList) { if (this.eventCategoriesList == null) { setEventCategoriesList(new com.amazonaws.internal.SdkInternalList<String>(eventCategoriesList.length)); } for (String ele : eventCategoriesList) { this.eventCategoriesList.add(ele); } return this; }
/** * <p> * The list of Amazon Redshift event categories specified in the event notification subscription. * </p> * <p> * Values: Configuration, Management, Monitoring, Security * </p> * * @param eventCategoriesList * The list of Amazon Redshift event categories specified in the event notification subscription.</p> * <p> * Values: Configuration, Management, Monitoring, Security * @return Returns a reference to this object so that method calls can be chained together. */ public EventSubscription withEventCategoriesList(java.util.Collection<String> eventCategoriesList) { setEventCategoriesList(eventCategoriesList); return this; }
/** * <p> * The list of Amazon Redshift event categories specified in the event notification subscription. * </p> * <p> * Values: Configuration, Management, Monitoring, Security * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setEventCategoriesList(java.util.Collection)} or {@link #withEventCategoriesList(java.util.Collection)} * if you want to override the existing values. * </p> * * @param eventCategoriesList * The list of Amazon Redshift event categories specified in the event notification subscription.</p> * <p> * Values: Configuration, Management, Monitoring, Security * @return Returns a reference to this object so that method calls can be chained together. */ public EventSubscription withEventCategoriesList(String... eventCategoriesList) { if (this.eventCategoriesList == null) { setEventCategoriesList(new com.amazonaws.internal.SdkInternalList<String>(eventCategoriesList.length)); } for (String ele : eventCategoriesList) { this.eventCategoriesList.add(ele); } return this; }