/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lookoutmetrics.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about a dataset. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MetricSetSummary implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of the dataset. *
*/ private String metricSetArn; /** ** The ARN of the detector to which the dataset belongs. *
*/ private String anomalyDetectorArn; /** ** The description of the dataset. *
*/ private String metricSetDescription; /** ** The name of the dataset. *
*/ private String metricSetName; /** ** 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; /** ** The dataset's tags. *
*/ private java.util.Map* 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 MetricSetSummary withMetricSetArn(String metricSetArn) { setMetricSetArn(metricSetArn); return this; } /** ** The ARN of the detector to which the dataset belongs. *
* * @param anomalyDetectorArn * The ARN of the detector to which the dataset belongs. */ public void setAnomalyDetectorArn(String anomalyDetectorArn) { this.anomalyDetectorArn = anomalyDetectorArn; } /** ** The ARN of the detector to which the dataset belongs. *
* * @return The ARN of the detector to which the dataset belongs. */ public String getAnomalyDetectorArn() { return this.anomalyDetectorArn; } /** ** The ARN of the detector to which the dataset belongs. *
* * @param anomalyDetectorArn * The ARN of the detector to which the dataset belongs. * @return Returns a reference to this object so that method calls can be chained together. */ public MetricSetSummary withAnomalyDetectorArn(String anomalyDetectorArn) { setAnomalyDetectorArn(anomalyDetectorArn); return this; } /** ** The description of the dataset. *
* * @param metricSetDescription * The description of the dataset. */ public void setMetricSetDescription(String metricSetDescription) { this.metricSetDescription = metricSetDescription; } /** ** The description of the dataset. *
* * @return The description of the dataset. */ public String getMetricSetDescription() { return this.metricSetDescription; } /** ** The description of the dataset. *
* * @param metricSetDescription * The description of the dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public MetricSetSummary withMetricSetDescription(String metricSetDescription) { setMetricSetDescription(metricSetDescription); 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 MetricSetSummary withMetricSetName(String metricSetName) { setMetricSetName(metricSetName); 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 MetricSetSummary 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 MetricSetSummary withLastModificationTime(java.util.Date lastModificationTime) { setLastModificationTime(lastModificationTime); return this; } /** ** The dataset's tags. *
* * @return The dataset's tags. */ public java.util.Map* The dataset's tags. *
* * @param tags * The dataset's tags. */ public void setTags(java.util.Map* The dataset's tags. *
* * @param tags * The dataset's tags. * @return Returns a reference to this object so that method calls can be chained together. */ public MetricSetSummary withTags(java.util.Map