* The list of tasks. *
*/ private com.amazonaws.internal.SdkInternalList* Any failures associated with the call. *
*/ private com.amazonaws.internal.SdkInternalList* The list of tasks. *
* * @return The list of tasks. */ public java.util.List* The list of tasks. *
* * @param tasks * The list of tasks. */ public void setTasks(java.util.Collection* The list of tasks. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTasks(java.util.Collection)} or {@link #withTasks(java.util.Collection)} if you want to override the * existing values. *
* * @param tasks * The list of tasks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTasksResult withTasks(Task... tasks) { if (this.tasks == null) { setTasks(new com.amazonaws.internal.SdkInternalList* The list of tasks. *
* * @param tasks * The list of tasks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTasksResult withTasks(java.util.Collection* Any failures associated with the call. *
* * @return Any failures associated with the call. */ public java.util.List* Any failures associated with the call. *
* * @param failures * Any failures associated with the call. */ public void setFailures(java.util.Collection* Any failures associated with the call. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailures(java.util.Collection)} or {@link #withFailures(java.util.Collection)} if you want to override * the existing values. *
* * @param failures * Any failures associated with the call. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTasksResult withFailures(Failure... failures) { if (this.failures == null) { setFailures(new com.amazonaws.internal.SdkInternalList* Any failures associated with the call. *
* * @param failures * Any failures associated with the call. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTasksResult withFailures(java.util.Collection