* The list of channel memberships in the response. *
*/ private BatchChannelMemberships batchChannelMemberships; /** ** If the action fails for one or more of the memberships in the request, a list of the memberships is returned, * along with error codes and error messages. *
*/ private java.util.List* The list of channel memberships in the response. *
* * @param batchChannelMemberships * The list of channel memberships in the response. */ public void setBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships) { this.batchChannelMemberships = batchChannelMemberships; } /** ** The list of channel memberships in the response. *
* * @return The list of channel memberships in the response. */ public BatchChannelMemberships getBatchChannelMemberships() { return this.batchChannelMemberships; } /** ** The list of channel memberships in the response. *
* * @param batchChannelMemberships * The list of channel memberships in the response. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateChannelMembershipResult withBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships) { setBatchChannelMemberships(batchChannelMemberships); return this; } /** ** If the action fails for one or more of the memberships in the request, a list of the memberships is returned, * along with error codes and error messages. *
* * @return If the action fails for one or more of the memberships in the request, a list of the memberships is * returned, along with error codes and error messages. */ public java.util.List* If the action fails for one or more of the memberships in the request, a list of the memberships is returned, * along with error codes and error messages. *
* * @param errors * If the action fails for one or more of the memberships in the request, a list of the memberships is * returned, along with error codes and error messages. */ public void setErrors(java.util.Collection* If the action fails for one or more of the memberships in the request, a list of the memberships is returned, * along with error codes and error messages. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * If the action fails for one or more of the memberships in the request, a list of the memberships is * returned, along with error codes and error messages. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateChannelMembershipResult withErrors(BatchCreateChannelMembershipError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* If the action fails for one or more of the memberships in the request, a list of the memberships is returned, * along with error codes and error messages. *
* * @param errors * If the action fails for one or more of the memberships in the request, a list of the memberships is * returned, along with error codes and error messages. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateChannelMembershipResult withErrors(java.util.Collection