@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataQualityRuleResult extends Object implements Serializable, Cloneable, StructuredPojo
Describes the result of the evaluation of a data quality rule.
Constructor and Description |
---|
DataQualityRuleResult() |
Modifier and Type | Method and Description |
---|---|
DataQualityRuleResult |
addEvaluatedMetricsEntry(String key,
Double value)
Add a single EvaluatedMetrics entry
|
DataQualityRuleResult |
clearEvaluatedMetricsEntries()
Removes all the entries added into EvaluatedMetrics.
|
DataQualityRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the data quality rule.
|
Map<String,Double> |
getEvaluatedMetrics()
A map of metrics associated with the evaluation of the rule.
|
String |
getEvaluationMessage()
An evaluation message.
|
String |
getName()
The name of the data quality rule.
|
String |
getResult()
A pass or fail status for the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the data quality rule.
|
void |
setEvaluatedMetrics(Map<String,Double> evaluatedMetrics)
A map of metrics associated with the evaluation of the rule.
|
void |
setEvaluationMessage(String evaluationMessage)
An evaluation message.
|
void |
setName(String name)
The name of the data quality rule.
|
void |
setResult(String result)
A pass or fail status for the rule.
|
String |
toString()
Returns a string representation of this object.
|
DataQualityRuleResult |
withDescription(String description)
A description of the data quality rule.
|
DataQualityRuleResult |
withEvaluatedMetrics(Map<String,Double> evaluatedMetrics)
A map of metrics associated with the evaluation of the rule.
|
DataQualityRuleResult |
withEvaluationMessage(String evaluationMessage)
An evaluation message.
|
DataQualityRuleResult |
withName(String name)
The name of the data quality rule.
|
DataQualityRuleResult |
withResult(DataQualityRuleResultStatus result)
A pass or fail status for the rule.
|
DataQualityRuleResult |
withResult(String result)
A pass or fail status for the rule.
|
public void setName(String name)
The name of the data quality rule.
name
- The name of the data quality rule.public String getName()
The name of the data quality rule.
public DataQualityRuleResult withName(String name)
The name of the data quality rule.
name
- The name of the data quality rule.public void setDescription(String description)
A description of the data quality rule.
description
- A description of the data quality rule.public String getDescription()
A description of the data quality rule.
public DataQualityRuleResult withDescription(String description)
A description of the data quality rule.
description
- A description of the data quality rule.public void setEvaluationMessage(String evaluationMessage)
An evaluation message.
evaluationMessage
- An evaluation message.public String getEvaluationMessage()
An evaluation message.
public DataQualityRuleResult withEvaluationMessage(String evaluationMessage)
An evaluation message.
evaluationMessage
- An evaluation message.public void setResult(String result)
A pass or fail status for the rule.
result
- A pass or fail status for the rule.DataQualityRuleResultStatus
public String getResult()
A pass or fail status for the rule.
DataQualityRuleResultStatus
public DataQualityRuleResult withResult(String result)
A pass or fail status for the rule.
result
- A pass or fail status for the rule.DataQualityRuleResultStatus
public DataQualityRuleResult withResult(DataQualityRuleResultStatus result)
A pass or fail status for the rule.
result
- A pass or fail status for the rule.DataQualityRuleResultStatus
public Map<String,Double> getEvaluatedMetrics()
A map of metrics associated with the evaluation of the rule.
public void setEvaluatedMetrics(Map<String,Double> evaluatedMetrics)
A map of metrics associated with the evaluation of the rule.
evaluatedMetrics
- A map of metrics associated with the evaluation of the rule.public DataQualityRuleResult withEvaluatedMetrics(Map<String,Double> evaluatedMetrics)
A map of metrics associated with the evaluation of the rule.
evaluatedMetrics
- A map of metrics associated with the evaluation of the rule.public DataQualityRuleResult addEvaluatedMetricsEntry(String key, Double value)
public DataQualityRuleResult clearEvaluatedMetricsEntries()
public String toString()
toString
in class Object
Object.toString()
public DataQualityRuleResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.