* The specified trail ARN that has the event selectors. *
*/ private String trailARN; /** ** The event selectors that are configured for the trail. *
*/ private com.amazonaws.internal.SdkInternalList* The advanced event selectors that are configured for the trail. *
*/ private com.amazonaws.internal.SdkInternalList* The specified trail ARN that has the event selectors. *
* * @param trailARN * The specified trail ARN that has the event selectors. */ public void setTrailARN(String trailARN) { this.trailARN = trailARN; } /** ** The specified trail ARN that has the event selectors. *
* * @return The specified trail ARN that has the event selectors. */ public String getTrailARN() { return this.trailARN; } /** ** The specified trail ARN that has the event selectors. *
* * @param trailARN * The specified trail ARN that has the event selectors. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEventSelectorsResult withTrailARN(String trailARN) { setTrailARN(trailARN); return this; } /** ** The event selectors that are configured for the trail. *
* * @return The event selectors that are configured for the trail. */ public java.util.List* The event selectors that are configured for the trail. *
* * @param eventSelectors * The event selectors that are configured for the trail. */ public void setEventSelectors(java.util.Collection* The event selectors that are configured for the trail. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEventSelectors(java.util.Collection)} or {@link #withEventSelectors(java.util.Collection)} if you want * to override the existing values. *
* * @param eventSelectors * The event selectors that are configured for the trail. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEventSelectorsResult withEventSelectors(EventSelector... eventSelectors) { if (this.eventSelectors == null) { setEventSelectors(new com.amazonaws.internal.SdkInternalList* The event selectors that are configured for the trail. *
* * @param eventSelectors * The event selectors that are configured for the trail. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEventSelectorsResult withEventSelectors(java.util.Collection* The advanced event selectors that are configured for the trail. *
* * @return The advanced event selectors that are configured for the trail. */ public java.util.List* The advanced event selectors that are configured for the trail. *
* * @param advancedEventSelectors * The advanced event selectors that are configured for the trail. */ public void setAdvancedEventSelectors(java.util.Collection* The advanced event selectors that are configured for the trail. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdvancedEventSelectors(java.util.Collection)} or * {@link #withAdvancedEventSelectors(java.util.Collection)} if you want to override the existing values. *
* * @param advancedEventSelectors * The advanced event selectors that are configured for the trail. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEventSelectorsResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors) { if (this.advancedEventSelectors == null) { setAdvancedEventSelectors(new com.amazonaws.internal.SdkInternalList* The advanced event selectors that are configured for the trail. *
* * @param advancedEventSelectors * The advanced event selectors that are configured for the trail. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEventSelectorsResult withAdvancedEventSelectors(java.util.Collection