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