* The ARN of the channel that was updated. *
*/ private String channelArn; /** ** The name of the channel that was updated. *
*/ private String name; /** ** The event source of the channel that was updated. *
*/ private String source; /** ** The event data stores that log events arriving through the channel. *
*/ private com.amazonaws.internal.SdkInternalList* The ARN of the channel that was updated. *
* * @param channelArn * The ARN of the channel that was updated. */ public void setChannelArn(String channelArn) { this.channelArn = channelArn; } /** ** The ARN of the channel that was updated. *
* * @return The ARN of the channel that was updated. */ public String getChannelArn() { return this.channelArn; } /** ** The ARN of the channel that was updated. *
* * @param channelArn * The ARN of the channel that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateChannelResult withChannelArn(String channelArn) { setChannelArn(channelArn); return this; } /** ** The name of the channel that was updated. *
* * @param name * The name of the channel that was updated. */ public void setName(String name) { this.name = name; } /** ** The name of the channel that was updated. *
* * @return The name of the channel that was updated. */ public String getName() { return this.name; } /** ** The name of the channel that was updated. *
* * @param name * The name of the channel that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateChannelResult withName(String name) { setName(name); return this; } /** ** The event source of the channel that was updated. *
* * @param source * The event source of the channel that was updated. */ public void setSource(String source) { this.source = source; } /** ** The event source of the channel that was updated. *
* * @return The event source of the channel that was updated. */ public String getSource() { return this.source; } /** ** The event source of the channel that was updated. *
* * @param source * The event source of the channel that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateChannelResult withSource(String source) { setSource(source); return this; } /** ** The event data stores that log events arriving through the channel. *
* * @return The event data stores that log events arriving through the channel. */ public java.util.List* The event data stores that log events arriving through the channel. *
* * @param destinations * The event data stores that log events arriving through the channel. */ public void setDestinations(java.util.Collection* The event data stores that log events arriving through the channel. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDestinations(java.util.Collection)} or {@link #withDestinations(java.util.Collection)} if you want to * override the existing values. *
* * @param destinations * The event data stores that log events arriving through the channel. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateChannelResult withDestinations(Destination... destinations) { if (this.destinations == null) { setDestinations(new com.amazonaws.internal.SdkInternalList* The event data stores that log events arriving through the channel. *
* * @param destinations * The event data stores that log events arriving through the channel. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateChannelResult withDestinations(java.util.Collection