@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FinalAutoMLJobObjectiveMetric extends Object implements Serializable, Cloneable, StructuredPojo
The candidate result from a job.
| Constructor and Description |
|---|
FinalAutoMLJobObjectiveMetric() |
| Modifier and Type | Method and Description |
|---|---|
FinalAutoMLJobObjectiveMetric |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
String |
getType()
The metric type used.
|
Float |
getValue()
The value of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setType(String type)
The metric type used.
|
void |
setValue(Float value)
The value of the metric.
|
String |
toString()
Returns a string representation of this object.
|
FinalAutoMLJobObjectiveMetric |
withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
|
FinalAutoMLJobObjectiveMetric |
withMetricName(String metricName)
The name of the metric.
|
FinalAutoMLJobObjectiveMetric |
withType(AutoMLJobObjectiveType type)
The metric type used.
|
FinalAutoMLJobObjectiveMetric |
withType(String type)
The metric type used.
|
FinalAutoMLJobObjectiveMetric |
withValue(Float value)
The value of the metric.
|
public void setType(String type)
The metric type used.
type - The metric type used.AutoMLJobObjectiveTypepublic String getType()
The metric type used.
AutoMLJobObjectiveTypepublic FinalAutoMLJobObjectiveMetric withType(String type)
The metric type used.
type - The metric type used.AutoMLJobObjectiveTypepublic FinalAutoMLJobObjectiveMetric withType(AutoMLJobObjectiveType type)
The metric type used.
type - The metric type used.AutoMLJobObjectiveTypepublic void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic String getMetricName()
The name of the metric.
AutoMLMetricEnumpublic FinalAutoMLJobObjectiveMetric withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic FinalAutoMLJobObjectiveMetric withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic void setValue(Float value)
The value of the metric.
value - The value of the metric.public Float getValue()
The value of the metric.
public FinalAutoMLJobObjectiveMetric withValue(Float value)
The value of the metric.
value - The value of the metric.public String toString()
toString in class ObjectObject.toString()public FinalAutoMLJobObjectiveMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.