@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)
Marshalls this structured data using the given
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.AutoMLJobObjectiveType
public String getType()
The metric type used.
AutoMLJobObjectiveType
public FinalAutoMLJobObjectiveMetric withType(String type)
The metric type used.
type
- The metric type used.AutoMLJobObjectiveType
public FinalAutoMLJobObjectiveMetric withType(AutoMLJobObjectiveType type)
The metric type used.
type
- The metric type used.AutoMLJobObjectiveType
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 FinalAutoMLJobObjectiveMetric withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.AutoMLMetricEnum
public FinalAutoMLJobObjectiveMetric 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 FinalAutoMLJobObjectiveMetric withValue(Float value)
The value of the metric.
value
- The value of the metric.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.