@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.AutoMLMetricEnum
public String getMetricName()
The name of the metric.
AutoMLMetricEnum
public AutoMLJobObjective withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public AutoMLJobObjective withMetricName(AutoMLMetricEnum metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public String toString()
toString
in class Object
Object.toString()
public AutoMLJobObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.