@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMetricSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMetricSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMetricSetRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateMetricSetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateMetricSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnomalyDetectorArn()
The ARN of the anomaly detector that will use the dataset.
|
List<MetricSetDimensionFilter> |
getDimensionFilterList()
A list of filters that specify which data is kept for anomaly detection.
|
List<String> |
getDimensionList()
A list of the fields you want to treat as dimensions.
|
List<Metric> |
getMetricList()
A list of metrics that the dataset will contain.
|
String |
getMetricSetDescription()
A description of the dataset you are creating.
|
String |
getMetricSetFrequency()
The frequency with which the source data will be analyzed for anomalies.
|
String |
getMetricSetName()
The name of the dataset.
|
MetricSource |
getMetricSource()
Contains information about how the source data should be interpreted.
|
Integer |
getOffset()
After an interval ends, the amount of seconds that the detector waits before importing data.
|
Map<String,String> |
getTags()
A list of tags to apply
to the dataset.
|
TimestampColumn |
getTimestampColumn()
Contains information about the column used for tracking time in your source data.
|
String |
getTimezone()
The time zone in which your source data was recorded.
|
int |
hashCode() |
void |
setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
|
void |
setDimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
void |
setDimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
|
void |
setMetricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
|
void |
setMetricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
|
void |
setMetricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
|
void |
setMetricSetName(String metricSetName)
The name of the dataset.
|
void |
setMetricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
|
void |
setOffset(Integer offset)
After an interval ends, the amount of seconds that the detector waits before importing data.
|
void |
setTags(Map<String,String> tags)
A list of tags to apply
to the dataset.
|
void |
setTimestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
|
void |
setTimezone(String timezone)
The time zone in which your source data was recorded.
|
String |
toString()
Returns a string representation of this object.
|
CreateMetricSetRequest |
withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
|
CreateMetricSetRequest |
withDimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
CreateMetricSetRequest |
withDimensionFilterList(MetricSetDimensionFilter... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
CreateMetricSetRequest |
withDimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
|
CreateMetricSetRequest |
withDimensionList(String... dimensionList)
A list of the fields you want to treat as dimensions.
|
CreateMetricSetRequest |
withMetricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
|
CreateMetricSetRequest |
withMetricList(Metric... metricList)
A list of metrics that the dataset will contain.
|
CreateMetricSetRequest |
withMetricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
|
CreateMetricSetRequest |
withMetricSetFrequency(Frequency metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
|
CreateMetricSetRequest |
withMetricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
|
CreateMetricSetRequest |
withMetricSetName(String metricSetName)
The name of the dataset.
|
CreateMetricSetRequest |
withMetricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
|
CreateMetricSetRequest |
withOffset(Integer offset)
After an interval ends, the amount of seconds that the detector waits before importing data.
|
CreateMetricSetRequest |
withTags(Map<String,String> tags)
A list of tags to apply
to the dataset.
|
CreateMetricSetRequest |
withTimestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
|
CreateMetricSetRequest |
withTimezone(String timezone)
The time zone in which your source data was recorded.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
anomalyDetectorArn
- The ARN of the anomaly detector that will use the dataset.public String getAnomalyDetectorArn()
The ARN of the anomaly detector that will use the dataset.
public CreateMetricSetRequest withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
anomalyDetectorArn
- The ARN of the anomaly detector that will use the dataset.public void setMetricSetName(String metricSetName)
The name of the dataset.
metricSetName
- The name of the dataset.public String getMetricSetName()
The name of the dataset.
public CreateMetricSetRequest withMetricSetName(String metricSetName)
The name of the dataset.
metricSetName
- The name of the dataset.public void setMetricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
metricSetDescription
- A description of the dataset you are creating.public String getMetricSetDescription()
A description of the dataset you are creating.
public CreateMetricSetRequest withMetricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
metricSetDescription
- A description of the dataset you are creating.public List<Metric> getMetricList()
A list of metrics that the dataset will contain.
public void setMetricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
metricList
- A list of metrics that the dataset will contain.public CreateMetricSetRequest withMetricList(Metric... metricList)
A list of metrics that the dataset will contain.
NOTE: This method appends the values to the existing list (if any). Use
setMetricList(java.util.Collection)
or withMetricList(java.util.Collection)
if you want to
override the existing values.
metricList
- A list of metrics that the dataset will contain.public CreateMetricSetRequest withMetricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
metricList
- A list of metrics that the dataset will contain.public void setOffset(Integer 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.
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 Integer getOffset()
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 CreateMetricSetRequest withOffset(Integer 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.
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 setTimestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
timestampColumn
- Contains information about the column used for tracking time in your source data.public TimestampColumn getTimestampColumn()
Contains information about the column used for tracking time in your source data.
public CreateMetricSetRequest withTimestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
timestampColumn
- Contains information about the column used for tracking time in your source data.public List<String> getDimensionList()
A list of the fields you want to treat as dimensions.
public void setDimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
dimensionList
- A list of the fields you want to treat as dimensions.public CreateMetricSetRequest withDimensionList(String... dimensionList)
A list of the fields you want to treat as dimensions.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionList(java.util.Collection)
or withDimensionList(java.util.Collection)
if you want
to override the existing values.
dimensionList
- A list of the fields you want to treat as dimensions.public CreateMetricSetRequest withDimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
dimensionList
- A list of the fields you want to treat as dimensions.public void setMetricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
metricSetFrequency
- The frequency with which the source data will be analyzed for anomalies.Frequency
public String getMetricSetFrequency()
The frequency with which the source data will be analyzed for anomalies.
Frequency
public CreateMetricSetRequest withMetricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
metricSetFrequency
- The frequency with which the source data will be analyzed for anomalies.Frequency
public CreateMetricSetRequest withMetricSetFrequency(Frequency metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
metricSetFrequency
- The frequency with which the source data will be analyzed for anomalies.Frequency
public void setMetricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
metricSource
- Contains information about how the source data should be interpreted.public MetricSource getMetricSource()
Contains information about how the source data should be interpreted.
public CreateMetricSetRequest withMetricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
metricSource
- Contains information about how the source data should be interpreted.public void setTimezone(String timezone)
The time zone in which your source data was recorded.
timezone
- The time zone in which your source data was recorded.public String getTimezone()
The time zone in which your source data was recorded.
public CreateMetricSetRequest withTimezone(String timezone)
The time zone in which your source data was recorded.
timezone
- The time zone in which your source data was recorded.public Map<String,String> getTags()
A list of tags to apply to the dataset.
public void setTags(Map<String,String> tags)
A list of tags to apply to the dataset.
tags
- A list of tags to
apply to the dataset.public CreateMetricSetRequest withTags(Map<String,String> tags)
A list of tags to apply to the dataset.
tags
- A list of tags to
apply to the dataset.public CreateMetricSetRequest addTagsEntry(String key, String value)
public CreateMetricSetRequest clearTagsEntries()
public List<MetricSetDimensionFilter> getDimensionFilterList()
A list of filters that specify which data is kept for anomaly detection.
public void setDimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
dimensionFilterList
- A list of filters that specify which data is kept for anomaly detection.public CreateMetricSetRequest withDimensionFilterList(MetricSetDimensionFilter... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionFilterList(java.util.Collection)
or withDimensionFilterList(java.util.Collection)
if you want to override the existing values.
dimensionFilterList
- A list of filters that specify which data is kept for anomaly detection.public CreateMetricSetRequest withDimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
dimensionFilterList
- A list of filters that specify which data is kept for anomaly detection.public String toString()
toString
in class Object
Object.toString()
public CreateMetricSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()