* The name of the metric returned. *
*/ private String metricName; /** ** An array of objects that describe the metric data returned. *
*/ private java.util.List* The name of the metric returned. *
* * @param metricName * The name of the metric returned. * @see RelationalDatabaseMetricName */ public void setMetricName(String metricName) { this.metricName = metricName; } /** ** The name of the metric returned. *
* * @return The name of the metric returned. * @see RelationalDatabaseMetricName */ public String getMetricName() { return this.metricName; } /** ** The name of the metric returned. *
* * @param metricName * The name of the metric returned. * @return Returns a reference to this object so that method calls can be chained together. * @see RelationalDatabaseMetricName */ public GetRelationalDatabaseMetricDataResult withMetricName(String metricName) { setMetricName(metricName); return this; } /** ** The name of the metric returned. *
* * @param metricName * The name of the metric returned. * @return Returns a reference to this object so that method calls can be chained together. * @see RelationalDatabaseMetricName */ public GetRelationalDatabaseMetricDataResult withMetricName(RelationalDatabaseMetricName metricName) { this.metricName = metricName.toString(); return this; } /** ** An array of objects that describe the metric data returned. *
* * @return An array of objects that describe the metric data returned. */ public java.util.List* An array of objects that describe the metric data returned. *
* * @param metricData * An array of objects that describe the metric data returned. */ public void setMetricData(java.util.Collection* An array of objects that describe the metric data returned. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMetricData(java.util.Collection)} or {@link #withMetricData(java.util.Collection)} if you want to * override the existing values. *
* * @param metricData * An array of objects that describe the metric data returned. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRelationalDatabaseMetricDataResult withMetricData(MetricDatapoint... metricData) { if (this.metricData == null) { setMetricData(new java.util.ArrayList* An array of objects that describe the metric data returned. *
* * @param metricData * An array of objects that describe the metric data returned. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRelationalDatabaseMetricDataResult withMetricData(java.util.Collection