@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDatum extends Object implements Serializable, Cloneable, StructuredPojo
Information about the metric for a candidate produced by an AutoML job.
Constructor and Description |
---|
MetricDatum() |
Modifier and Type | Method and Description |
---|---|
MetricDatum |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
String |
getSet()
The dataset split from which the AutoML job produced the metric.
|
Float |
getValue()
The value of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setSet(String set)
The dataset split from which the AutoML job produced the metric.
|
void |
setValue(Float value)
The value of the metric.
|
String |
toString()
Returns a string representation of this object.
|
MetricDatum |
withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
|
MetricDatum |
withMetricName(String metricName)
The name of the metric.
|
MetricDatum |
withSet(MetricSetSource set)
The dataset split from which the AutoML job produced the metric.
|
MetricDatum |
withSet(String set)
The dataset split from which the AutoML job produced the metric.
|
MetricDatum |
withValue(Float value)
The value of the metric.
|
public void setMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public String getMetricName()
The name of the metric.
AutoMLMetricEnum
public MetricDatum withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public MetricDatum withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public void setValue(Float value)
The value of the metric.
value
- The value of the metric.public Float getValue()
The value of the metric.
public MetricDatum withValue(Float value)
The value of the metric.
value
- The value of the metric.public void setSet(String set)
The dataset split from which the AutoML job produced the metric.
set
- The dataset split from which the AutoML job produced the metric.MetricSetSource
public String getSet()
The dataset split from which the AutoML job produced the metric.
MetricSetSource
public MetricDatum withSet(String set)
The dataset split from which the AutoML job produced the metric.
set
- The dataset split from which the AutoML job produced the metric.MetricSetSource
public MetricDatum withSet(MetricSetSource set)
The dataset split from which the AutoML job produced the metric.
set
- The dataset split from which the AutoML job produced the metric.MetricSetSource
public String toString()
toString
in class Object
Object.toString()
public MetricDatum clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.