@Generated(value="software.amazon.awssdk:codegen") public final class DescribeMetricSetResponse extends LookoutMetricsResponse implements ToCopyableBuilder<DescribeMetricSetResponse.Builder,DescribeMetricSetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeMetricSetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
anomalyDetectorArn()
The ARN of the detector that contains the dataset.
|
static DescribeMetricSetResponse.Builder |
builder() |
Instant |
creationTime()
The time at which the dataset was created.
|
List<MetricSetDimensionFilter> |
dimensionFilterList()
The dimensions and their values that were used to filter the dataset.
|
List<String> |
dimensionList()
A list of the dimensions chosen for analysis.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensionFilterList()
For responses, this returns true if the service returned a value for the DimensionFilterList property.
|
boolean |
hasDimensionList()
For responses, this returns true if the service returned a value for the DimensionList property.
|
int |
hashCode() |
boolean |
hasMetricList()
For responses, this returns true if the service returned a value for the MetricList property.
|
Instant |
lastModificationTime()
The time at which the dataset was last modified.
|
List<Metric> |
metricList()
A list of the metrics defined by the dataset.
|
String |
metricSetArn()
The ARN of the dataset.
|
String |
metricSetDescription()
The dataset's description.
|
Frequency |
metricSetFrequency()
The interval at which the data will be analyzed for anomalies.
|
String |
metricSetFrequencyAsString()
The interval at which the data will be analyzed for anomalies.
|
String |
metricSetName()
The name of the dataset.
|
MetricSource |
metricSource()
Contains information about the dataset's source data.
|
Integer |
offset()
After an interval ends, the amount of seconds that the detector waits before importing data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeMetricSetResponse.Builder> |
serializableBuilderClass() |
TimestampColumn |
timestampColumn()
Contains information about the column used for tracking time in your source data.
|
String |
timezone()
The time zone in which the dataset's data was recorded.
|
DescribeMetricSetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String metricSetArn()
The ARN of the dataset.
public final String anomalyDetectorArn()
The ARN of the detector that contains the dataset.
public final String metricSetName()
The name of the dataset.
public final String metricSetDescription()
The dataset's description.
public final Instant creationTime()
The time at which the dataset was created.
public final Instant lastModificationTime()
The time at which the dataset was last modified.
public final 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.
public final boolean hasMetricList()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Metric> metricList()
A list of the metrics defined by the dataset.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMetricList() method.
public final TimestampColumn timestampColumn()
Contains information about the column used for tracking time in your source data.
public final boolean hasDimensionList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> dimensionList()
A list of the dimensions chosen for analysis.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDimensionList() method.
public final Frequency metricSetFrequency()
The interval at which the data will be analyzed for anomalies.
If the service returns an enum value that is not available in the current SDK version,
metricSetFrequency will return Frequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from metricSetFrequencyAsString().
Frequencypublic final String metricSetFrequencyAsString()
The interval at which the data will be analyzed for anomalies.
If the service returns an enum value that is not available in the current SDK version,
metricSetFrequency will return Frequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from metricSetFrequencyAsString().
Frequencypublic final String timezone()
The time zone in which the dataset's data was recorded.
public final MetricSource metricSource()
Contains information about the dataset's source data.
public final boolean hasDimensionFilterList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<MetricSetDimensionFilter> dimensionFilterList()
The dimensions and their values that were used to filter the dataset.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDimensionFilterList() method.
public DescribeMetricSetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeMetricSetResponse.Builder,DescribeMetricSetResponse>toBuilder in class AwsResponsepublic static DescribeMetricSetResponse.Builder builder()
public static Class<? extends DescribeMetricSetResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.