@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FinalAutoMLJobObjectiveMetric extends Object implements Serializable, Cloneable, StructuredPojo
The best candidate result from an AutoML training job.
Constructor and Description |
---|
FinalAutoMLJobObjectiveMetric() |
Modifier and Type | Method and Description |
---|---|
FinalAutoMLJobObjectiveMetric |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric with the best result.
|
String |
getType()
The type of metric with the best result.
|
Float |
getValue()
The value of the metric with the best result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the metric with the best result.
|
void |
setType(String type)
The type of metric with the best result.
|
void |
setValue(Float value)
The value of the metric with the best result.
|
String |
toString()
Returns a string representation of this object.
|
FinalAutoMLJobObjectiveMetric |
withMetricName(AutoMLMetricEnum metricName)
The name of the metric with the best result.
|
FinalAutoMLJobObjectiveMetric |
withMetricName(String metricName)
The name of the metric with the best result.
|
FinalAutoMLJobObjectiveMetric |
withType(AutoMLJobObjectiveType type)
The type of metric with the best result.
|
FinalAutoMLJobObjectiveMetric |
withType(String type)
The type of metric with the best result.
|
FinalAutoMLJobObjectiveMetric |
withValue(Float value)
The value of the metric with the best result.
|
public void setType(String type)
The type of metric with the best result.
type
- The type of metric with the best result.AutoMLJobObjectiveType
public String getType()
The type of metric with the best result.
AutoMLJobObjectiveType
public FinalAutoMLJobObjectiveMetric withType(String type)
The type of metric with the best result.
type
- The type of metric with the best result.AutoMLJobObjectiveType
public FinalAutoMLJobObjectiveMetric withType(AutoMLJobObjectiveType type)
The type of metric with the best result.
type
- The type of metric with the best result.AutoMLJobObjectiveType
public void setMetricName(String metricName)
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
metricName
- The name of the metric with the best result. For a description of the possible objective metrics, see
AutoMLJobObjective$MetricName.AutoMLMetricEnum
public String getMetricName()
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
AutoMLMetricEnum
public FinalAutoMLJobObjectiveMetric withMetricName(String metricName)
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
metricName
- The name of the metric with the best result. For a description of the possible objective metrics, see
AutoMLJobObjective$MetricName.AutoMLMetricEnum
public FinalAutoMLJobObjectiveMetric withMetricName(AutoMLMetricEnum metricName)
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
metricName
- The name of the metric with the best result. For a description of the possible objective metrics, see
AutoMLJobObjective$MetricName.AutoMLMetricEnum
public void setValue(Float value)
The value of the metric with the best result.
value
- The value of the metric with the best result.public Float getValue()
The value of the metric with the best result.
public FinalAutoMLJobObjectiveMetric withValue(Float value)
The value of the metric with the best result.
value
- The value of the metric with the best result.public String toString()
toString
in class Object
Object.toString()
public FinalAutoMLJobObjectiveMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.