@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricBasedObservation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the metric based observation generated based on evaluated data quality metrics.
Constructor and Description |
---|
MetricBasedObservation() |
Modifier and Type | Method and Description |
---|---|
MetricBasedObservation |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the data quality metric used for generating the observation.
|
DataQualityMetricValues |
getMetricValues()
An object of type
DataQualityMetricValues representing the analysis of the data quality metric
value. |
List<String> |
getNewRules()
A list of new data quality rules generated as part of the observation based on the data quality metric value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the data quality metric used for generating the observation.
|
void |
setMetricValues(DataQualityMetricValues metricValues)
An object of type
DataQualityMetricValues representing the analysis of the data quality metric
value. |
void |
setNewRules(Collection<String> newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
|
String |
toString()
Returns a string representation of this object.
|
MetricBasedObservation |
withMetricName(String metricName)
The name of the data quality metric used for generating the observation.
|
MetricBasedObservation |
withMetricValues(DataQualityMetricValues metricValues)
An object of type
DataQualityMetricValues representing the analysis of the data quality metric
value. |
MetricBasedObservation |
withNewRules(Collection<String> newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
|
MetricBasedObservation |
withNewRules(String... newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
|
public void setMetricName(String metricName)
The name of the data quality metric used for generating the observation.
metricName
- The name of the data quality metric used for generating the observation.public String getMetricName()
The name of the data quality metric used for generating the observation.
public MetricBasedObservation withMetricName(String metricName)
The name of the data quality metric used for generating the observation.
metricName
- The name of the data quality metric used for generating the observation.public void setMetricValues(DataQualityMetricValues metricValues)
An object of type DataQualityMetricValues
representing the analysis of the data quality metric
value.
metricValues
- An object of type DataQualityMetricValues
representing the analysis of the data quality
metric value.public DataQualityMetricValues getMetricValues()
An object of type DataQualityMetricValues
representing the analysis of the data quality metric
value.
DataQualityMetricValues
representing the analysis of the data quality
metric value.public MetricBasedObservation withMetricValues(DataQualityMetricValues metricValues)
An object of type DataQualityMetricValues
representing the analysis of the data quality metric
value.
metricValues
- An object of type DataQualityMetricValues
representing the analysis of the data quality
metric value.public List<String> getNewRules()
A list of new data quality rules generated as part of the observation based on the data quality metric value.
public void setNewRules(Collection<String> newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
newRules
- A list of new data quality rules generated as part of the observation based on the data quality metric
value.public MetricBasedObservation withNewRules(String... newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
NOTE: This method appends the values to the existing list (if any). Use
setNewRules(java.util.Collection)
or withNewRules(java.util.Collection)
if you want to override
the existing values.
newRules
- A list of new data quality rules generated as part of the observation based on the data quality metric
value.public MetricBasedObservation withNewRules(Collection<String> newRules)
A list of new data quality rules generated as part of the observation based on the data quality metric value.
newRules
- A list of new data quality rules generated as part of the observation based on the data quality metric
value.public String toString()
toString
in class Object
Object.toString()
public MetricBasedObservation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.