* Lists any errors that occur when inserting metric data. *
*/ private java.util.List* Lists any errors that occur when inserting metric data. *
* * @return Lists any errors that occur when inserting metric data. */ public java.util.List* Lists any errors that occur when inserting metric data. *
* * @param errors * Lists any errors that occur when inserting metric data. */ public void setErrors(java.util.Collection* Lists any errors that occur when inserting metric data. *
** 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 * Lists any errors that occur when inserting metric data. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutMetricsResult withErrors(BatchPutMetricsError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* Lists any errors that occur when inserting metric data. *
* * @param errors * Lists any errors that occur when inserting metric data. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutMetricsResult withErrors(java.util.Collection