* The ARN of the dataset. *
*/ private String metricSetArn; /** ** The ARN of the detector that contains the dataset. *
*/ private String anomalyDetectorArn; /** ** The name of the dataset. *
*/ private String metricSetName; /** ** The dataset's description. *
*/ private String metricSetDescription; /** ** The time at which the dataset was created. *
*/ private java.util.Date creationTime; /** ** The time at which the dataset was last modified. *
*/ private java.util.Date lastModificationTime; /** ** After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only * supported for S3, Redshift, Athena and datasources. *
*/ private Integer offset; /** ** A list of the metrics defined by the dataset. *
*/ private java.util.List* Contains information about the column used for tracking time in your source data. *
*/ private TimestampColumn timestampColumn; /** ** A list of the dimensions chosen for analysis. *
*/ private java.util.List* The interval at which the data will be analyzed for anomalies. *
*/ private String metricSetFrequency; /** ** The time zone in which the dataset's data was recorded. *
*/ private String timezone; /** ** Contains information about the dataset's source data. *
*/ private MetricSource metricSource; /** ** The dimensions and their values that were used to filter the dataset. *
*/ private java.util.List* The ARN of the dataset. *
* * @param metricSetArn * The ARN of the dataset. */ public void setMetricSetArn(String metricSetArn) { this.metricSetArn = metricSetArn; } /** ** The ARN of the dataset. *
* * @return The ARN of the dataset. */ public String getMetricSetArn() { return this.metricSetArn; } /** ** The ARN of the dataset. *
* * @param metricSetArn * The ARN of the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricSetArn(String metricSetArn) { setMetricSetArn(metricSetArn); return this; } /** ** The ARN of the detector that contains the dataset. *
* * @param anomalyDetectorArn * The ARN of the detector that contains the dataset. */ public void setAnomalyDetectorArn(String anomalyDetectorArn) { this.anomalyDetectorArn = anomalyDetectorArn; } /** ** The ARN of the detector that contains the dataset. *
* * @return The ARN of the detector that contains the dataset. */ public String getAnomalyDetectorArn() { return this.anomalyDetectorArn; } /** ** The ARN of the detector that contains the dataset. *
* * @param anomalyDetectorArn * The ARN of the detector that contains the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withAnomalyDetectorArn(String anomalyDetectorArn) { setAnomalyDetectorArn(anomalyDetectorArn); return this; } /** ** The name of the dataset. *
* * @param metricSetName * The name of the dataset. */ public void setMetricSetName(String metricSetName) { this.metricSetName = metricSetName; } /** ** The name of the dataset. *
* * @return The name of the dataset. */ public String getMetricSetName() { return this.metricSetName; } /** ** The name of the dataset. *
* * @param metricSetName * The name of the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricSetName(String metricSetName) { setMetricSetName(metricSetName); return this; } /** ** The dataset's description. *
* * @param metricSetDescription * The dataset's description. */ public void setMetricSetDescription(String metricSetDescription) { this.metricSetDescription = metricSetDescription; } /** ** The dataset's description. *
* * @return The dataset's description. */ public String getMetricSetDescription() { return this.metricSetDescription; } /** ** The dataset's description. *
* * @param metricSetDescription * The dataset's description. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricSetDescription(String metricSetDescription) { setMetricSetDescription(metricSetDescription); return this; } /** ** The time at which the dataset was created. *
* * @param creationTime * The time at which the dataset was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The time at which the dataset was created. *
* * @return The time at which the dataset was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The time at which the dataset was created. *
* * @param creationTime * The time at which the dataset was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The time at which the dataset was last modified. *
* * @param lastModificationTime * The time at which the dataset was last modified. */ public void setLastModificationTime(java.util.Date lastModificationTime) { this.lastModificationTime = lastModificationTime; } /** ** The time at which the dataset was last modified. *
* * @return The time at which the dataset was last modified. */ public java.util.Date getLastModificationTime() { return this.lastModificationTime; } /** ** The time at which the dataset was last modified. *
* * @param lastModificationTime * The time at which the dataset was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withLastModificationTime(java.util.Date lastModificationTime) { setLastModificationTime(lastModificationTime); return this; } /** ** After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only * supported for S3, Redshift, Athena and datasources. *
* * @param offset * After an interval ends, the amount of seconds that the detector waits before importing data. Offset is * only supported for S3, Redshift, Athena and datasources. */ public void setOffset(Integer offset) { this.offset = offset; } /** ** After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only * supported for S3, Redshift, Athena and datasources. *
* * @return After an interval ends, the amount of seconds that the detector waits before importing data. Offset is * only supported for S3, Redshift, Athena and datasources. */ public Integer getOffset() { return this.offset; } /** ** After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only * supported for S3, Redshift, Athena and datasources. *
* * @param offset * After an interval ends, the amount of seconds that the detector waits before importing data. Offset is * only supported for S3, Redshift, Athena and datasources. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withOffset(Integer offset) { setOffset(offset); return this; } /** ** A list of the metrics defined by the dataset. *
* * @return A list of the metrics defined by the dataset. */ public java.util.List* A list of the metrics defined by the dataset. *
* * @param metricList * A list of the metrics defined by the dataset. */ public void setMetricList(java.util.Collection* A list of the metrics defined by the dataset. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMetricList(java.util.Collection)} or {@link #withMetricList(java.util.Collection)} if you want to * override the existing values. *
* * @param metricList * A list of the metrics defined by the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricList(Metric... metricList) { if (this.metricList == null) { setMetricList(new java.util.ArrayList* A list of the metrics defined by the dataset. *
* * @param metricList * A list of the metrics defined by the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricList(java.util.Collection* Contains information about the column used for tracking time in your source data. *
* * @param timestampColumn * Contains information about the column used for tracking time in your source data. */ public void setTimestampColumn(TimestampColumn timestampColumn) { this.timestampColumn = timestampColumn; } /** ** Contains information about the column used for tracking time in your source data. *
* * @return Contains information about the column used for tracking time in your source data. */ public TimestampColumn getTimestampColumn() { return this.timestampColumn; } /** ** Contains information about the column used for tracking time in your source data. *
* * @param timestampColumn * Contains information about the column used for tracking time in your source data. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withTimestampColumn(TimestampColumn timestampColumn) { setTimestampColumn(timestampColumn); return this; } /** ** A list of the dimensions chosen for analysis. *
* * @return A list of the dimensions chosen for analysis. */ public java.util.List* A list of the dimensions chosen for analysis. *
* * @param dimensionList * A list of the dimensions chosen for analysis. */ public void setDimensionList(java.util.Collection* A list of the dimensions chosen for analysis. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDimensionList(java.util.Collection)} or {@link #withDimensionList(java.util.Collection)} if you want * to override the existing values. *
* * @param dimensionList * A list of the dimensions chosen for analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withDimensionList(String... dimensionList) { if (this.dimensionList == null) { setDimensionList(new java.util.ArrayList* A list of the dimensions chosen for analysis. *
* * @param dimensionList * A list of the dimensions chosen for analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withDimensionList(java.util.Collection* The interval at which the data will be analyzed for anomalies. *
* * @param metricSetFrequency * The interval at which the data will be analyzed for anomalies. * @see Frequency */ public void setMetricSetFrequency(String metricSetFrequency) { this.metricSetFrequency = metricSetFrequency; } /** ** The interval at which the data will be analyzed for anomalies. *
* * @return The interval at which the data will be analyzed for anomalies. * @see Frequency */ public String getMetricSetFrequency() { return this.metricSetFrequency; } /** ** The interval at which the data will be analyzed for anomalies. *
* * @param metricSetFrequency * The interval at which the data will be analyzed for anomalies. * @return Returns a reference to this object so that method calls can be chained together. * @see Frequency */ public DescribeMetricSetResult withMetricSetFrequency(String metricSetFrequency) { setMetricSetFrequency(metricSetFrequency); return this; } /** ** The interval at which the data will be analyzed for anomalies. *
* * @param metricSetFrequency * The interval at which the data will be analyzed for anomalies. * @return Returns a reference to this object so that method calls can be chained together. * @see Frequency */ public DescribeMetricSetResult withMetricSetFrequency(Frequency metricSetFrequency) { this.metricSetFrequency = metricSetFrequency.toString(); return this; } /** ** The time zone in which the dataset's data was recorded. *
* * @param timezone * The time zone in which the dataset's data was recorded. */ public void setTimezone(String timezone) { this.timezone = timezone; } /** ** The time zone in which the dataset's data was recorded. *
* * @return The time zone in which the dataset's data was recorded. */ public String getTimezone() { return this.timezone; } /** ** The time zone in which the dataset's data was recorded. *
* * @param timezone * The time zone in which the dataset's data was recorded. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withTimezone(String timezone) { setTimezone(timezone); return this; } /** ** Contains information about the dataset's source data. *
* * @param metricSource * Contains information about the dataset's source data. */ public void setMetricSource(MetricSource metricSource) { this.metricSource = metricSource; } /** ** Contains information about the dataset's source data. *
* * @return Contains information about the dataset's source data. */ public MetricSource getMetricSource() { return this.metricSource; } /** ** Contains information about the dataset's source data. *
* * @param metricSource * Contains information about the dataset's source data. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withMetricSource(MetricSource metricSource) { setMetricSource(metricSource); return this; } /** ** The dimensions and their values that were used to filter the dataset. *
* * @return The dimensions and their values that were used to filter the dataset. */ public java.util.List* The dimensions and their values that were used to filter the dataset. *
* * @param dimensionFilterList * The dimensions and their values that were used to filter the dataset. */ public void setDimensionFilterList(java.util.Collection* The dimensions and their values that were used to filter the dataset. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDimensionFilterList(java.util.Collection)} or {@link #withDimensionFilterList(java.util.Collection)} * if you want to override the existing values. *
* * @param dimensionFilterList * The dimensions and their values that were used to filter the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withDimensionFilterList(MetricSetDimensionFilter... dimensionFilterList) { if (this.dimensionFilterList == null) { setDimensionFilterList(new java.util.ArrayList* The dimensions and their values that were used to filter the dataset. *
* * @param dimensionFilterList * The dimensions and their values that were used to filter the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMetricSetResult withDimensionFilterList(java.util.Collection