@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLJobObjective extends Object implements Serializable, Cloneable, StructuredPojo
Applies a metric to minimize or maximize for the job's objective.
| Constructor and Description |
|---|
AutoMLJobObjective() |
| Modifier and Type | Method and Description |
|---|---|
AutoMLJobObjective |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name 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.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLJobObjective |
withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
|
AutoMLJobObjective |
withMetricName(String metricName)
The name of the metric.
|
public void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic String getMetricName()
The name of the metric.
AutoMLMetricEnumpublic AutoMLJobObjective withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic AutoMLJobObjective withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
metricName - The name of the metric.AutoMLMetricEnumpublic String toString()
toString in class ObjectObject.toString()public AutoMLJobObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.