* An array of error objects, if the operation caused any errors. *
*/ private java.util.List* An array of structures that define the extended metrics. *
*/ private java.util.List* An array of error objects, if the operation caused any errors. *
* * @return An array of error objects, if the operation caused any errors. */ public java.util.List* An array of error objects, if the operation caused any errors. *
* * @param errors * An array of error objects, if the operation caused any errors. */ public void setErrors(java.util.Collection* An array of error objects, if the operation caused any errors. *
** 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 * An array of error objects, if the operation caused any errors. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateRumMetricDefinitionsResult withErrors(BatchCreateRumMetricDefinitionsError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* An array of error objects, if the operation caused any errors. *
* * @param errors * An array of error objects, if the operation caused any errors. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateRumMetricDefinitionsResult withErrors(java.util.Collection* An array of structures that define the extended metrics. *
* * @return An array of structures that define the extended metrics. */ public java.util.List* An array of structures that define the extended metrics. *
* * @param metricDefinitions * An array of structures that define the extended metrics. */ public void setMetricDefinitions(java.util.Collection* An array of structures that define the extended metrics. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMetricDefinitions(java.util.Collection)} or {@link #withMetricDefinitions(java.util.Collection)} if * you want to override the existing values. *
* * @param metricDefinitions * An array of structures that define the extended metrics. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateRumMetricDefinitionsResult withMetricDefinitions(MetricDefinition... metricDefinitions) { if (this.metricDefinitions == null) { setMetricDefinitions(new java.util.ArrayList* An array of structures that define the extended metrics. *
* * @param metricDefinitions * An array of structures that define the extended metrics. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateRumMetricDefinitionsResult withMetricDefinitions(java.util.Collection